Thanks for the input. I did this but without success. I used the project ImageMagick-6.3.4\VisualMagick\installer\Magick++_Demo\button.dsp.
The source button.cpp could not be found first so I added it from here ImageMagick-6.3.4\Magick++\demo The directories for the includes and libs also has to be adjusted to: Include: ..\..\..\magick++\lib,..\..\.. Libs: ..\..\..\VisualMagick\lib After that the program compiled but I got the same linking errors (see bellow). Note that this time I used VS6 rather then VS2k5 but the problem is the same with both. button.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall Magick::Image::~Image(void)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) button.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Magick::Image::write(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" ([EMAIL PROTECTED]@Magick@@ [EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@@Z) button.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Magick::Image::compressType(enum MagickLib::CompressionType)" ([EMAIL PROTECTED]@Magick@@[EMAIL PROTECTED]@@@Z) button.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Magick::Image::quantize(bool)" ([EMAIL PROTECTED]@Magick@@[EMAIL PROTECTED]) button.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Magick::Image::quantizeColors(unsigned int)" ([EMAIL PROTECTED]@Magick@@[EMAIL PROTECTED]) button.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Magick::Image::quantizeDither(bool)" ([EMAIL PROTECTED]@Magick@@[EMAIL PROTECTED]) button.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Magick::Image::frame(class Magick::Geometry const &)" ([EMAIL PROTECTED]@Magick@@[EMAIL PROTECTED]@@Z) button.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Magick::Geometry::Geometry(char const *)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@Z) button.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Magick::Image::borderColor(class Magick::Color const &)" ([EMAIL PROTECTED]@Magick@@[EMAIL PROTECTED]@@Z) button.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Magick::Image::annotate(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,enum MagickLib::GravityType )" ([EMAIL PROTECTED]@Magick@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@ [EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED]@@@Z) button.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Magick::Image::fontPointsize(double)" ([EMAIL PROTECTED]@Magick@@[EMAIL PROTECTED]) button.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall Magick::Color::~Color(void)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) button.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Magick::Image::fillColor(class Magick::Color const &)" ([EMAIL PROTECTED]@Magick@@[EMAIL PROTECTED]@@Z) button.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Magick::Color::Color(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED] [EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@@Z) button.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Magick::Image::texture(class Magick::Image const &)" ([EMAIL PROTECTED]@Magick@@QAEXABV12@@Z) button.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Magick::Image::Image(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED] [EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@@Z) button.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Magick::Image::read(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" ([EMAIL PROTECTED]@Magick@@QA [EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@@Z) button.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Magick::Geometry::~Geometry(void)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) button.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Magick::Image::size(class Magick::Geometry const &)" ([EMAIL PROTECTED]@Magick@@[EMAIL PROTECTED]@@Z) button.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Magick::Geometry::Geometry(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" ([EMAIL PROTECTED]@@ [EMAIL PROTECTED]@[EMAIL PROTECTED]@std@@[EMAIL PROTECTED]@2@@std@@@Z) button.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Magick::Image::Image(void)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) button.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Magick::Color::Color(char const *)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@Z) button.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl Magick::InitializeMagick(char const *)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) button.exe : fatal error LNK1120: 23 unresolved externals Error executing xilink6.exe. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, May 24, 2007 4:28 PM To: [EMAIL PROTECTED]; [email protected] Subject: Re: [magick-users] unresolved symbol > I used VisualMagick to generate project files for VisualStaticMT We include a folder, Magick++_demos. Try building and running the button workspace. It should build and run without complaint. Once it does, you can you the workspace as a template for your own project. , _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
