Visual Studio链接失败(rcssserver3d) [英] visual studio linking failed (rcssserver3d)

查看:105
本文介绍了Visual Studio链接失败(rcssserver3d)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在Windows(Visual Studio 2010)中编译rcssserver 3d时,出现以下错误:

When I try to compile rcssserver 3d in windows (visual studio 2010) I get the following errors :

------ Build started: Project: ZERO_CHECK, Configuration: Release Win32 ------
Build started 4/29/2011 12:31:14 AM.
PrepareForBuild:
  Creating directory "C:\simspark\trunk\rcssserver3d\ebuild\Release\".
InitializeBuildStatus:
  Creating "Win32\Release\ZERO_CHECK\ZERO_CHECK.unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
  Checking Build System
  CMake does not need to re-run because C:/simspark/trunk/rcssserver3d/ebuild/CMakeFiles/generate.stamp is up-to-date.
  CMake does not need to re-run because C:/simspark/trunk/rcssserver3d/ebuild/data/CMakeFiles/generate.stamp is up-to-date.
  CMake does not need to re-run because C:/simspark/trunk/rcssserver3d/ebuild/doc/CMakeFiles/generate.stamp is up-to-date.
  CMake does not need to re-run because C:/simspark/trunk/rcssserver3d/ebuild/doc/users/CMakeFiles/generate.stamp is up-to-date.
  CMake does not need to re-run because C:/simspark/trunk/rcssserver3d/ebuild/plugin/CMakeFiles/generate.stamp is up-to-date.
  CMake does not need to re-run because C:/simspark/trunk/rcssserver3d/ebuild/plugin/soccer/CMakeFiles/generate.stamp is up-to-date.
  CMake does not need to re-run because C:/simspark/trunk/rcssserver3d/ebuild/plugin/soccermonitor/CMakeFiles/generate.stamp is up-to-date.
  CMake does not need to re-run because C:/simspark/trunk/rcssserver3d/ebuild/rcssagent3d/CMakeFiles/generate.stamp is up-to-date.
  CMake does not need to re-run because C:/simspark/trunk/rcssserver3d/ebuild/rcssmonitor3d/CMakeFiles/generate.stamp is up-to-date.
  CMake does not need to re-run because C:/simspark/trunk/rcssserver3d/ebuild/rcssserver3d/CMakeFiles/generate.stamp is up-to-date.
FinalizeBuildStatus:
  Deleting file "Win32\Release\ZERO_CHECK\ZERO_CHECK.unsuccessfulbuild".
  Touching "Win32\Release\ZERO_CHECK\ZERO_CHECK.lastbuildstate".
Build succeeded.
Time Elapsed 00:00:00.70
------ Build started: Project: rcssagent3d, Configuration: Release Win32 ------
Build started 4/29/2011 12:31:15 AM.
PrepareForBuild:
  Creating directory "C:\simspark\trunk\rcssserver3d\ebuild\rcssagent3d\Release\".
InitializeBuildStatus:
  Creating "rcssagent3d.dir\Release\rcssagent3d.unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
  Building Custom Rule C:/simspark/trunk/rcssserver3d/rcssagent3d/CMakeLists.txt
  CMake does not need to re-run because C:\simspark\trunk\rcssserver3d\ebuild\rcssagent3d\CMakeFiles\generate.stamp is up-to-date.
ClCompile:
  naobehavior.cpp
  hoap2behavior.cpp
..\..\rcssagent3d\hoap2behavior.cpp(172): warning C4305: 'initializing' : truncation from 'double' to 'const float'
..\..\rcssagent3d\hoap2behavior.cpp(229): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
..\..\rcssagent3d\hoap2behavior.cpp(241): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
..\..\rcssagent3d\hoap2behavior.cpp(253): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
..\..\rcssagent3d\hoap2behavior.cpp(265): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
  soccerbotbehavior.cpp
..\..\rcssagent3d\soccerbotbehavior.cpp(230): warning C4305: 'initializing' : truncation from 'double' to 'const float'
..\..\rcssagent3d\soccerbotbehavior.cpp(283): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
..\..\rcssagent3d\soccerbotbehavior.cpp(297): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
..\..\rcssagent3d\soccerbotbehavior.cpp(309): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
..\..\rcssagent3d\soccerbotbehavior.cpp(322): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
..\..\rcssagent3d\soccerbotbehavior.cpp(342): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
..\..\rcssagent3d\soccerbotbehavior.cpp(358): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
..\..\rcssagent3d\soccerbotbehavior.cpp(370): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
..\..\rcssagent3d\soccerbotbehavior.cpp(382): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
  soccerbehavior.cpp
  main.cpp
Link:
  main.obj : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall rcss::net::Addr::Addr(unsigned short,unsigned int)" (__imp_??0Addr@net@rcss@@QAE@GI@Z)
soccerbehavior.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::_Vector_const_iterator<class std::_Vector_val<class boost::any,class std::allocator<class boost::any> > > const & __thiscall oxygen::Predicate::Iterator::GetIterator(void)const " (__imp_?GetIterator@Iterator@Predicate@oxygen@@QBEABV?$_Vector_const_iterator@V?$_Vector_val@Vany@boost@@V?$allocator@Vany@boost@@@std@@@std@@@std@@XZ)
soccerbehavior.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::_Vector_const_iterator<class std::_Vector_val<class boost::any,class std::allocator<class boost::any> > > & __thiscall oxygen::Predicate::Iterator::GetIterator(void)" (__imp_?GetIterator@Iterator@Predicate@oxygen@@QAEAAV?$_Vector_const_iterator@V?$_Vector_val@Vany@boost@@V?$allocator@Vany@boost@@@std@@@std@@@std@@XZ)
soccerbehavior.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::_List_const_iterator<class std::_List_val<class oxygen::Predicate,class std::allocator<class oxygen::Predicate> > > __thiscall oxygen::PredicateList::end(void)const " (__imp_?end@PredicateList@oxygen@@QBE?AV?$_List_const_iterator@V?$_List_val@VPredicate@oxygen@@V?$allocator@VPredicate@oxygen@@@std@@@std@@@std@@XZ)
soccerbehavior.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::_List_const_iterator<class std::_List_val<class oxygen::Predicate,class std::allocator<class oxygen::Predicate> > > __thiscall oxygen::PredicateList::begin(void)const " (__imp_?begin@PredicateList@oxygen@@QBE?AV?$_List_const_iterator@V?$_List_val@VPredicate@oxygen@@V?$allocator@VPredicate@oxygen@@@std@@@std@@@std@@XZ)
soccerbehavior.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: bool __thiscall zeitgeist::ParameterList::AdvanceValue(class std::_Vector_const_iterator<class std::_Vector_val<class boost::any,class std::allocator<class boost::any> > > &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &)const " (__imp_?AdvanceValue@ParameterList@zeitgeist@@QBE_NAAV?$_Vector_const_iterator@V?$_Vector_val@Vany@boost@@V?$allocator@Vany@boost@@@std@@@std@@@std@@AAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@4@@Z)
soccerbehavior.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: bool __thiscall zeitgeist::ParameterList::AdvanceValue(class std::_Vector_const_iterator<class std::_Vector_val<class boost::any,class std::allocator<class boost::any> > > &,float &)const " (__imp_?AdvanceValue@ParameterList@zeitgeist@@QBE_NAAV?$_Vector_const_iterator@V?$_Vector_val@Vany@boost@@V?$allocator@Vany@boost@@@std@@@std@@@std@@AAM@Z)
soccerbehavior.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: bool __thiscall zeitgeist::ParameterList::AdvanceValue(class std::_Vector_const_iterator<class std::_Vector_val<class boost::any,class std::allocator<class boost::any> > > &,class salt::Vector3f &)const " (__imp_?AdvanceValue@ParameterList@zeitgeist@@QBE_NAAV?$_Vector_const_iterator@V?$_Vector_val@Vany@boost@@V?$allocator@Vany@boost@@@std@@@std@@@std@@AAVVector3f@salt@@@Z)
soccerbotbehavior.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: bool __thiscall zeitgeist::ParameterList::AdvanceValue(class std::_Vector_const_iterator<class std::_Vector_val<class boost::any,class std::allocator<class boost::any> > > &,double &)const " (__imp_?AdvanceValue@ParameterList@zeitgeist@@QBE_NAAV?$_Vector_const_iterator@V?$_Vector_val@Vany@boost@@V?$allocator@Vany@boost@@@std@@@std@@@std@@AAN@Z)
C:\simspark\trunk\rcssserver3d\ebuild\rcssagent3d\Release\rcssagent3d.exe : fatal error LNK1120: 9 unresolved externals
Build FAILED.
Time Elapsed 00:00:19.97
========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========



我不知道这是什么问题,有人可以帮助我吗?
simspark项目:rcssserver 在Windows上编译



and I dont know whats the problem can anyone help me ?
simspark project : rcssserver compiling on windows

推荐答案

_Vector_const_iterator @ V?
_Vector_const_iterator@V?


_Vector_val @ Vany @ boost @@ V?
_Vector_val@Vany@boost@@V?


allocator @ Vany @ boost @@@ std @@@ std @@@ std @@ XZ) soccerbehavior.obj:错误LNK2001:未解析的外部符号"__declspec(dllimport)公共:类std :: _ Vector_const_iterator < class std :: _ Vector_val< class boost :: any,class std :: allocator< class boost :: any > >&& __thiscall oxygen :: Predicate :: Iterator :: GetIterator(void)(__imp_?GetIterator @ Iterator @ Predicate @ oxygen @@ QAEAAV?
allocator@Vany@boost@@@std@@@std@@@std@@XZ) soccerbehavior.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::_Vector_const_iterator<class std::_Vector_val<class boost::any,class std::allocator<class boost::any> > > & __thiscall oxygen::Predicate::Iterator::GetIterator(void)" (__imp_?GetIterator@Iterator@Predicate@oxygen@@QAEAAV?


这篇关于Visual Studio链接失败(rcssserver3d)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆