Ubuntu installation library and server process

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.