opendungeons transistion to Ogre 1 12 11

Problems building or running the engine, queries about how to use features etc.
Post Reply
User avatar
paul424
Gnome
Posts: 314
Joined: Thu May 24, 2012 7:16 pm
x 13

opendungeons transistion to Ogre 1 12 11

Post by paul424 »

Ogre Version: :1 12 11:
Operating System: :OpenSuse Leap 15.2:
Render System: :GLSL3Plus:

I just moved experimentally to : :1 12 11:, but the Opendungeons immedietly quits, the problem seems to be calling class method addRenderQueueListener

Code: Select all

    mSceneManager->addRenderQueueListener(overlaySystem);
Is there something essential what changed in addRenderQueueListener, Ogre::OverlaySystem , or Ogre's Render Queue's ? The changelog doesn't say anything ....
User avatar
paul424
Gnome
Posts: 314
Joined: Thu May 24, 2012 7:16 pm
x 13

Re: opendungeons transistion to Ogre 1 12 11

Post by paul424 »

Here's an application call stack , throwing an exception :

Code: Select all

#0  0x00007ffff3af1b72 in __cxa_throw () from /usr/lib64/libstdc++.so.6
#1  0x00007ffff4705fc4 in Ogre::ExceptionFactory::_throwException (line=151, 
    file=0x7ffff47f92f0 "/home/tom/Downloads/ogre-1.12.11/Components/Overlay/src/OgreFont.cpp", src="Font::getGlyphInfo", 
    desc="Code point 9 not found in font MedievalSharp", number=4, code=Ogre::Exception::ERR_DUPLICATE_ITEM)
    at /home/tom/Downloads/ogre-1.12.11/OgreMain/include/OgreException.h:266
#2  Ogre::ExceptionFactory::throwException (line=151, file=0x7ffff47f92f0 "/home/tom/Downloads/ogre-1.12.11/Components/Overlay/src/OgreFont.cpp", 
    src="Font::getGlyphInfo", desc="Code point 9 not found in font MedievalSharp", code=Ogre::Exception::ERR_DUPLICATE_ITEM)
    at /home/tom/Downloads/ogre-1.12.11/OgreMain/include/OgreException.h:281
#3  Ogre::Font::getGlyphInfo (this=<optimized out>, id=id@entry=9) at /home/tom/Downloads/ogre-1.12.11/Components/Overlay/src/OgreFont.cpp:149
#4  0x00007ffff471d617 in Ogre::TextAreaOverlayElement::updatePositionGeometry (this=0x6a92ed0)
    at /home/tom/Downloads/ogre-1.12.11/Components/Overlay/src/OgreTextAreaOverlayElement.cpp:276
#5  0x00007ffff470db51 in Ogre::OverlayElement::_update (this=this@entry=0x6a92ed0)
    at /home/tom/Downloads/ogre-1.12.11/Components/Overlay/src/OgreOverlayElement.cpp:431
#6  0x00007ffff4721aa0 in Ogre::TextAreaOverlayElement::_update (this=0x6a92ed0)
    at /home/tom/Downloads/ogre-1.12.11/Components/Overlay/src/OgreTextAreaOverlayElement.cpp:637
#7  0x00007ffff470c7fa in Ogre::OverlayContainer::_update (this=0x5e71be0)
    at /home/tom/Downloads/ogre-1.12.11/Components/Overlay/src/OgreOverlayContainer.cpp:223
#8  0x00007ffff470ba6a in Ogre::Overlay::_findVisibleObjects (this=0x7662bc0, cam=0x7a54790, queue=0x1551040, vp=<optimized out>)
    at /home/tom/Downloads/ogre-1.12.11/Components/Overlay/src/OgreOverlay.cpp:306
#9  0x00007ffff4710f13 in Ogre::OverlayManager::_queueOverlaysForRendering (this=<optimized out>, cam=0x7a54790, pQueue=0x1551040, vp=0x7a54590)
    at /home/tom/Downloads/ogre-1.12.11/Components/Overlay/src/OgreOverlayManager.cpp:248
#10 0x00007ffff40e0be6 in Ogre::SceneManager::fireRenderQueueStarted (this=<optimized out>, id=100 'd', invocation="")
    at /home/tom/Downloads/ogre-1.12.11/OgreMain/src/OgreSceneManager.cpp:2629
#11 0x00007ffff40e254e in Ogre::SceneManager::renderVisibleObjectsDefaultSequence (this=this@entry=0x7a2b3f0)
    at /home/tom/Downloads/ogre-1.12.11/OgreMain/src/OgreSceneManager.cpp:1693
#12 0x00007ffff40e2587 in Ogre::SceneManager::_renderVisibleObjects (this=this@entry=0x7a2b3f0)
    at /home/tom/Downloads/ogre-1.12.11/OgreMain/src/OgreSceneManager.cpp:1619
#13 0x00007ffff40e88c6 in Ogre::SceneManager::_renderScene (this=0x7a2b3f0, camera=0x7a54790, vp=<optimized out>, includeOverlays=<optimized out>)
    at /home/tom/Downloads/ogre-1.12.11/OgreMain/src/OgreSceneManager.cpp:1383
#14 0x00007ffff3f671f7 in Ogre::Camera::_renderScene (this=0x7a54790, vp=vp@entry=0x7a54590, includeOverlays=<optimized out>)
    at /home/tom/Downloads/ogre-1.12.11/OgreMain/src/OgreCamera.cpp:496
#15 0x00007ffff41a5565 in Ogre::Viewport::update (this=this@entry=0x7a54590) at /home/tom/Downloads/ogre-1.12.11/OgreMain/src/OgreViewport.cpp:218
#16 0x00007ffff40ba49e in Ogre::RenderTarget::_updateViewport (this=0xf5bc70, viewport=0x7a54590, updateStatistics=<optimized out>)
    at /home/tom/Downloads/ogre-1.12.11/OgreMain/src/OgreRenderTarget.cpp:203
#17 0x00007ffff40ba45b in Ogre::RenderTarget::_updateAutoUpdatedViewports (this=0xf5bc70, updateStatistics=true)
    at /home/tom/Downloads/ogre-1.12.11/OgreMain/src/OgreRenderTarget.cpp:181
--Type <RET> for more, q to quit, c to continue without paging--
#18 0x00007ffff40ba28e in Ogre::RenderTarget::updateImpl (this=0xf5bc70) at /home/tom/Downloads/ogre-1.12.11/OgreMain/src/OgreRenderTarget.cpp:158
#19 0x00007ffff40ba914 in Ogre::RenderTarget::update (this=0xf5bc70, swap=<optimized out>)
    at /home/tom/Downloads/ogre-1.12.11/OgreMain/src/OgreRenderTarget.cpp:565
#20 0x00007ffff40a033f in Ogre::RenderSystem::_updateAllRenderTargets (this=0xdcf5b0, swapBuffers=false)
    at /home/tom/Downloads/ogre-1.12.11/OgreMain/src/OgreRenderSystem.cpp:265
#21 0x00007ffff40d87f6 in Ogre::Root::_updateAllRenderTargets (this=this@entry=0x7fffffffcd20)
    at /home/tom/Downloads/ogre-1.12.11/OgreMain/src/OgreRoot.cpp:1295

#22 0x00007ffff40d88b0 in Ogre::Root::renderOneFrame (this=0x7fffffffcd20) at /home/tom/Downloads/ogre-1.12.11/OgreMain/src/OgreRoot.cpp:867
#23 0x00007ffff40d88f0 in Ogre::Root::startRendering (this=0x7fffffffcd20) at /home/tom/Downloads/ogre-1.12.11/OgreMain/src/OgreRoot.cpp:857
#24 0x00000000009e99e7 in ODApplication::startClient (this=0x7fffffffdc00) at /home/tom/Opendungeons/OpenDungeons/source/ODApplication.cpp:272
#25 0x00000000009e8c12 in ODApplication::startGame (this=0x7fffffffdc00, options=...) at /home/tom/Opendungeons/OpenDungeons/source/ODApplication.cpp:80
#26 0x00000000009eb0bb in main (argc=1, argv=0x7fffffffde88) at /home/tom/Opendungeons/OpenDungeons/source/main.cpp:87
In short, what does

"Code point 9 not found in font MedievalSharp" mean ?
User avatar
paul424
Gnome
Posts: 314
Joined: Thu May 24, 2012 7:16 pm
x 13

Re: opendungeons transistion to Ogre 1 12 11

Post by paul424 »

Her;s my ogrefonts.fontdef

Code: Select all

font MedievalSharp
{
    type        truetype
    source      MedievalSharp-Bold.ttf
    size        10
    resolution  72
    code_points	33-126 
}
Hmm I didn't even requested the code point 9 to be generated in the first place....
Post Reply