CEGUI Install for Ogre on Linux

This document assumes that you have already set up Ogre on your system, and you are able to build the Ogre Tutorial framework using eclipse and MinGW. The libraries in these instructions are cegui-0.8 built with MinGW.

If you still need to install Ogre on Windows (with MingGW) see my instructions for installing Ogre and setting up eclipse.

Install

You can find the instructions for building and installing CEGUI on linux at http://cegui.org.uk/wiki/Building_from_source. Be sure to run make install at the end.

Setting up the project

  1. Begin with a working Ogre project. I suggest copying and pasting the project in the eclipse project sidebar.

  2. Right click on the project and select "Properties"

  3. Click the "Advanced Settings..."

  4. Click the "C/C++ Build" drop-down on the left.

  5. At the top of the "Tool Settings" tab, select "[All Configurations]" in "Configuration:". You may need to scroll up, to see it.

  6. Click "Settings" under "C/C++ Build" on the left side of the window.

  7. In the "Tool Settings" tab, click "Includes" under "GCC C++ Compiler"

  8. Click the Add button icon (a document with a green plus sign on the right).

  9. You will need to add the directories where the include files are for cegui. You can type exactly what appears below. Eclipse will use the variable ${CEGUI_HOME} here.

    /usr/include/cegui-0
    

  10. Click "Libraries" under "GCC C++ Linker". In the section "Libraries (-l)" add the following names:

    CEGUIBase-0
    CEGUIOgreRenderer-0
    
  11. Add the library paths in the "Library search path (-L)" area.

    /usr/local/lib
    
  12. Click "Ok".

Learn about CEGUI and Ogre

Ogre's Basic Tutorial 7 introduces Ogre with CEGUI. Make sure you follow the instructions specific to "CEGUI 0.8.x".


Clif Presser<cpresser@gettysburg.edu>
Last modified: Tue Mar 3 06:57:44 EST 2015