Linker errors with Borland c++6 Builder
Posted: 2007-02-01T08:40:47-07:00
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
[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