Here's my program:
Code: Select all
#include <iostream.h>
#include <Magick++.h>
int main(int argc, char* argv[])
{
Magick::InitializeMagick(*argv);
Magick::Image image;
return 0;
}
[Linker Error] Error: Unresolved external 'Magick::Image::~Image()' refereced from ...\testjpg.obj
where ...\ is the full path to my object file. I get this error three times, once for the Image() constructor, once for the destructor (as shown above) and once for Magick::InitializeMagick(const char *). The .cpp file above will compile but it will not build. It seems like it can't find the .lib files to link to, but I'm certain that I've added the /lib directory to the search path (and I've also tried copying them all into the working directory to no avail). Does anyone have any suggestions? Is anyone out there successfully using Magick++ with a Borland compiler?
Your help is greatly appreciated!
Thanks,
Mike