Hi, I'm excited to try this, but I'm having trouble building MyGUI.Ogre2Platform against Ogre 2.1 rev 8082. Maybe newer revisions of Ogre have broken MyGUI support for Ogre 2.1 since this port was completed?
I'm getting the following build errors for the MyGUI.Ogre2Platform project (in VS 2013 x64):
Code: Select all
Error 14 error C2665: 'Ogre::AllocatedObject<Ogre::ResourceAllocPolicy>::operator new' : none of the 3 overloads could convert all the argument types D:\Programming\CPlusplus\Addon Packages\mygui_ogre2.1_7178dd6\Platforms\Ogre2\Ogre2Platform\src\MyGUI_Ogre2RenderManager.cpp 59 1 MyGUI.Ogre2Platform
Error 15 error C2665: 'Ogre::AllocatedObject<Ogre::SceneObjAllocPolicy>::operator new' : none of the 3 overloads could convert all the argument types D:\Programming\CPlusplus\Addon Packages\mygui_ogre2.1_7178dd6\Platforms\Ogre2\Ogre2Platform\src\MyGUI_Ogre2RenderManager.cpp 79 1 MyGUI.Ogre2Platform
Error 16 error C2665: 'Ogre::AllocatedObject<Ogre::SceneCtlAllocPolicy>::operator new' : none of the 3 overloads could convert all the argument types D:\Programming\CPlusplus\Addon Packages\mygui_ogre2.1_7178dd6\Platforms\Ogre2\Ogre2Platform\src\MyGUI_Ogre2RenderManager.cpp 80 1 MyGUI.Ogre2Platform
Error 17 error C2259: 'MyGUI::Ogre2GuiRenderable' : cannot instantiate abstract class D:\Programming\CPlusplus\Addon Packages\mygui_ogre2.1_7178dd6\Platforms\Ogre2\Ogre2Platform\src\MyGUI_Ogre2RenderManager.cpp 405 1 MyGUI.Ogre2Platform
The first error occurs during these calls on line 59 of MyGUI_Ogre2RenderManager.cpp:
Code: Select all
mPassProvider.reset(new OgreCompositorPassProvider());
The 2nd and 3rd errors are on lines 79-80:
Code: Select all
mQueueMoveable = new Ogre2GuiMoveable(Ogre::Id::generateNewId<Ogre2GuiRenderable>(), &mDummyObjMemMgr, mSceneManager, RENDER_QUEUE_OVERLAY);
mQueueSceneNode = new Ogre::SceneNode(0, 0, &mDummyNodeMemMgr, 0);
And the 4th error is on line 405:
Code: Select all
mRenderables[ID] = new Ogre2GuiRenderable();
I'd be grateful for any help... I'm a beginner with Ogre (my experience is mainly tinkering with the .Net port of Ogre - "Axiom"). Thanks!