Linker errors with Borland c++6 Builder

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
stikhs

Linker errors with Borland c++6 Builder

Post by stikhs »

Hi!I am trying to build my project using ImageMagick(Magick++ especially) and i get the following linker errors:
[Linker Error] Unresolved external 'Magick::InitializeMagick(const char *)' referenced from D:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\IVUS\UNIT1.OBJ
[Linker Error] Unresolved external 'Magick::Image::~Image()' referenced from D:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\IVUS\UNIT1.OBJ
[Linker Error] Unresolved external 'Magick::Image::Image()' referenced from D:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\IVUS\UNIT1.OBJ
[Linker Error] Unresolved external 'Magick::Image::read(const _STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> >&)' referenced from D:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\IVUS\UNIT1.OBJ
[Linker Error] Unresolved external 'Magick::Image::Image(const Magick::Image&)' referenced from D:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\IVUS\UNIT1.OBJ
[Linker Error] Unresolved external 'Magick::Image::unsharpmask(const double, const double, const double, const double)' referenced from D:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\IVUS\UNIT1.OBJ
[Linker Error] Unresolved external 'Magick::Image::modifyImage()' referenced from D:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\IVUS\UNIT1.OBJ
[Linker Error] Unresolved external 'Magick::Image::write(const _STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> >&)' referenced from D:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\IVUS\UNIT1.OBJ
I have included Magick++.h into my .cpp file and i have also included CORE_RL_magick_.dll,CORE_RL_Magick++_.dll to the folder where my .exe file is.What is wrong? Which .h files should I include in my project and what .dlls should I add to the folder of my project?

P.S I use Borland c++Builder 6
Post Reply