[Botan-devel] Re: botan-devel Digest, Vol 30, Issue 6

John Proffer jproffer at vli-dc.com
Wed Jun 20 06:41:56 EDT 2007


Erik's files worked perfectly for me - compiled without errors, and was 
able to compile my project without any errors as well. 

However, I'm not able to compile the non-debug version into my project - 
Botan compiles the lib fine, but MSVC complains that std::basic_string 
is already defined in libbotan?? 

Are you able to compile release versions, Erik?

Linking...
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: class 
std::basic_string<char,struct std::char_traits<char>,class 
std::allocator<char> > & __thiscall std::basic_string<char,struct 
std::char_traits<char>,class std::allocator<char> >::operator=(char 
const *)" 
(??4?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QAEAAV01 at PBD@Z) 
already defined in libbotan.lib(libstate.obj)
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: class 
std::basic_string<char,struct std::char_traits<char>,class 
std::allocator<char> > & __thiscall std::basic_string<char,struct 
std::char_traits<char>,class std::allocator<char> >::operator=(class 
std::basic_string<char,struct std::char_traits<char>,class 
std::allocator<char> > const &)" 
(??4?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QAEAAV01 at ABV01@@Z) 
already defined in libbotan.lib(init_def.obj)
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: __thiscall 
std::basic_string<char,struct std::char_traits<char>,class 
std::allocator<char> >::~basic_string<char,struct 
std::char_traits<char>,class std::allocator<char> >(void)" 
(??1?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QAE at XZ) 
already defined in libbotan.lib(init_def.obj)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jproffer.vcf
Type: text/x-vcard
Size: 392 bytes
Desc: not available
URL: <http://lists.randombit.net/pipermail/botan-devel/attachments/20070620/62283671/attachment.vcf>


More information about the botan-devel mailing list