青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

李錦俊(mybios)的blog

游戲開發 C++ Cocos2d-x OpenGL DirectX 數學 計算機圖形學 SQL Server

  C++博客 :: 首頁 :: 聯系 :: 聚合  :: 管理
  86 Posts :: 0 Stories :: 370 Comments :: 0 Trackbacks

公告

QQ:30743734
EMain:mybios@qq.com

常用鏈接

留言簿(16)

我參與的團隊

最新隨筆

搜索

  •  

積分與排名

  • 積分 - 373301
  • 排名 - 67

最新評論

閱讀排行榜

評論排行榜

煩人的錯誤。。搞了一個多小時才解決,寫下來記錄一下。

解決辦法:保證需要鏈接的幾個項目的運行時庫使用同一個類型就OK了!例如我的工程中有GameCore、Plugin_D3D9RenderSystem、Plugin_Win32Platform三個工程,那么就去設置每個工程的C/C++ ->代碼生成->運行時庫,統一設置成“多線程 DLL(/MD)”,就可以了。如果其中一個不是MD,就會出現以下的錯誤。很煩人。希望同樣遇到這個問題的朋友能少走彎路

以下是鏈接錯誤信息:
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: int __thiscall std::ios_base::width(int)" (?width@ios_base@std@@QAEHH@Z) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: int __thiscall std::ios_base::width(void)const " (?width@ios_base@std@@QBEHXZ) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: int __thiscall std::ios_base::flags(void)const " (?flags@ios_base@std@@QBEHXZ) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: bool __thiscall std::ios_base::good(void)const " (?good@ios_base@std@@QBE_NXZ) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: int __thiscall std::ios_base::rdstate(void)const " (?rdstate@ios_base@std@@QBEHXZ) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: static unsigned int __cdecl std::char_traits<char>::length(char const *)" (?length@?$char_traits@D@std@@SAIPBD@Z) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "class std::basic_ostream<wchar_t,struct std::char_traits<wchar_t> > & __cdecl std::operator<<<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >(class std::basic_ostream<wchar_t,struct std::char_traits<wchar_t> > &,class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > const &)" (??$?6_WU?$char_traits@_W@std@@V?$allocator@_W@1@@std@@YAAAV?$basic_ostream@_WU?$char_traits@_W@std@@@0@AAV10@ABV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@0@@Z) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: wchar_t __thiscall std::basic_ios<wchar_t,struct std::char_traits<wchar_t> >::fill(void)const " (?fill@?$basic_ios@_WU?$char_traits@_W@std@@@std@@QBE_WXZ) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > __thiscall std::basic_ostringstream<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >::str(void)const " (?str@?$basic_ostringstream@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QBE?AV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@2@XZ) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: __thiscall std::basic_ostringstream<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >::basic_ostringstream<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >(int)" (??0?$basic_ostringstream@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAE@H@Z) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: class std::basic_ostream<wchar_t,struct std::char_traits<wchar_t> > & __thiscall std::basic_ostream<wchar_t,struct std::char_traits<wchar_t> >::operator<<(int)" (??6?$basic_ostream@_WU?$char_traits@_W@std@@@std@@QAEAAV01@H@Z) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: __thiscall std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >(class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > const &)" (??0?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAE@ABV01@@Z) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: void __thiscall std::basic_ostream<wchar_t,struct std::char_traits<wchar_t> >::_Osfx(void)" (?_Osfx@?$basic_ostream@_WU?$char_traits@_W@std@@@std@@QAEXXZ) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: class std::basic_ostream<wchar_t,struct std::char_traits<wchar_t> > * __thiscall std::basic_ios<wchar_t,struct std::char_traits<wchar_t> >::tie(void)const " (?tie@?$basic_ios@_WU?$char_traits@_W@std@@@std@@QBEPAV?$basic_ostream@_WU?$char_traits@_W@std@@@2@XZ) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: void __thiscall std::basic_streambuf<wchar_t,struct std::char_traits<wchar_t> >::_Lock(void)" (?_Lock@?$basic_streambuf@_WU?$char_traits@_W@std@@@std@@QAEXXZ) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: void __thiscall std::basic_streambuf<wchar_t,struct std::char_traits<wchar_t> >::_Unlock(void)" (?_Unlock@?$basic_streambuf@_WU?$char_traits@_W@std@@@std@@QAEXXZ) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: unsigned short __thiscall std::basic_streambuf<wchar_t,struct std::char_traits<wchar_t> >::sputc(wchar_t)" (?sputc@?$basic_streambuf@_WU?$char_traits@_W@std@@@std@@QAEG_W@Z) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: __thiscall std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >::~basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >(void)" (??1?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAE@XZ) 已經在 Plugin_Win32Platform.lib(Plugin_Win32Platform.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: __thiscall std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >(wchar_t const *)" (??0?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAE@PB_W@Z) 已經在 Plugin_Win32Platform.lib(Plugin_Win32Platform.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: __thiscall std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >(void)" (??0?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAE@XZ) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: void __thiscall std::basic_ostringstream<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >::`vbase destructor'(void)" (??_D?$basic_ostringstream@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAEXXZ) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: class std::basic_ostream<wchar_t,struct std::char_traits<wchar_t> > & __thiscall std::basic_ostream<wchar_t,struct std::char_traits<wchar_t> >::flush(void)" (?flush@?$basic_ostream@_WU?$char_traits@_W@std@@@std@@QAEAAV12@XZ) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: class std::basic_streambuf<wchar_t,struct std::char_traits<wchar_t> > * __thiscall std::basic_ios<wchar_t,struct std::char_traits<wchar_t> >::rdbuf(void)const " (?rdbuf@?$basic_ios@_WU?$char_traits@_W@std@@@std@@QBEPAV?$basic_streambuf@_WU?$char_traits@_W@std@@@2@XZ) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: void __thiscall std::basic_ios<wchar_t,struct std::char_traits<wchar_t> >::setstate(int,bool)" (?setstate@?$basic_ios@_WU?$char_traits@_W@std@@@std@@QAEXH_N@Z) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: class std::locale __thiscall std::ios_base::getloc(void)const " (?getloc@ios_base@std@@QBE?AVlocale@2@XZ) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: static unsigned int __cdecl std::ctype<wchar_t>::_Getcat(class std::locale::facet const * *)" (?_Getcat@?$ctype@_W@std@@SAIPAPBVfacet@locale@2@@Z) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: wchar_t __thiscall std::ctype<wchar_t>::widen(char)const " (?widen@?$ctype@_W@std@@QBE_WD@Z) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: class std::locale::facet const * __thiscall std::locale::_Getfacet(unsigned int)const " (?_Getfacet@locale@std@@QBEPBVfacet@12@I@Z) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: __thiscall std::locale::~locale(void)" (??1locale@std@@QAE@XZ) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: void __thiscall std::locale::facet::_Register(void)" (?_Register@facet@locale@std@@QAEXXZ) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: void __thiscall std::locale::facet::_Incref(void)" (?_Incref@facet@locale@std@@QAEXXZ) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: __thiscall std::locale::id::operator unsigned int(void)" (??Bid@locale@std@@QAEIXZ) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: static unsigned short __cdecl std::char_traits<wchar_t>::eof(void)" (?eof@?$char_traits@_W@std@@SAGXZ) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: static bool __cdecl std::char_traits<wchar_t>::eq_int_type(unsigned short const &,unsigned short const &)" (?eq_int_type@?$char_traits@_W@std@@SA_NABG0@Z) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "bool __cdecl std::operator<<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >(class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > const &,class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > const &)" (??$?M_WU?$char_traits@_W@std@@V?$allocator@_W@1@@std@@YA_NABV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@0@0@Z) 已經在 Plugin_Win32Platform.lib(Win32RenderWindow.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "protected: wchar_t const * __thiscall std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >::_Myptr(void)const " (?_Myptr@?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@IBEPB_WXZ) 已經在 Plugin_Win32Platform.lib(Plugin_Win32Platform.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: wchar_t const * __thiscall std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >::c_str(void)const " (?c_str@?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QBEPB_WXZ) 已經在 Plugin_Win32Platform.lib(Win32LogSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "protected: char const * __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Myptr(void)const " (?_Myptr@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@IBEPBDXZ) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: unsigned int __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::size(void)const " (?size@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEIXZ) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: char const * __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::c_str(void)const " (?c_str@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEPBDXZ) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.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@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.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> >(char const *)" (??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBD@Z) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.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> >(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) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: bool __thiscall std::ios_base::fail(void)const " (?fail@ios_base@std@@QBE_NXZ) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > & __thiscall std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >::erase(unsigned int,unsigned int)" (?erase@?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAEAAV12@II@Z) 已經在 Plugin_Win32Platform.lib(Plugin_Win32Platform.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: void __thiscall std::basic_ios<wchar_t,struct std::char_traits<wchar_t> >::clear(int,bool)" (?clear@?$basic_ios@_WU?$char_traits@_W@std@@@std@@QAEXH_N@Z) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: unsigned int __thiscall std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >::size(void)const " (?size@?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QBEIXZ) 已經在 Plugin_Win32Platform.lib(Plugin_Win32Platform.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "protected: wchar_t * __thiscall std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >::_Myptr(void)" (?_Myptr@?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@IAEPA_WXZ) 已經在 Plugin_Win32Platform.lib(Plugin_Win32Platform.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)" (??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: int __thiscall std::basic_streambuf<wchar_t,struct std::char_traits<wchar_t> >::sputn(wchar_t const *,int)" (?sputn@?$basic_streambuf@_WU?$char_traits@_W@std@@@std@@QAEHPB_WH@Z) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: static unsigned int __cdecl std::char_traits<wchar_t>::length(wchar_t const *)" (?length@?$char_traits@_W@std@@SAIPB_W@Z) 已經在 Plugin_Win32Platform.lib(Plugin_Win32Platform.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> >::assign(char const *,unsigned int)" (?assign@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV12@PBDI@Z) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.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> >::append(char const *,unsigned int)" (?append@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV12@PBDI@Z) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
libcpmt.lib(ios.obj) : error LNK2005: "public: static void __cdecl std::ios_base::_Addstd(class std::ios_base *)" (?_Addstd@ios_base@std@@SAXPAV12@@Z) 已經在 msvcprt.lib(MSVCP80.dll) 中定義
libcpmt.lib(ios.obj) : error LNK2005: "private: static void __cdecl std::ios_base::_Ios_base_dtor(class std::ios_base *)" (?_Ios_base_dtor@ios_base@std@@CAXPAV12@@Z) 已經在 msvcprt.lib(MSVCP80.dll) 中定義
libcpmt.lib(locale0.obj) : error LNK2005: "private: static class std::locale::_Locimp * __cdecl std::locale::_Getgloballocale(void)" (?_Getgloballocale@locale@std@@CAPAV_Locimp@12@XZ) 已經在 msvcprt.lib(MSVCP80.dll) 中定義
libcpmt.lib(locale0.obj) : error LNK2005: "private: static void __cdecl std::locale::facet::facet_Register(class std::locale::facet *)" (?facet_Register@facet@locale@std@@CAXPAV123@@Z) 已經在 msvcprt.lib(MSVCP80.dll) 中定義
libcpmt.lib(locale0.obj) : error LNK2005: "public: static void __cdecl std::_Locinfo::_Locinfo_dtor(class std::_Locinfo *)" (?_Locinfo_dtor@_Locinfo@std@@SAXPAV12@@Z) 已經在 msvcprt.lib(MSVCP80.dll) 中定義
libcpmt.lib(locale0.obj) : 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@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV01@PBD@Z) 已經在 msvcprt.lib(MSVCP80.dll) 中定義
libcpmt.lib(locale0.obj) : error LNK2005: "private: static class std::locale::_Locimp * __cdecl std::locale::_Init(void)" (?_Init@locale@std@@CAPAV_Locimp@12@XZ) 已經在 msvcprt.lib(MSVCP80.dll) 中定義
libcpmt.lib(locale0.obj) : error LNK2005: "public: static void __cdecl std::_Locinfo::_Locinfo_ctor(class std::_Locinfo *,char const *)" (?_Locinfo_ctor@_Locinfo@std@@SAXPAV12@PBD@Z) 已經在 msvcprt.lib(MSVCP80.dll) 中定義
libcpmt.lib(xlock.obj) : error LNK2005: "public: __thiscall std::_Lockit::_Lockit(int)" (??0_Lockit@std@@QAE@H@Z) 已經在 msvcprt.lib(MSVCP80.dll) 中定義
libcpmt.lib(xlock.obj) : error LNK2005: "public: __thiscall std::_Lockit::~_Lockit(void)" (??1_Lockit@std@@QAE@XZ) 已經在 msvcprt.lib(MSVCP80.dll) 中定義
msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > & __thiscall std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >::assign(class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > const &)" (?assign@?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAEAAV12@ABV12@@Z) 已經在 Plugin_Win32Platform.lib(Win32InputSystem.obj) 中定義
   正在創建庫 ../Lib/GameCore.lib 和對象 ../Lib/GameCore.exp
../Bin/GameCore.dll : fatal error LNK1169: 找到一個或多個多重定義的符號

如果本文對你的開發有所幫助,并且你手頭恰好有零錢。

不如打賞我一杯咖啡,鼓勵我繼續分享優秀的文章。




posted on 2006-12-22 11:14 李錦俊(mybios) 閱讀(16979) 評論(15)  編輯 收藏 引用 所屬分類: VC Debug

Feedback

# re: 今天碰到了LINK2005的問題 2006-12-22 12:19 pengkuny
LINK2005我也遇到不少次,
不過聽說它的錯誤原因很復雜,有很多種,
唉,搞不清楚啊  回復  更多評論
  

# re: 今天碰到了LINK2005的問題 2006-12-22 13:01 李錦俊
是的。原因不少。這個只是其中之一。網上有些文章有介紹的。都比較常見  回復  更多評論
  

# re: 今天碰到了LINK2005的問題 2006-12-25 17:46 V
設置 /FORCE:MULTIPLE 就可以避免LNK1169 & LNK2005  回復  更多評論
  

# re: 今天碰到了LINK2005的問題 2006-12-28 21:05 fff
請問:FORCE:MULTIPLE怎么設置啊?
我的郵箱weiweiyang2005@163.com
謝謝!
  回復  更多評論
  

# re: 今天碰到了LINK2005的問題 2006-12-30 15:25 李錦俊
在項目屬性->鏈接器->命令行中設置  回復  更多評論
  

# re: 今天碰到了LINK2005的問題 2007-01-27 21:21 包子
哎,我上個星期在2005上面也是花了n多時間。遇到n多莫名其妙的問題,簡直是郁悶,不過也是解決一個就記錄一個啊。哈哈  回復  更多評論
  

# re: 今天碰到了LINK2005的問題 2007-07-09 15:19 vista
@李錦俊
c:\program files\microsoft visual studio 8\vc\atlmfc\include\afx.h(24) : fatal error C1189: #error : Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD[d]

修改完提示上面段信息。  回復  更多評論
  

# re: 今天碰到了LINK2005的問題 2007-07-20 10:46 hehe
贊。我也遇到同樣的問題,看了你的博客就解決了。呵呵  回復  更多評論
  

# re: 今天碰到了LINK2005的問題[未登錄] 2007-07-20 12:33 李錦俊
@vista
既然不能使用這個,那就使用其他線程模式啊。  回復  更多評論
  

# re: 今天碰到了LINK2005的問題 2007-08-29 11:24 重劍
看來不少人遇到過這個問題

看我的血淚史
http://m.shnenglu.com/lai3d/archive/2007/07/25/28734.aspx  回復  更多評論
  

# re: 今天碰到了LINK2005的問題 2008-10-22 18:28 bili
謝謝,解決了!  回復  更多評論
  

# re: 今天碰到了LINK2005的問題 2008-12-22 18:25 RichardHe
怎么解決的?  回復  更多評論
  

# re: 今天碰到了LINK2005的問題 2008-12-22 20:13 李錦俊
@RichardHe
文章開頭寫了。如下:
解決辦法:保證需要鏈接的幾個項目的運行時庫使用同一個類型就OK了!例如我的工程中有GameCore、Plugin_D3D9RenderSystem、Plugin_Win32Platform三個工程,那么就去設置每個工程的C/C++ ->代碼生成->運行時庫,統一設置成“多線程 DLL(/MD)”,就可以了。如果其中一個不是MD,就會出現以下的錯誤。很煩人。希望同樣遇到這個問題的朋友能少走彎路  回復  更多評論
  

# re: 今天碰到了LINK2005的問題 2009-04-15 10:51 zzz822163
謝謝,我也解決了!  回復  更多評論
  

# re: 今天碰到了LINK2005的問題 2010-09-02 10:02 ceciliawing
謝謝你~ 幫助我這個菜鳥 解決了問題~~  回復  更多評論
  

青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            欧美在线不卡视频| 一二三四社区欧美黄| 国产一区二区精品| 亚洲一区网站| 亚洲一区亚洲二区| 亚洲黄色免费电影| 久久久久久久久综合| aaa亚洲精品一二三区| 国产视频一区在线| 国产欧美日韩一区| 国产日韩欧美综合| 国产精品夜夜嗨| 欧美日韩美女在线| 免费欧美高清视频| 欧美日韩精品免费| 国产精品腿扒开做爽爽爽挤奶网站| 亚洲性色视频| 亚洲网站视频福利| 免费人成精品欧美精品| 欧美网站在线观看| 欧美日韩亚洲一区三区| 欧美精品三级日韩久久| 欧美成人精品一区二区三区| 亚洲欧洲中文日韩久久av乱码| 久久激情综合网| 国产精品免费aⅴ片在线观看| 国产欧美日韩免费看aⅴ视频| 国产视频一区免费看| 国产自产2019最新不卡| 最新中文字幕一区二区三区| 亚洲在线免费观看| 久久精品道一区二区三区| 久久免费99精品久久久久久| 久久综合影视| 一区二区成人精品 | 欧美一区二区视频97| 欧美77777| 国产欧美丝祙| 日韩一区二区精品葵司在线| 久久中文精品| 欧美一区二区日韩一区二区| 欧美国产日韩精品| 国外成人性视频| 欧美在线观看视频在线| 亚洲视频一区二区| 久久免费偷拍视频| 国产精品午夜av在线| 亚洲最新色图| 一区二区三区色| 欧美午夜视频网站| 午夜精品影院在线观看| 亚洲国产合集| 久久久精品欧美丰满| 日韩午夜在线观看视频| 欧美日韩国产片| 性伦欧美刺激片在线观看| 亚洲欧美日本另类| 国产精品免费观看在线| 午夜精品免费在线| 麻豆精品国产91久久久久久| 激情综合在线| 亚洲第一网站免费视频| 欧美成人黑人xx视频免费观看| 一区三区视频| 亚洲国产你懂的| 欧美日韩人人澡狠狠躁视频| 免费看成人av| 欧美日韩第一页| 久久精品成人欧美大片古装| 欧美成人精品三级在线观看 | 蜜桃久久精品乱码一区二区| 亚洲手机视频| 日韩视频一区二区三区在线播放| 亚洲国产精品美女| 欧美午夜精品久久久久久人妖| 亚洲欧美综合网| 久久夜色精品国产亚洲aⅴ| 亚洲国产成人精品女人久久久| 亚洲另类在线视频| 国产精品久久久99| 午夜视频在线观看一区| 久久精品久久综合| 小处雏高清一区二区三区| 欧美一站二站| 国产精品欧美日韩| 在线视频免费在线观看一区二区| 亚洲精品1区2区| 亚洲一区免费| 国产欧美一区二区白浆黑人| 小处雏高清一区二区三区| 久久精品天堂| 亚洲精品中文在线| 欧美日韩精品免费看 | 国产精品成人v| 亚洲美女av网站| 久久爱另类一区二区小说| 一区二区在线不卡| 欧美激情综合在线| 亚洲网站视频| 亚洲精品美女91| 久久精品国产第一区二区三区| 一色屋精品视频免费看| 欧美精品三级日韩久久| 午夜精品福利在线观看| 亚洲精品午夜精品| 欧美成人午夜77777| 欧美一区二区三区久久精品| 亚洲人成毛片在线播放| 国产一区二区视频在线观看| 欧美精品免费看| 欧美xx69| 欧美黄色大片网站| 久久伊人一区二区| 久久精品欧美日韩| 欧美一区二区三区视频在线观看| 亚洲精品在线观看免费| 亚洲精选一区| 免费观看久久久4p| 日韩视频不卡| 久久亚洲一区二区| 国产精品丝袜xxxxxxx| 亚洲美女中出| 欧美影院成年免费版| 亚洲黄网站在线观看| 欧美有码视频| 国产精品欧美一区喷水| 亚洲乱码日产精品bd| 蜜桃精品一区二区三区| 国产日韩精品一区二区| 欧美激情综合亚洲一二区| 久久久久国产精品人| 欧美人成在线视频| 韩日精品视频| 中文精品视频| 欧美成人亚洲成人| 亚洲调教视频在线观看| 亚洲欧美一区二区视频| 欧美va亚洲va国产综合| 国产精一区二区三区| 亚洲伦伦在线| 久久综合给合| 99视频精品免费观看| 乱码第一页成人| 国产丝袜一区二区| 一区二区三区欧美在线观看| 免费欧美高清视频| 久久精品噜噜噜成人av农村| 国产精品夜夜嗨| 亚洲永久免费观看| 亚洲色诱最新| 国产精品乱子久久久久| 一区二区三区四区五区精品视频| 久久综合一区| 免费观看亚洲视频大全| 1769国产精品| 欧美一区永久视频免费观看| 久久精品国产成人| 久久av在线看| 亚洲欧洲日本国产| 狂野欧美激情性xxxx欧美| 亚洲人线精品午夜| 国产日本欧美一区二区| 暖暖成人免费视频| 亚洲欧美成人一区二区在线电影| 一区二区三区黄色| 一本色道久久综合| 亚洲精品久久久蜜桃 | 亚洲国产三级| 亚洲综合电影一区二区三区| 国内精品免费在线观看| 亚洲一二三区在线观看| 亚洲一级黄色| 好吊视频一区二区三区四区| 久久伊伊香蕉| 欧美日本一道本| 久久久高清一区二区三区| 久久久国产亚洲精品| 亚洲黄色有码视频| 亚洲一区在线看| 亚洲国产高清一区| 欧美一级欧美一级在线播放| 亚洲国产综合视频在线观看| 在线综合亚洲欧美在线视频| 激情欧美丁香| 亚洲视频在线一区| 亚洲精品一区二区三区在线观看| 亚洲中无吗在线| 夜夜嗨av一区二区三区四区| 欧美一区二区高清| 欧美一区二区三区视频免费播放| 蜜桃av综合| 免费看的黄色欧美网站| 国产乱码精品| 亚洲麻豆视频| 亚洲欧美春色| 国产精品久久一卡二卡| 国产精品99久久99久久久二8| 日韩一区二区免费高清| 欧美精品国产精品日韩精品| 亚洲电影天堂av|