Installing Robocup 3D simulation server on Ubuntu

Installing Robocup 3D simulation server on Ubuntu

You are not authorized to post comments.

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.

  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:[email protected]:/cvsroot/sserver login
    [ when asked for a password, just press enter]
    $ cvs -z3 -d:pserver:[email protected]:/cvsroot/sserver co -P rcsoccersim/rcssserver3D

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

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

你可能感兴趣的:(Install)