Ogre 1.9 template for code::blocks

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
Post Reply
Hobbit
Gnoblar
Posts: 1
Joined: Mon Sep 01, 2014 9:54 am

Ogre 1.9 template for code::blocks

Post by Hobbit »

Hi,

I try to use ogre 1.9 on code::blocks using this page :
http://www.ogre3d.org/tikiwiki/tiki-ind ... CodeBlocks

but it seems the template used is old (for ogre 1.7.2).

So, when i compile i have the tutorial framework following issues:
/Programmation/test/BaseApplication.h:68:85: error: expected class-name before ‘,’ token
class BaseApplication : public Ogre::FrameListener, public Ogre::WindowEventListener, public OIS::KeyListener, public OIS::MouseListener, OgreBites::SdkTrayListener
^
/Programmation/test/BaseApplication.cpp: In constructor ‘BaseApplication::BaseApplication()’:
/Programmation/test/BaseApplication.cpp:29:16: error: ‘BLANK’ is not a member of ‘Ogre::StringUtil’
mResourcesCfg(Ogre::StringUtil::BLANK),
^
/home/carpediem/Programmation/test/BaseApplication.cpp:30:14: error: ‘BLANK’ is not a member of ‘Ogre::StringUtil’
mPluginsCfg(Ogre::StringUtil::BLANK),
How can i solve this problem ?

Thanks
Post Reply