Install and configure the eclipse development IDE environment in Ubuntu

Source: Internet
Author: User
  1. Copy the compressed package eclipse-cpp-helios-sr1-linux-gtk.tar.gz to the user directory or other directories and decompress the package directly.

  2. Search for openjdk and g ++ in the application -- ubuntu software management and install them separately to run c ++ development using eclipse.

  3. Eclipse environment configuration method:

1. header file reference Path configuration: Right-click the project, right-click the property, select "C/C ++ General -- Path andSymbols", click des on the right, click add, and enter the header file Path, for example, "/usr/include/OGRE", select "addto
All deployments "and" addto all ages ", OK.

2. Configure the Reference Path of the library file: Right-click the project and select "C/C ++ General -- Path and Symbols", click "LibraryPaths" on the right, and click "add, enter the header file path, such as "/usr/include/OGRE", and select "addto
All deployments "and" addto all ages ", OK.

3. Name of the library file to be added: Right-click the project and select "C/C ++ Build -- Settings". On the right, click "ToolSettings -- gcc c ++ Linker ", click Libraries, click the icon "+", and enter the library file name. If you want to link the library libOgreMain. so, enter OgreMain to link to the library libOIS. so, enter OIS and OK.

  1. Ogre Engine Development SDK:

Method 1: Use the ubuntu software to search for ogre and install "object-orientedgraphics rendering"
Engine (developmentfiles) libogre-dev ".

Unzip 2 unzip the ogresource code package, such as ogre_src_v1-7-2.tar.bz2, the command line to enter the directory (such as the Directory for/home/singko/ogre_src_v1-7-2), enter the "cmake" ogre _ src_v1-7-2'
", And then input" make "and" sudomakeinstall "in sequence ", by default, ogre will be installed in the "/usr/local/include/OGRE" and "/usr/local/lib/" directories /".

  1. OIS obtains:

Use the ubuntu Software Center to search for OIS and install it directly.

 

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.