Debug正常 Release链接不上
chib 2006-11-03 03:29:57 我的项目用到了Boost库 Debug正常 Release编译出错
以下是错误
Linking...
msvcprt.lib(MSVCP71.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> >(class
std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)"
(??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@ABV01@@Z) already defined in rts_scene_area.obj
msvcprt.lib(MSVCP71.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@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ) already defined in cmd_svr.obj
MSVCRT.lib(MSVCR71.dll) : error LNK2005: "public: virtual __thiscall exception::~exception(void)" (??1exception@@UAE@XZ) already
defined in LIBCMT.lib(stdexcpt.obj)
忽略掉库msvcprt.lib MSVCRT.lib 仍然提示以上错误
请问各位是不是项目需要其他什么设置?我是在Runtime Lib 为Multi-threaded (/MT)下编译的