error LNK2019: unresolved external symbol ConstituteImage
Posted: 2012-01-08T12:10:24-07:00
Hi everyone,
I am just starting to work with ImageMagick, in c++ on Visual Studio 2010. However I keep encountering this error whenever I try to use ConstituteImage:
error LNK2019: unresolved external symbol _imp_ConstituteImage referenced in function _main
I am trying to write a png image, so was hoping to use ConstituteImage to first create an image. I have made sure that both constitute.h and constitute.c is the library, and I have also linked my project to the ImageMagick directory and also the one that holds constitute.c:
../ImageMagick-6.4.9
../ImageMagick-6.4.9/magick
Does anyone know what might be causing this error?
Thanks,
I am just starting to work with ImageMagick, in c++ on Visual Studio 2010. However I keep encountering this error whenever I try to use ConstituteImage:
error LNK2019: unresolved external symbol _imp_ConstituteImage referenced in function _main
I am trying to write a png image, so was hoping to use ConstituteImage to first create an image. I have made sure that both constitute.h and constitute.c is the library, and I have also linked my project to the ImageMagick directory and also the one that holds constitute.c:
../ImageMagick-6.4.9
../ImageMagick-6.4.9/magick
Does anyone know what might be causing this error?
Thanks,