Linking ImageMagick statically on windows?
Posted: 2010-02-02T16:57:37-07:00
I'm trying to link ImageMagick into a dll I'm making on windows, and I'm having a heck of a problem getting it to work right. Basically I'm using the Image() class in Magic++ to enable me to load an image from a URL and display it, nothing fancy. So I'm linking in the Magick++ and magick libraries, but I keep getting unresolved symbol errors:
Etc, etc, for ~Image(void), Image::operator=, Image(string) and Image(void). I've used dumpbin on the Magick++ lib file to make sure the symbols are indeed there, but to no avail. Can anyone who's done this shed some light?Error 3 error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall Magick::Image::~Image(void)" (__imp_??1Image@Magick@@UAE@XZ)