Compiling ImageMagick++ 32 bit error LNK 2019
Posted: 2016-05-03T23:44:12-07:00
Hello,
I am trying to compile IM in my project. I have followed the steps:
Basicly I've followed the exact same steps described, I've added
C:\Program Files\ImageMagick-6.9.3-Q16-HDRI\include to VC++ include directories,
C:\Program Files\ImageMagick-6.9.3-Q16-HDRI\lib to VC++ Library Directories,
C:\Program Files\ImageMagick-6.9.3-Q16-HDRI\include to Addtional Include Dependencies,
and lastly CORE_RL_magick_.lib; CORE_RL_Magick++_.lib; CORE_RL_wand_.lib;to Linker Input Additional Dependencies.
But I get these errors . Can anyone please guide me .What may be wrong?
error LNK2019: unresolved external symbol "public: struct MagickCore::_PixelPacket const * __thiscall Magick::Image::getConstPixels(int,int,unsigned int,unsigned int)const
tif.obj : error LNK2019: unresolved external symbol "public: __thiscall Magick::Geometry::Geometry(unsigned int,unsigned int,int,int,bool,bool)"
tif.obj : error LNK2019: unresolved external symbol "public: void __thiscall Magick::Image::frame(unsigned int,unsigned int,int,int)
I am trying to compile IM in my project. I have followed the steps:
Basicly I've followed the exact same steps described, I've added
C:\Program Files\ImageMagick-6.9.3-Q16-HDRI\include to VC++ include directories,
C:\Program Files\ImageMagick-6.9.3-Q16-HDRI\lib to VC++ Library Directories,
C:\Program Files\ImageMagick-6.9.3-Q16-HDRI\include to Addtional Include Dependencies,
and lastly CORE_RL_magick_.lib; CORE_RL_Magick++_.lib; CORE_RL_wand_.lib;to Linker Input Additional Dependencies.
But I get these errors . Can anyone please guide me .What may be wrong?
error LNK2019: unresolved external symbol "public: struct MagickCore::_PixelPacket const * __thiscall Magick::Image::getConstPixels(int,int,unsigned int,unsigned int)const
tif.obj : error LNK2019: unresolved external symbol "public: __thiscall Magick::Geometry::Geometry(unsigned int,unsigned int,int,int,bool,bool)"
tif.obj : error LNK2019: unresolved external symbol "public: void __thiscall Magick::Image::frame(unsigned int,unsigned int,int,int)