I've added the ImageMagick/include path to the include path (-I) and it seems to find the functions and compile happily.
However, once it tries to link it does not seem to find the Magick++ functions in the libraries.
I did see that compiling on Windows requires initialization of the library in the following manner (http://www.imagemagick.org/Magick++/):
Code: Select all
int main( ssize_t /*argc*/, char ** argv)
{
InitializeMagick(*argv);
I've added the ImageMagick path to the library path (-L)
It does not recognize -lMagick++ as it does on my Linux box, although I'm not surprised since usually you have to put the full dll name. So I've tried adding -lCORE_RL_Magick++_ -lCORE_RL_magick_ -lCORE_RL_wand_ -lX11 and it find the libraries (or at least stops complaining about not finding them) but can't link any of the functions resulting in tons of "undefined reference" errors.
I was wondering if any one could enlighten me about how to go about this problem...