How to setup ogre for codeblocks?

A place for users of OGRE to discuss ideas and experiences of utilitising OGRE in their games / demos / applications.
Post Reply
andreas
Gnoblar
Posts: 7
Joined: Wed Nov 28, 2018 10:15 am

How to setup ogre for codeblocks?

Post by andreas »

I've installed OGRE using the wiki(https://ogrecave.github.io/ogre/api/lat ... -ogre.html).

Now i want to setup a codeblocks project and run an example, but I'm a bit lost. I make a new ogre project in codeblocks end copy-paste the Samples/Tutorials/Bootstrap.cpp in the main.cpp . I get OgreApplicationContext.h not found.

I've found this: https://ogrecave.github.io/ogre/api/1.10/setup.html , but don't know where to paste the cmake configuration lines in codeblocks. I'm working with ubuntu and ogre 1.11.3.
andreas
Gnoblar
Posts: 7
Joined: Wed Nov 28, 2018 10:15 am

Re: How to setup ogre for codeblocks?

Post by andreas »

But where do I find the OgreApplicationContext.h header? I keep getting the error: OgreApplicationContext.h: no such file or directory and i can't find it anywhere. Is it a linker setting I forgot? Please help.
Post Reply