`
love19820823
  • 浏览: 933712 次
文章分类
社区版块
存档分类
最新评论

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: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 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.
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics