Page 1 of 1

Linking error while reading

Posted: 2010-01-08T03:20:43-07:00
by wizards
Hi all,

I am using ImageMagick in VC6.
Recently i am trying to use STLPort to use "hash_maps". Whne i am using ImageMagick with STLPort, i am getting the following link error

With50View.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Magick::Image::read(class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > const &)" (__imp_?read@Image@Magi
ck@@QAEXABV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@@Z)
Release/With50.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

With out ImageMagick settings, my programming is working fine.

Why this error? Is it with ImageMagic/STLPort?

Thanks in advance
wizards