Cannot open include file: 'magick/magick-config.h'

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Posts: 1
Joined: 2013-07-02T14:52:41-07:00
Authentication code: 6789

Cannot open include file: 'magick/magick-config.h'

Post by zomgbies »

Hi, I'm new to QT and imageMAgick. I want to use the C++ wrappers? (Magick++) however I cannot seem to include the header files correctly.

I am currently on windows7, using QT 5.0.2(vs2010)
I set the compilers to Miscrosoft Visual C++ Compiler 11.0
I've installed the recommended windows binaries (ImageMagick-6.8.6-3-Q16-x86-dll.exe)
I've also downloaded the source files (

I've added this into my .pro file

INCLUDEPATH += "C:/Users/Navin/Desktop/ImageMagick-6.8.6/Magick++/lib"
INCLUDEPATH += "C:/Users/Navin/Desktop/ImageMagick-6.8.6/magick"

HEADERS += "C:/Users/Navin/Desktop/ImageMagick-6.8.6/Magick++/lib/Magick++.h"

LIBS += "C:/Users/Navin/Desktop/ImageMagick-6.8.6/wand/libMagickWand.a"
LIBS += "C:/Users/Navin/Desktop/ImageMagick-6.8.6/Magick++/lib/libMagick++.a"
LIBS += "C:/Users/Navin/Desktop/ImageMagick-6.8.6/magick/libMagickCore.a"

and my source file is just a basic hello world program with the
#include <Magick++.h>

I've looked online for a solution however, have fallen short, perhaps someone here might have a clue?

Post Reply