1. Use the universe and multiverse databases in the list:
$ Sudo gedit/etc/APT/sources. List
[Use the universe and multiverse databases in the list, save and exit]
[Add at the end of the list: Deb http://ppa.launchpad.net/gnurubuntu/rubuntu/ubuntu lucidmain] [Replace "lucid" with the version code of the current system, for example ubuntu10.10, replace lucid with Maverick]
$ Sudo apt-Get update
2. Install dependency:
$ Sudo apt-Get install g ++ subversion cmake libfreetype6-devlibode-dev libsdl1.2-dev ruby1.8 ruby1.8-dev libdedevil-dev libboost-devlibboost-thread-dev libboost-RegEx-Dev
3. download the latest version of simspark and rcssserver3d source code package through SVN:
$ SVN Co https://simspark.svn.sourceforge.net/svnroot/simspark simspark
4. Configure and generate an executable file and install it:
Simspark:
$ CD simspark/trunk/spark
$ Mkdir build
$ CD build
$ Cmake ..
$ Make
$ Sudo make install
$ Sudo ldconfig
· Note: You can enter 'makeuninstall' to uninstall it.
Rcssserver3d:
[Transfer to the rcsserver3d directory (trunk/rcssserver3d)]
$ Mkdir build
$ CD build
$ Cmake ..
$ Make
$ Sudo make install
$ Sudo ldconfig
· Note: Enter 'make uninstall' to uninstall
5. Configure the link to use the library file:
$ Sudo gedit/etc/lD. So. conf
1.
[Add the Library link '/usr/local/lib', save and exit]
· Add "include/usr/local/lib"
1.
$ Sudo ldconfig
2. Run the simulation environment:
$ Cd ~
$ Simspark
3. Run the test agent:
$ Cd ~
$ Rcssagent3d
4. Run rcsoccersim3d