Copy the compressed package eclipse-cpp-helios-sr1-linux-gtk.tar.gz to the user directory or other directories and decompress the package directly.
Search for openjdk and g ++ in the application -- ubuntu software management and install them separately to run c ++ development using eclipse.
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.
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 /".
OIS obtains:
Use the ubuntu Software Center to search for OIS and install it directly.