Cannot open include file: 'magick/magick-config.h'
Posted: 2013-07-02T15:02:24-07:00
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 (http://www.imagemagick.org/download/windows/)
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?
thanks!
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 (http://www.imagemagick.org/download/windows/)
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?
thanks!