ubuntu 12.04 RoboCup 2D 仿真安装记录
2012-05-06 21:41
465 查看
更多信息,请访问glygo
ubuntu 12.04 RoboCup 2D 仿真安装记录
官方教程见:http://sourceforge.net/apps/mediawiki/sserver/index.php?title=Installing_server_server_system
还可以参考下这篇日志:http://blog.163.com/hanjiye123@126/blog/static/17011774320110109213799
一、下载必要的安装文件
点下面的链接,分别下载好这几个包,记住下载目录。rcssserver
rcssmonitor
rcsslogplayer (可选,用来重看比赛)
点地一个链接出来这个页面,选download rcssserver-15.0.1.tar.gz 即可。
点第二三个链接的时候,注意,不要再下载server了。进15.0.0的文件夹,下载linux版即可,mac不要下。 下载之后放一边,先把依赖包装好。
二、安装依赖环境
主要几个依赖环境有:Flex/Bison
Boost 1.32 or later
Qt4
Zlib (推荐的可选)
具体:在终端输入:
sudo apt-get install flex sudo apt-get install libqt4* sudo apt-get install zlib* sudo apt-get install libboost*
前三个都算比较顺利,用复旦的软件源很快就安装好了。就是boost比较蛋疼。直接按照上述命令输入,会显 示各种冲突,无法安装,源里面同时存在新旧两个版本的boost,要我一个个打,实在不愿意,所以就直接去下载一个包装上。
下载地址:http://sourceforge.net/projects/boost/files/boost/1.49.0/boost_1_49_0.tar.bz2/download
说明网页:http://www.boost.org/users/history/version_1_49_0.html
下载好了,解压缩,里面有个index.html ,是说明文件,打开来看看。
摘录最重要的如下:
=========================================================================
Issue the following commands in the shell (don't type $; that represents the shell's prompt):
这个,打开来有好多选项,貌似没太大影响,直接不打--help,过了。
$cdpath/to/boost_1_49_0$./bootstrap.sh --help
Select your configuration options and invoke ./bootstrap.sh again without the --help option. Unless you have write
permission in your system's /usr/local/ directory, you'll probably want to at least use
$./bootstrap.sh--prefix=path/to/installation/prefix ///这个也可以忽略
to install somewhere else. Also, consider using the --show-libraries and --with-libraries=library-name-list options
to limit the long wait you'll experience if you build everything. Finally,
$./b2 install
will leave Boost binaries in the lib/ subdirectory of your installation prefix. You will also find a copy of the Boost headers
in the include/ subdirectory of the installation prefix, so you can henceforth use that directory as an #include path in place of the Boost root directory.
====================================================================================
然后再试试:
sudo apt-get install libboost*
如果提示有版本冲突,只要有一个版本装上就好了。
然后就可以装那三个包了。方法大同小异
rcssserver
$ tar xzvf rcssserver-15.x.x.tar.gz $ cd rcssserver-15.x.x $ ./configure$ make$ su# make install (or, sudo make install)
rcssmonitor
$ tar xzvf rcssmonitor-156.x.x.tar.gz $ cd rcssmonitor-15.x.x$ ./configure $ make$ su# make install (or, sudo make install)
If your system does not support Qt4 library, please try to use the frameview monitor. In this case, you need to download rcssmonitor_frameview-14.0.0.tar.gz.
$ tar xzvf rcssmonitor_frameview-15.0.0.tar.gz $ cd rcssmonitor_frameview-150.0$ ./configure$ make $ su# make install (or, sudo make install)
If you encounter the error massage such as "cannot find -lXpm", please confirm that libXpm is installed on your system or try the following
option:
$ ./configure LDFLAGS="-L/usr/X11R6/lib"
If you encounter the error massage such as "cannot find xxxx.h", you may need to install related development packages prepared for your
system.
rcsslogplayer
$ tar xzvf rcsslogplayer-14.x.x.tar.gz $ cd rcsslogplayer-14.x.x$ ./configure$ make $ su# make install (or, sudo make install)
If your system does not support Qt4 library, please try to use the classic logplayer. In this case, you need to add the following options
to the configure script:
$ ./configure --disable-qt4 --enable-classic
Starting the soccer simulator
If you installed the soccer server system successfully, you can start the whole simulation system via 'rcsoccersim' command.$ rcsoccersim
效果如图:
暂时只是装好,未进行测试。
相关文章推荐
- RoboCup 2D在Ubuntu 12.04下的仿真平台环境搭建和上场全过程
- RoboCup 2D在Ubuntu 12.04下的仿真平台环境搭建和上场全过程
- 在ubuntu server 12.04上安装gnome-shell记录
- Ubuntu16.04安装RoboCup3D比赛的仿真平台
- 简谈Ubuntu下robocup2d仿真环境的配置
- Ubuntu 12.04安装ns nam记录
- 32位Ubuntu 12.04 安装Oracle 11g问题记录
- ubuntu 12.04 安装后的一些配置记录
- ubuntu 12.04 64位,安装mysql-workbench问题解决记录
- 安装Ubuntu 桌面版 12.04 LTS 过程之记录
- Ubuntu14.04搭建Robocup2D仿真平台的一些问题处理方法
- Ubuntu 12.04 Nginx 安装记录
- SUMO仿真快速入门系列四:Ubuntu 12.04 安装ns2.35
- 安装:Ubuntu12.04+Python3+Django1.7.9过程记录
- [今日记录] PHP安装 & wordpress部署, Nginx 1.7.3, Ubuntu 12.04
- Ubuntu12.10+Robucup2D15.1.0+WrightEagleBASE-4.0.0搭建Robocup 2D 仿真环境
- ubuntu 12.04上安装OpenERP 7的一次记录
- ubuntu 12.04上安装OpenERP 7的一次记录
- ubuntu 12.04桌面安装oracle 10g 过程记录
- 虚拟机VMware8.0安装Ubuntu12.04