I'm using version Ogre 1.11
The error I get is:
Parsing scripts for resource group Essential
Parsing script SdkTrays.material
Parsing script OgreProfiler.material
Parsing script SdkTrays.fontdef
Parsing script SdkTrays.fontdef
terminate called after throwing an instance of 'Ogre::ItemIdentityException'
what(): ItemIdentityException: Resource with the name SdkTrays/Caption already exists. in ResourceManager::add at /Repo/ogre/OgreMain/src/OgreResourceManager.cpp (line 155)
The following is the code I changed to try and get the code overlays:
Code: Select all
Ogre::OverlaySystem* overlaySystem = new Ogre::OverlaySystem();
Ogre::ResourceGroupManager::getSingleton().initialiseResourceGroup("Essential");
tray_manager_ = new OgreBites::TrayManager("Sensitivity",render_window,this);