error LNK2001: 无法解析的外部符号怎么解决
alyba 2010-08-15 09:50:29 vs2005, c++
类似的错误有500+条,怎么办?
llcommon.lib(llstring.obj) : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: static void __cdecl std::_String_base::_Xran(void)" (__imp_?_Xran@_String_base@std@@SAXXZ),该符号在函数 "public: class std::basic_string,class std::allocator > & __thiscall std::basic_string,class std::allocator >::assign(class std::basic_string,class std::allocator > const &,unsigned int,unsigned int)" (?assign@?$basic_string@IU?$char_traits@I@std@@V?$allocator@I@2@@std@@QAEAAV12@ABV12@II@Z) 中被引用
llcommon.lib(llfixedbuffer.obj) : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: static void __cdecl std::_String_base::_Xran(void)" (__imp_?_Xran@_String_base@std@@SAXXZ)
llcommon.lib(llsdserialize.obj) : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class std::basic_string,class std::allocator > & __thiscall std::basic_string,class std::allocator >::replace(class std::_String_iterator,class std::allocator >,class std::_String_iterator,class std::allocator >,class std::basic_string,class std::allocator > const &)" (__imp_?replace@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV12@V?$_String_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@2@0ABV12@@Z),该符号在函数 "public: class std::basic_string,class std::allocator > & __thiscall std::basic_string,class std::allocator >::_Replace > >(class std::_String_iterator,class std::allocator >,class std::_String_iterator,class std::allocator >,class std::_Vector_iterator >,class std::_Vector_iterator >,struct std::input_iterator_tag)" (??$_Replace@V?$_Vector_iterator@DV?$allocator@D@std@@@std@@@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV01@V?$_String_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@1@0V?$_Vector_iterator@DV?$allocator@D@std@@@1@1Uinput_iterator_tag@1@@Z) 中被引用
llcommon.lib(llfile.obj) : error LNK2001: 无法解析的外部符号 "protected: virtual class std::fpos __thiscall std::basic_filebuf >::seekoff(long,int,int)" (?seekoff@?$basic_filebuf@DU?$char_traits@D@std@@@std@@MAE?AV?$fpos@H@2@JHH@Z)
llcommon.lib(llfile.obj) : error LNK2001: 无法解析的外部符号 "protected: virtual void __thiscall std::basic_filebuf >::imbue(class std::locale const &)" (?imbue@?$basic_filebuf@DU?$char_traits@D@std@@@std@@MAEXABVlocale@2@@Z)
llcommon.lib(llfile.obj) : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class std::basic_ostream > & __thiscall std::basic_ostream >::seekp(long,int)" (__imp_?seekp@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV12@JH@Z),该符号在函数 "int __cdecl llofstream_size(class llofstream &)" (?llofstream_size@@YAHAAVllofstream@@@Z) 中被引用
llcommon.lib(llstat.obj) : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class std::basic_ostream > & __thiscall std::basic_ostream >::operator<<(unsigned __int64)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@_K@Z),该符号在函数 "public: void __thiscall LLStatAccum::sum(double,unsigned __int64)" (?sum@LLStatAccum@@QAEXN_K@Z) 中被引用
llcommon.lib(llmemorystream.obj) : error LNK2001: 无法解析的外部符号 "protected: virtual class std::fpos __thiscall std::basic_streambuf >::seekoff(long,int,int)" (?seekoff@?$basic_streambuf@DU?$char_traits@D@std@@@std@@MAE?AV?$fpos@H@2@JHH@Z)
E:\GIS\opensim\Hippo Build\win_crash_logger\RelWithDebInfo\windows-crash-logger.exe : fatal error LNK1120: 42 个无法解析的外部命