您的位置:首页 > Web前端 > CSS

官方的安装指南(ubuntu rcssserver3D)

2008-11-22 21:06 447 查看


Installing rcssserver3D on Ubuntu

This small HOWTO explains how to install the Robocup 3D simspark
simulation server on Ubuntu (so not the old spheres server using
spades) (1).
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.

1. 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

2. 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

3. 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

4. Build and install the soccer server: (optionally add --enable-debug=no to the configure command)

$ cd rcsoccersim/rcssserver3D/
$ ./bootstrap
$ ./configure
$ make
$ sudo make install

5. 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

6. Install models and textures:

$ cd /usr/local/share/rcssserver3d
$ sudo wget http://downloads.sourceforge.net/sserver/rcssserver3d-0.5.6-data.tar.gz?use_mirror=mesh $ sudo tar -xzf rcssserver3d-0.5.6-data.tar.gz

7. Run the simulation:

$ cd
$ simspark
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: