MyGUI 3.0 + Ogre 1.7.3

scrawl

11-05-2011 15:01:13

Hi, before we used MyGUI 3.0 + 0gre 1.7.2 which worked like a charm. But after upgrade to ogre 1.7.3 we're getting a segfault when initialising mygui platform:


#0 0x00007fffe30ec5b5 in Ogre::GLRenderSystem::_setRenderTarget(Ogre::RenderTarget*) () from /usr/lib/OGRE/RenderSystem_GL.so
#1 0x00007fffe30e7e73 in Ogre::GLRenderSystem::_setViewport(Ogre::Viewport*)
() from /usr/lib/OGRE/RenderSystem_GL.so
#2 0x00007ffff79ca116 in Ogre::SceneManager::manualRender(Ogre::RenderOperation*, Ogre::Pass*, Ogre::Viewport*, Ogre::Matrix4 const&, Ogre::Matrix4 const&, Ogre::Matrix4 const&, bool) () from /usr/lib/libOgreMain.so.1.7.3
#3 0x00000000006fc1dd in MyGUI::OgreRenderManager::initialise(Ogre::RenderWindow*, Ogre::SceneManager*) ()


So, is MyGUI 3.0 incompatible with the new ogre? Can someone confirm this?

Edit: render system is RenderSystem_GL on arch linux

Altren

11-05-2011 18:17:41

I guess you link with wrong Ogre version or something like this. I use Ogre 1.7.3 and it works fine. I'm using it mostly on windows though.
Also debug your application to see where exactly it crashes.

scrawl

11-05-2011 20:58:15

> Also debug your application to see where exactly it crashes


#0 0x00007fffe30ec5b5 in Ogre::GLRenderSystem::_setRenderTarget(Ogre::RenderTarget*) () from /usr/lib/OGRE/RenderSystem_GL.so
#1 0x00007fffe30e7e73 in Ogre::GLRenderSystem::_setViewport(Ogre::Viewport*)
() from /usr/lib/OGRE/RenderSystem_GL.so
#2 0x00007ffff79ca116 in Ogre::SceneManager::manualRender(Ogre::RenderOperation*, Ogre::Pass*, Ogre::Viewport*, Ogre::Matrix4 const&, Ogre::Matrix4 const&, Ogre::Matrix4 const&, bool) () from /usr/lib/libOgreMain.so.1.7.3
#3 0x00000000006fc1dd in MyGUI::OgreRenderManager::initialise(Ogre::RenderWindow*, Ogre::SceneManager*) ()



> I guess you link with wrong Ogre version or something like this.
Definitely not. I'm using cmake and i did everything, cleaned cache, removed the executables, run cmake .. again, i even tried to make a new build directory.

> I'm using it mostly on windows though.
Did you try GL renderer? or only DirectX