Create a new empty C++ project in Eclipse. Give it a name and hit the "Next" button.
Click the "Advanced Settings..."
Click the "C/C++ Build" drop-down on the left.
Click "Settings"
At the top of the "Tool Settings" tab, select "[All Configurations]" in :Configuration:". You may need to scroll up, to see it.
In the "Tool Settings" tab, click "Includes" under "GCC C++ Compiler"
Click the Add button icon (a document with a green plus sign on the right).
You will need to add the directories where the include files are for OGRE, CEGUI and OIS. On our systems they are
/usr/include/OGRE /usr/local/include/CEGUI /usr/include/OIS
Click "Libraries" under "GCC C++ Linker". In the section "Libraries (-l)" add the following names:
OgreMain OIS OgreProperty OgrePaging OgreRTShaderSystem OgreTerrain CEGUIBase CEGUIOgreRenderer
On our systems the libraries are in locations known to the compiler. If they are somewhere else on yours add those paths in the "Library search path (-L)" area. For example: the file for OgreMain is libOgreMain.so. Find that file and add the path to it in this section.
Click "Ok".
Click "Finish".
Create a src directory inside your project directory.
Copy the files from /Courses/cs391/base to your src directory.
Copy the files form /Courses/cs391/config to your project directory. You may need to edit the paths in the configuration files for your computer.
In eclipse, right click on Tutorial1 and select "Refresh". You are now ready to edit your OGRE project.