Hi there. I was trying to build your PagingLandScape2 demo to check out your code, but I can't seem to get it to compile. I'm wondering what version of Ogre you're building against? I tried checking out the Hastur branch (which I believe is the same as the 0.15 stable release), but I get the following:
Code: Select all
fatal error C1083: Cannot open include file: 'OgrePanelOverlayElement.h': No such file or directory
I tried checking out the head from cvs, but then I get this:
Code: Select all
c:\code\sandbox\ogrenew\Samples\Common\include\ExampleFrameListener.h(83): error C3861: 'guiWorst': identifier not found, even with argument-dependent lookup
c:\code\sandbox\ogrenew\Samples\Common\include\ExampleFrameListener.h(105): error C2039: 'createCursorOverlay' : is not a member of 'Ogre::OverlayManager'
c:\code\sandbox\ogrenew\OgreMain\include\OgreOverlayManager.h(38) : see declaration of 'Ogre::OverlayManager'
c:\code\sandbox\ogrenew\Samples\Common\include\ExampleFrameListener.h(72): error C2039: 'getGuiElement' : is not a member of 'Ogre::GuiManager'
c:\code\sandbox\ogrenew\OgreMain\include\OgreGuiManager.h(40) : see declaration of 'Ogre::GuiManager'
c:\code\sandbox\ogrenew\Samples\Common\include\ExampleFrameListener.h(73): error C2039: 'getGuiElement' : is not a member of 'Ogre::GuiManager'
c:\code\sandbox\ogrenew\OgreMain\include\OgreGuiManager.h(40) : see declaration of 'Ogre::GuiManager'
c:\code\sandbox\ogrenew\Samples\Common\include\ExampleFrameListener.h(74): error C2039: 'getGuiElement' : is not a member of 'Ogre::GuiManager'
c:\code\sandbox\ogrenew\OgreMain\include\OgreGuiManager.h(40) : see declaration of 'Ogre::GuiManager'
c:\code\sandbox\ogrenew\Samples\Common\include\ExampleFrameListener.h(75): error C2039: 'getGuiElement' : is not a member of 'Ogre::GuiManager'
c:\code\sandbox\ogrenew\OgreMain\include\OgreGuiManager.h(40) : see declaration of 'Ogre::GuiManager'
c:\code\sandbox\ogrenew\Samples\Common\include\ExampleFrameListener.h(86): error C2039: 'getGuiElement' : is not a member of 'Ogre::GuiManager'
c:\code\sandbox\ogrenew\OgreMain\include\OgreGuiManager.h(40) : see declaration of 'Ogre::GuiManager'
c:\code\sandbox\ogrenew\Samples\Common\include\ExampleFrameListener.h(89): error C2039: 'getGuiElement' : is not a member of 'Ogre::GuiManager'
c:\code\sandbox\ogrenew\OgreMain\include\OgreGuiManager.h(40) : see declaration of 'Ogre::GuiManager'
c:\code\sandbox\ogrenew\Samples\Common\include\ExampleFrameListener.h(72): error C2065: 'guiAvg' : undeclared identifier
c:\code\sandbox\ogrenew\Samples\Common\include\ExampleFrameListener.h(74): error C2065: 'guiBest' : undeclared identifier
c:\code\sandbox\ogrenew\Samples\Common\include\ExampleFrameListener.h(73): error C2065: 'guiCurr' : undeclared identifier
c:\code\sandbox\ogrenew\Samples\Common\include\ExampleFrameListener.h(89): error C2065: 'guiDbg' : undeclared identifier
c:\code\sandbox\ogrenew\Samples\Common\include\ExampleFrameListener.h(72): error C2065: 'GuiElement' : undeclared identifier
c:\code\sandbox\ogrenew\Samples\Common\include\ExampleFrameListener.h(86): error C2065: 'guiTris' : undeclared identifier
c:\code\sandbox\ogrenew\Samples\Common\include\ExampleFrameListener.h(75): error C2065: 'guiWorst' : undeclared identifier
c:\code\sandbox\ogrenew\Samples\Common\include\ExampleFrameListener.h(79): error C2227: left of '->setCaption' must point to class/struct/union
type is ''unknown-type''
c:\code\sandbox\ogrenew\Samples\Common\include\ExampleFrameListener.h(80): error C2227: left of '->setCaption' must point to class/struct/union
type is ''unknown-type''
c:\code\sandbox\ogrenew\Samples\Common\include\ExampleFrameListener.h(81): error C2227: left of '->setCaption' must point to class/struct/union
type is ''unknown-type''
c:\code\sandbox\ogrenew\Samples\Common\include\ExampleFrameListener.h(83): error C2227: left of '->setCaption' must point to class/struct/union
type is ''unknown-type''
c:\code\sandbox\ogrenew\Samples\Common\include\ExampleFrameListener.h(87): error C2227: left of '->setCaption' must point to class/struct/union
type is ''unknown-type''
c:\code\sandbox\ogrenew\Samples\Common\include\ExampleFrameListener.h(90): error C2227: left of '->setCaption' must point to class/struct/union
type is ''unknown-type''
c:\code\sandbox\ogrenew\Samples\Common\include\ExampleFrameListener.h(79): error C3861: 'guiAvg': identifier not found, even with argument-dependent lookup
c:\code\sandbox\ogrenew\Samples\Common\include\ExampleFrameListener.h(81): error C3861: 'guiBest': identifier not found, even with argument-dependent lookup
c:\code\sandbox\ogrenew\Samples\Common\include\ExampleFrameListener.h(80): error C3861: 'guiCurr': identifier not found, even with argument-dependent lookup
c:\code\sandbox\ogrenew\Samples\Common\include\ExampleFrameListener.h(90): error C3861: 'guiDbg': identifier not found, even with argument-dependent lookup
c:\code\sandbox\ogrenew\Samples\Common\include\ExampleFrameListener.h(73): error C3861: 'GuiElement': identifier not found, even with argument-dependent lookup
c:\code\sandbox\ogrenew\Samples\Common\include\ExampleFrameListener.h(74): error C3861: 'GuiElement': identifier not found, even with argument-dependent lookup
c:\code\sandbox\ogrenew\Samples\Common\include\ExampleFrameListener.h(75): error C3861: 'GuiElement': identifier not found, even with argument-dependent lookup
c:\code\sandbox\ogrenew\Samples\Common\include\ExampleFrameListener.h(86): error C3861: 'GuiElement': identifier not found, even with argument-dependent lookup
c:\code\sandbox\ogrenew\Samples\Common\include\ExampleFrameListener.h(89): error C3861: 'GuiElement': identifier not found, even with argument-dependent lookup
c:\code\sandbox\ogrenew\Samples\Common\include\ExampleFrameListener.h(87): error C3861: 'guiTris': identifier not found, even with argument-dependent lookup
Of course, I get those errors from the head when building any of the demos, so I assume something is going on right now to make the cvs head unusable.
I'm building in Windows XP with Visual Studio .NET 2003, in case that's important.
Paul