I have created an application that uses ImageMagick on OS X without much issues. I compiled and installed ImageMagick from sources and linked into my application without much trouble.
Now I am trying to do the same on Windows, but the MinGW compiler is always complaining when I try to link the libraries.
Could the issue be that the libraries are mostly compiled using Visual Studio? Do I have to recompile them with MinGW? How do I do that?
Does anyone have any suggestions or examples? My "pro" file has following entries for example
Code: Select all
macx {
INCLUDEPATH += /Developer/ImageMagick-6.5.4-2/Magick++/lib \
/Developer/ImageMagick-6.5.4-2
LIBS += -lMagick++
}
win32 {
INCLUDEPATH += ./ImageMagick/lib \
./ImageMagick/include \
./ImageMagick
LIBS += ./ImageMagick/lib/CORE_RL_magick_.lib \
./ImageMagick/lib/CORE_RL_Magick++_.lib
}
I must be missing something simple - any help is appreciated.
Thanks.