红联Linux门户
Linux帮助

Installing Robocup 3D simulation server on Ubuntu

发布时间:2007-10-18 00:43:59来源:红联作者:Mqqlecyro
This small HOWTO explains how to install the Robocup 3D simspark simulation server on Ubuntu (so not the old spheres server using spades). This should work on Dapper Drake (6.06), Edgy Eft (6.10) and Feisty Fawn (7.04). The steps should be similar on other distributions like Fedora, Suse and especially Debian, so hopefully it's also useful for other people.

Enable Universe and Multiverse repositories:
$ sudo gedit /etc/apt/sources.list
[ Follow instructions in the file to enable the Universe and Multiverse repositories, save and exit ]
$ sudo apt-get update

Install dependencies:
$ sudo apt-get install g++ ruby1.9 ruby1.9-dev libode0-dev libboost-dev libsdl-dev libfreetype6-dev libdevil-dev autoconf automake1.9 libtool freeglut3-dev tetex-extra cvs xlibs-dev libtiff4-dev libslang1-dev
$ sudo rm /usr/bin/ruby
$ sudo ln -s /usr/bin/ruby1.9 /usr/bin/ruby
$ sudo ln -s /usr/lib/libruby1.9.so /usr/lib/libruby.so

Check out the source from the source forge CVS repository:
$ cvs -d:pserver:anonymous@sserver.cvs.sourceforge.net:/cvsroot/sserver login
[ when asked for a password, just press enter]
$ cvs -z3 -d:pserver:anonymous@sserver.cvs.sourceforge.net:/cvsroot/sserver co -P rcsoccersim/rcssserver3D

Build and install the soccer server: (optionally add --enable-debug=no and new versions don't need --enable-kerosin)
$ cd rcsoccersim/rcssserver3D/
$ ./bootstrap
$ ./configure --enable-kerosin --with-spades=no
$ make
$ sudo make install

Make sure the linker can find your shared libraries:
$ sudo gedit /etc/ld.so.conf
[add the line '/usr/local/lib' if it isn't already there, save and close]
$ sudo ldconfig

Run the simulation:
$ cd app/simspark
$ ./simspark

ps:in the seconde step shuld change "libboost-dev" to "libboost-*" some of items neeed libboost-threads date time and also.
文章评论

共有 0 条评论