Page 1 of 1

How to setup ogre for codeblocks?

Posted: Wed Nov 28, 2018 10:28 am
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.

Re: How to setup ogre for codeblocks?

Posted: Wed Nov 28, 2018 11:54 am
by paroj

Re: How to setup ogre for codeblocks?

Posted: Wed Nov 28, 2018 10:32 pm
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.