请教:在vc++下能通过,移植到evc下提示链接错误!
[复制链接]
HTTPServer.obj : error LNK2019: unresolved external symbol "public: __cdecl std::_Lockit::~_Lockit(void)" (??1_Lockit@std@@QAA@XZ) referenced in function "public: __cdecl std::_Tree,class st
d::allocator >,struct std::pair,class std::allocator > const ,class std::basic_string,class std::allocator > >,struct std::map
:basic_string,class std::allocator >,class std::basic_string,class std::allocator >,struct std::less,class s
td::allocator > >,class std::allocator,class std::allocator > > >::_Kfn,struct std::less,class std::allocator > >
,class std::allocator,class std::allocator > > >::~_Tree,class std::allocator >,struct std::pair
g,class std::allocator > const ,class std::basic_string,class std::allocator > >,struct std::map,class std::
allocator >,class std::basic_string,class std::allocator >,struct std::less,class std::allocator > >,class std::allocator
c_string,class std::allocator > > >::_Kfn,struct std::less,class std::allocator > >,class std::allocator
d::char_traits,class std::allocator > > >(vo
id)" (??1?$_Tree@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@U?$pair@$$CBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@@2@U_Kfn@?$map@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@U?$less@V?$
basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@2@U?$less@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@V?$allocator@V?$basic_string@DU?$
char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@QAA@XZ)
HTTPServer.obj : error LNK2019: unresolved external symbol "public: __cdecl std::_Lockit::_Lockit(void)" (??0_Lockit@std@@QAA@XZ) referenced in function "public: __cdecl std::_Tree,class std
::allocator >,struct std::pair,class std::allocator > const ,class std::basic_string,class std::allocator > >,struct std::map
basic_string,class std::allocator >,class std::basic_string,class std::allocator >,struct std::less,class st
d::allocator > >,class std::allocator,class std::allocator > > >::_Kfn,struct std::less,class std::allocator > >,
class std::allocator,class std::allocator > > >::~_Tree,class std::allocator >,struct std::pair
,class std::allocator > const ,class std::basic_string,class std::allocator > >,struct std::map,class std::a
llocator >,class std::basic_string,class std::allocator >,struct std::less,class std::allocator > >,class std::allocator
_string,class std::allocator > > >::_Kfn,struct std::less,class std::allocator > >,class std::allocator
::char_traits,class std::allocator > > >(voi
d)" (??1?$_Tree@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@U?$pair@$$CBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@@2@U_Kfn@?$map@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@U?$less@V?$b
asic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@2@U?$less@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@V?$allocator@V?$basic_string@DU?$c
har_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@QAA@XZ)
ARMV4IDbg/WebServer.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
Creating browse info file...
用到了:using namespace std;