Step 1:
Create a new project using the opening window, or using File->New Project. This will load up the application wizard
Step 2:
Click next, then select "Generic / Terminal", next again, and fill in the fields as you see fit. Select either "C++" or "Both C and C++" as your project type, and be sure to make your project and executable target. All the remaining values are up to you.
Step 3:
After you have your base project, go to Project -> Configure Project. Select the Configuration tab. Under this sub-view, select Libraries
You should be presented with a large, empty box, simply paste this code into it:
Code: Select all
PKG_CHECK_MODULES(ogre, [OGRE >= 0.14])
AC_SUBST(ogre_CFLAGS)
AC_SUBST(ogre_LIBS)
Step 4:
Go to Settings -> Compiler and linker options. Select the Options tag, and enter ${ogre_CFLAGS} in Compiler Flags, and ${ogre_LIBS} in Linker Flags.
Step 5:
Go to Build -> Auto Generate . This will reconfigure autoconf to allow for ogre. If you want to use an ExampleApplication, you should simply copy ExampleApplication.h and ExampleFrameListener.h to your project directory, but I don't advise using these unless you are beginning with ogre.
Enjoy!
