[Solved] Ogre Renderer and changes to Ogre::SharedPtr
Posted: Mon Jul 15, 2013 18:00
Hello,
Firstly, since this is my first post, thanks for the great library everyone!
The CEGUI development branch won't currently compile against Ogre 1.9.
I've patched my copy as below, which seems to have resolved it.
Firstly, since this is my first post, thanks for the great library everyone!
The CEGUI development branch won't currently compile against Ogre 1.9.
I've patched my copy as below, which seems to have resolved it.
Code: Select all
diff -r 018eeb3d6879 cegui/include/CEGUI/RendererModules/Ogre/Renderer.h
--- a/cegui/include/CEGUI/RendererModules/Ogre/Renderer.h Sun Jul 14 10:29:22 2013 +0100
+++ b/cegui/include/CEGUI/RendererModules/Ogre/Renderer.h Mon Jul 15 18:58:19 2013 +0100
@@ -54,7 +54,9 @@
class Root;
class RenderSystem;
class RenderTarget;
-class TexturePtr;
+class Texture;
+template<class T> class SharedPtr;
+typedef SharedPtr<Texture> TexturePtr;
class Matrix4;
}
diff -r 018eeb3d6879 cegui/src/ScriptModules/Python/bindings/generators/include/python_CEGUIOgreRenderer.h
--- a/cegui/src/ScriptModules/Python/bindings/generators/include/python_CEGUIOgreRenderer.h Sun Jul 14 10:29:22 2013 +0100
+++ b/cegui/src/ScriptModules/Python/bindings/generators/include/python_CEGUIOgreRenderer.h Mon Jul 15 18:58:19 2013 +0100
@@ -11,7 +11,9 @@
namespace Ogre
{
class RenderTarget {};
- class TexturePtr {};
+ class Texture {};
+ template<class T> class SharedPtr {};
+ typedef SharedPtr<Texture> TexturePtr;
class Matrix4 {};
}