开发者

link error while porting to vs2005

开发者 https://www.devze.com 2022-12-17 18:29 出处:网络
I am getting the following link error, as it says it is already defined in other library, and I have set the same settings for my libraries which are linked to this,

I am getting the following link error, as it says it is already defined in other library, and I have set the same settings for my libraries which are linked to this,

I used standard w开发者_如何学Goindows library and multi threaded option

msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: char const * __thiscall std::basic_string,class std::allocator >::c_str(void)const " (?c_str@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEPBDXZ) already defined in prot.lb


I am pretty sure this is your issue:

http://support.microsoft.com/default.aspx?scid=kb;en-us;q148652

0

精彩评论

暂无评论...
验证码 换一张
取 消