[Insight-users] Problems with std::basic_stringbuf and vnl

Sergio Andres sergio at unizar.es
Fri, 16 Apr 2004 12:47:48 +0200


Hi all,

I have compiled ITK with MSVC++ 6.0 (Release configuration) and my 
application,
which uses vnl_matlab_filewrite... and I got 4 errors like this:

msvcprt.lib(MSVCP60.dll) : error LNK2005:
public: virtual __thiscall std::basic_stringbuf<char,struct 
std::char_traits<char>,class std::allocator<char> 
 >::~basic_stringbuf<char,struct std::char_traits<char>,class 
std::allocator<char> >(void)" 
(??1?$basic_stringbuf at DU?$char_traits at D at std at  at V?$allocator at D at 2 at  at std at  at UAE at XZ) 
already defined in itkvnl.lib(vnl_matlab_filewrite.obj)

I don't know what to do to fix it..

Furthermore, I got no errors when I compiled in Debug configuration.

I will appreciate any help.
Thanks!

Regards,
Sergio Andres.