Configure the robocup3d development environment in the Fedora-14x86_64 offline (from ritterliu)

Source: Internet
Author: User

Recently, the 3D development platform has gradually transitioned to fedora14x86_64, so several of them have been configured.

To help new students in the lab configure the robocup3d Development Environment faster and more conveniently, complete the online installation packages. The following is the offline configuration process.

Currently, the installation package for the library required by simspark and the kdevelop installation package for the integrated development environment have been completed. If you want to install it online, you can refer to the following section. Otherwise, skip this section.

**************** ****/

First, we need to prepare the library files required to install simspark, simspark official website http://simspark.sourceforge.net/wiki/index.php/Installation_on_Linux

The following command is prompted for online download: "sudo Yum-y install boost-devel FreeType-devel freeglut-devel ruby-devel SDL * dedrop dedevil-devel ode-devel"

However, I personally think that the "sudo" of fedora is not very useful. We recommend that you first enter "Su" and then the password, after entering the highest permission (that is, the starting symbol of the command is changed from "$" "#"), enter "yum-y install boost-devel FreeType-devel freeglut-devel ruby-devel SDL * dedevil-devel ode-devel" to download the library file.

/****************** Online Installation Method end ***************** ***/

 

**************** ****/

Package1 is the installation package for the library required by simspark

Package2 is the upgrade package for the library required by simspark

Package3 is the kdevelop installation package.

Package4 is the upgrade package of kdevelop.

Package5 is the installation package of the patch.

 

Currently, there are five packages. We recommend that you install them separately in sequence. First, you must enter the highest permission.

"Su"

Enter package

"CD package1"

Perform Batch Installation

"Rpm-IVH -- aid -- force -- nodeps *. RPM"

Exit the highest permission

"Exit"

Then use the same method for the four packages.

 

After package3 and package4 are installed, you can start the kdevelop integrated development environment. You can enter

"Kdevelop", or click Application> programming> kdevelop4 in the upper left corner of the desktop to start

If a file not writable is reported when kdevelop is started, go to the corresponding folder and enter the highest permission, run

"Chmod 777 *"

Grant all permissions to all users.

 

After package1, package2, and package5 are installed, you can install simspark.

The latest simspark requires three patches: The logviewerfix patch of simspark, And the goalfix and rulefix patch of rcssserver3d. The new students here may feel a little dizzy. How can we say that simspark has one patch and three patches later? This is the case. simspark is a physical simulation platform, in this scenario, we can configure our existing rcssserver3d game scenario and other game environments. That is to say, simspark controls the underlying information and rcssserver3d controls the information environment of the stadium that we can see on the upper layer, for details, please refer to Region.

Through the above introduction, we can see the relationship between simspark and rcssserver3d. rcssserver3d depends on simspark. Therefore, to configure the robocup3d development environment, we need to install simspark first.

Decompress simspark-0.2.2.tar.gz

"Tar xvf simspark-0.2.2.tar.gz"

Go to the extracted simspark-0.2.2 folder

"CD simspark-0.2.2"

Create a folder with any name. Use build here.

"Mkdir build"

Go to build

"CD build"

Pre-compile to determine whether the required library files are complete

"Cmake..." note that adding spaces to cmake and adding two consecutive points

If "Running ing done" is reported and "errors occur" is not reported after the pre-compilation is completed, it indicates that the library file is not missing and can be installed normally. Wait a moment and install the patch.

Copy the logviewerfix patch to the simspark-0.2.2/, do not copy to the simspark-0.2.2/build/, in the command line to the simspark-0.2.2/, run the command:

"Patch-P1 <simspark-0.2.2-logviewerfix.patch"

Then go to build.

"CD build"

Compile

"Make"

If no error exists, enter the highest permission for installation.

"Su"

"Make install"

After simspark is installed, exit the highest permission

"Exit"

 

Install rcssserver3d with the same steps, and do not forget to patch it. The simple command line is listed as follows for reference:

"CP.../rcssserver3d-0.6.5-goalfix.patch.../rcssserver3d /"

"CP.../rcssserver3d-0.6.5-rulefix.patch.../rcssserver3d /"

"CD rcssserver3d-0.6.5"

"Mkdir build"

"CD build"

"Cmake .."

"CD .."

"Patch-P1 <rcssserver3d-0.6.5-goalfix.patch"

"Patch-P1 <rcssserver3d-0.6.5-rulefix.patch"

"CD build"

"Make"

"Su"

"Make install"

"Exit"

 

So far, the configuration of the robocup3d development environment has been completed.

Enter "rcsoccersim3d" to start the stadium.

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.