Installation on Linux
From Simspark
Jump to: navigation, search
Contents
[hide]
* 1 Fedora
* 2 OpenSuse
* 3 Ubuntu
o 3.1 Requirement
o 3.2 Optional
+ 3.2.1 Documentations
+ 3.2.2 Rsgedit
+ 3.2.3 Simspark-utilities
* 4 Arch Linux
* 5 Generic Linux Instructions
o 5.1 Installing Ruby
o 5.2 Installing Boost
o 5.3 Installing ODE
o 5.4 Running the simulation
Fedora
The most easy way on Fedora systems to install simspark, is to open a terminal and type "yum install rcssserver3d" (if you want to develop agents using rcssserver3d's libraries, "run yum install rcssserver3d rcssserver3d-devel" instead). Thanks to the community members, the simspark packages have been included in Fedora's repositories as a part of Fedora Robotics SIG activities, as an effort to allow for easy development of robotics applications on Fedora.
In case you wanted to do the hard way (compile the simulator from source), continue reading:
1. Install dependencies:
There are dependencies for the simulator, ie. other libraries that simulator uses. These are:
boost: A collection of (currently) 58 libraries for multiple purposes. This is a giant library...
boost-devel: Development files for using boost library
FreeType (which should be installed by default for X Window System)
FreeType-devel
ruby: A dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write.
ruby-devel: Development files for using ruby language
SDL: (A multimedia library, installed by default): Preferably all the SDL packages
SDL-devel: Development files for using SDL
DevIL: (Developers Image library)
DevIL-devel: Development files for using DevIL
ode: Open Dynamics Engine, A physics engine
ode-devel: Development files to use for developing applications to use ode
If you have a ready internet connection, you can have it done like this with yum:
$ sudo yum -y install boost boost-devel freetype freetype-devel freeglut freeglut-devel ruby ruby-devel SDL* DevIL DevIL-devel ode ode-devel
Otherwise, the best option is to download the packages from one of Fedora mirrors. This link points to the list of all Fedora mirrors, Pick one of the mirrors, and search and download the packages listed above, then install it.
If there was error installing them, check these two: 1) Are you root? or at least doing it with sudo? 2) Does the package need any other dependency? you can guess it by rpm output
* I forgot to say to newbies: installation is like this: If you are in graphic mode (X Window System), find the package on installation media, double click it, otherwise, login to a terminal, go to installation media's directory, and type rpm -ivh
2. Now its the time for simu
lator itself:
Get the latest simspark package (take a look at downloading page if you don't know where to get it) and extract it. There are 4 folders, which currently they need to be built seperately. The building process is described below, it is the same for all the packages. First you should open a terminal and change to spark folder, and execute these commands:
$ mkdir build
$ cd build
$ cmake ..
$ make
$ sudo make install
Then change folder to rcssserver3d, execute the commands. Next is the simspark-utilitis, and last is optional, rsgedit.
* Note for newbies: DO NOT TYPE THE $ SIGN! It is indicator of shell prompt.
Congratulations, your build is complete!
Fedora环境下Robocup 3D 服务器Server安装
2011-07-24 16:28
Ro