CEGUI Install for Ogre on Windows

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

  1. Download the cegui-win.zip file from my site http://cs.gettysburg.edu/~cpresser/cs391/software/winFiles.
  2. Unzip the file in C:\GameDev. You should have the folder C:\GameDev\cegui.
  3. Add C:\GameDev\cegui\bin this Java website.

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. Click Environment

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

  7. Add an environment variable with the "Add..." button.

    NAME=CEGUI_HOME      VALUE=C:\GameDev\cegui
    

  8. Edit the PATH environment variable so it now contains

    NAME=PATH            VALUE=C:\MinGW\bin;C:\GameDev\OgreSDK\bin;C:\GameDev\cegui
    

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

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

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

  12. 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.

    ${CEGUI_HOME}\include\cegui-0
    

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

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

    ${CEGUI_HOME}\bin
    
  15. 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: Fri Feb 27 11:20:53 EST 2015