RoboCup2D builds and plays the entire process on the simulation platform environment under Ubuntu12.04

Source: Internet
Author: User
This article focuses on the entire process from the freshly released Ubuntu12.04 of fresh to the successful construction of the RoboCup2D simulation platform step by step, and then to the successful construction of the test. For more information about this article, see the official tutorial. Click here and enter an article that helps me a lot: Click here. Thank you very much. Copy the address of this article into the Ubuntu browser to continue reading. Of course, ensure that Ubuntu can connect to the network. 1. Prepare the 1.1OS platform environment in the preliminary stage.

This article focuses on the entire process from the freshly released Ubuntu 12.04 of fresh to the successful construction of the RoboCup 2D simulation platform step by step, to the successful construction of the test platform.

For more information about this article, see the official tutorial. Click here and enter an article that helps me a lot: Click here. Thank you very much.

Copy the address of this article into the Ubuntu browser to continue reading. Of course, ensure that Ubuntu can connect to the network.

1. Prerequisites

1.1 OS platform environment

If you have school machine support, you can use Ubuntu 12.04, a virtual machine installed with VMware, to use your own notebook. (For details, refer to my article ).

1.2 required software in the Early Stage 1.2.1 necessary decompression software
sudo apt-get install rar unrar p7zip
1.2.2 add Terminal to the right-click menu
sudo apt-get install nautilus-open-terminal

This is very convenient. You can right-click "decompress here" to quickly open the downloaded gz compressed file in terminal. After installation, restart the file to take effect. Usage:

Find the decompressed folder that you can only decompress the cd file, right-click the folder, and select "Open in Terminal" below to directly load the terminal Terminal under the directory.

1.2.3 install the most basic gcc compiler
sudo apt-get install build-essential

This is not explained.

2 required tools and function libraries (important)

This step is often followed by failures in subsequent installation of the server, and I have failed countless times (especially the installation attempts to manually compile and install the boost library is too difficult). Next I have done another experiment, provide feasible solutions, which should be as simple as possible.

Enter:

1Sudo apt-get install xorg-dev //Ubuntu12.04 is not installed by default. it is not available in official tutorials. Can I skip this tutorial?2Sudo apt-get install flex bison //Consistent with official requirements3Sudo apt-get install libboost-dev libboost-all-dev //Consistent with official requirements, do not download the boost source file and compile it by yourself. Some problems may drive you crazy.4Sudo apt-get install libqt4-dev libqt4-gui qt4-dev-tools qt4-doc qt4-designer qt4-qtconfig // official only said qt4, only libqt4 * words, is no qt4 *Of5Sudo apt-get install libpng * // ubuntu12.04 is not installed by default. Note: libglpng is updated to libpng !!! However, I still cannot enter... libpng. I do not know which one to install after the tab, So I directly... libpng *You can.6Sudo apt-get install libglib2.0-dev //Ubuntu12.04 no default installation7Sudo apt-get install libaudio-dev //Ubuntu12.04 is not installed by default. If it is not installed, monitor cannot make it!8Sudo apt-get install zlib * // optional. It is officially recommended. I don't know what to do. I tried installing 1-7 at a time and didn't install this. This may include the above content, such as xorg. Please leave a message if you are clear!

Later versions will be updated. If you read this article, you will not be able to install a library using the above commands. First, you should check what the library is updated in the new ubuntu, for example, when 10.04 is libglpng and 12.04 is libpng. In addition, the tab key on the keyboard is used to display all libraries that match the specified prefix in ubuntu. In addition, when there are a lot of tabs, and you don't know which one to install or which one to install, you should use the prefix to keep up with *. Install all those libraries and use these three libraries flexibly, all changes should be solved.

Or some have been installed for ubuntu by default, and you will find the prompt in the terminal.

Related Article

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.