I downloaded the ImageMagick source, compiled a wizard to create a Visual Studio static binding solution, and included the Magick ++ static library project in my sample project (code below). I also added a dependency on this project and included the .lib file in the solution, nothing helps.
#include <Magick++.h>
int main()
{
Magick::Image image;
bool test = image.isValid();
return 0;
}
This gives several linker errors, for example:
unresolved external symbol "__declspec (dllimport) public: virtual __thiscall Magick :: Image :: ~ Image (void)" (__imp _ ?? 1Image @Magick @@ UAE @XZ) referenced by the _main function
Why can't he find an implementation?
I am using Visual Studio 2010 Beta 2.