Linking error while reading

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
wizards
Posts: 46
Joined: 2008-12-05T06:31:55-07:00

Linking error while reading

Post 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
Post Reply