Code: Select all
[ 29%] Building CXX object Common/CMakeFiles/Common.dir/Base/Ogre2/BaseManager.cpp.o
/home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp: In member function ‘bool base::BaseManager::create(int, int)’:
/home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp:121:9: error: ‘InstancingThreadedCullingMethod’ is not a member of ‘Ogre’
121 | Ogre::InstancingThreadedCullingMethod threadedCullingMethod = Ogre::INSTANCING_CULLING_SINGLETHREAD;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp:123:4: error: ‘threadedCullingMethod’ was not declared in this scope
123 | threadedCullingMethod = Ogre::INSTANCING_CULLING_THREADED;
| ^~~~~~~~~~~~~~~~~~~~~
/home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp:123:34: error: ‘INSTANCING_CULLING_THREADED’ is not a member of ‘Ogre’
123 | threadedCullingMethod = Ogre::INSTANCING_CULLING_THREADED;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp:124:95: error: ‘threadedCullingMethod’ was not declared in this scope
124 | mSceneManager = Ogre::Root::getSingleton().createSceneManager(Ogre::ST_GENERIC, numThreads, threadedCullingMethod);
| ^~~~~~~~~~~~~~~~~~~~~
/home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp:144:74: error: no matching function for call to ‘Ogre::ResourceGroupManager::initialiseAllResourceGroups()’
144 | Ogre::ResourceGroupManager::getSingleton().initialiseAllResourceGroups();
| ^
In file included from /home/libolt/usr/ogre-2.2-sdk/include/OGRE/OgreBillboardChain.h:39,
from /home/libolt/usr/ogre-2.2-sdk/include/OGRE/Ogre.h:41,
from /home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.h:10,
from /home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp:8:
/home/libolt/usr/ogre-2.2-sdk/include/OGRE/OgreResourceGroupManager.h:544:14: note: candidate: ‘void Ogre::ResourceGroupManager::initialiseAllResourceGroups(bool)’
544 | void initialiseAllResourceGroups( bool changeLocaleTemporarily );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/libolt/usr/ogre-2.2-sdk/include/OGRE/OgreResourceGroupManager.h:544:14: note: candidate expects 1 argument, 0 provided
/home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp: In member function ‘void base::BaseManager::run()’:
/home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp:167:29: error: ‘class Ogre::RenderSystem’ has no member named ‘_initRenderTargets’
167 | mRoot->getRenderSystem()->_initRenderTargets();
| ^~~~~~~~~~~~~~~~~~
/home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp:174:15: error: invalid use of incomplete type ‘class Ogre::Window’
174 | if (mWindow->isActive() == false)
| ^~
In file included from /home/libolt/usr/ogre-2.2-sdk/include/OGRE/Ogre.h:31,
from /home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.h:10,
from /home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp:8:
/home/libolt/usr/ogre-2.2-sdk/include/OGRE/OgrePrerequisites.h:358:11: note: forward declaration of ‘class Ogre::Window’
358 | class Window;
| ^~~~~~
/home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp:176:12: error: invalid use of incomplete type ‘class Ogre::Window’
176 | mWindow->setActive(true);
| ^~
In file included from /home/libolt/usr/ogre-2.2-sdk/include/OGRE/Ogre.h:31,
from /home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.h:10,
from /home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp:8:
/home/libolt/usr/ogre-2.2-sdk/include/OGRE/OgrePrerequisites.h:358:11: note: forward declaration of ‘class Ogre::Window’
358 | class Window;
| ^~~~~~
/home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp: In member function ‘void base::BaseManager::destroy()’:
/home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp:205:30: error: no matching function for call to ‘Ogre::SceneManager::clearScene()’
205 | mSceneManager->clearScene();
| ^
In file included from /home/libolt/usr/ogre-2.2-sdk/include/OGRE/OgreSceneManagerEnumerator.h:33,
from /home/libolt/usr/ogre-2.2-sdk/include/OGRE/OgreRoot.h:34,
from /home/libolt/usr/ogre-2.2-sdk/include/OGRE/Ogre.h:88,
from /home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.h:10,
from /home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp:8:
/home/libolt/usr/ogre-2.2-sdk/include/OGRE/OgreSceneManager.h:1602:22: note: candidate: ‘virtual void Ogre::SceneManager::clearScene(bool, bool)’
1602 | virtual void clearScene( bool deleteIndestructibleToo, bool reattachCameras=true );
| ^~~~~~~~~~
/home/libolt/usr/ogre-2.2-sdk/include/OGRE/OgreSceneManager.h:1602:22: note: candidate expects 2 arguments, 0 provided
/home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp:213:11: error: invalid use of incomplete type ‘class Ogre::Window’
213 | mWindow->destroy();
| ^~
In file included from /home/libolt/usr/ogre-2.2-sdk/include/OGRE/Ogre.h:31,
from /home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.h:10,
from /home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp:8:
/home/libolt/usr/ogre-2.2-sdk/include/OGRE/OgrePrerequisites.h:358:11: note: forward declaration of ‘class Ogre::Window’
358 | class Window;
| ^~~~~~
/home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp:219:10: error: ‘RenderWindow’ is not a member of ‘Ogre’
219 | Ogre::RenderWindow* window = mRoot->getAutoCreatedWindow();
| ^~~~~~~~~~~~
/home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp:219:24: error: ‘window’ was not declared in this scope; did you mean ‘Window’?
219 | Ogre::RenderWindow* window = mRoot->getAutoCreatedWindow();
| ^~~~~~
| Window
/home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp: In member function ‘virtual void base::BaseManager::createGui()’:
/home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp:266:92: error: no matching function for call to ‘Ogre::CompositorManager2::addWorkspace(Ogre::SceneManager*&, Ogre::Window*&, Ogre::Camera*&, const Ogre::IdString&, bool)’
266 | pCompositorManager->addWorkspace(mSceneManager, mWindow, mCamera, workspaceNameHash, true);
| ^
In file included from /home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp:16:
/home/libolt/usr/ogre-2.2-sdk/include/OGRE/Compositor/OgreCompositorManager2.h:341:30: note: candidate: ‘Ogre::CompositorWorkspace* Ogre::CompositorManager2::addWorkspace(Ogre::SceneManager*, Ogre::TextureGpu*, Ogre::Camera*, Ogre::IdString, bool, int, const UavBufferPackedVec*, const ResourceLayoutMap*, const ResourceAccessMap*, const Ogre::Vector4&, Ogre::uint8, Ogre::uint8)’
341 | CompositorWorkspace* addWorkspace( SceneManager *sceneManager, TextureGpu *finalRenderTarget,
| ^~~~~~~~~~~~
/home/libolt/usr/ogre-2.2-sdk/include/OGRE/Compositor/OgreCompositorManager2.h:341:84: note: no known conversion for argument 2 from ‘Ogre::Window*’ to ‘Ogre::TextureGpu*’
341 | CompositorWorkspace* addWorkspace( SceneManager *sceneManager, TextureGpu *finalRenderTarget,
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/home/libolt/usr/ogre-2.2-sdk/include/OGRE/Compositor/OgreCompositorManager2.h:350:30: note: candidate: ‘Ogre::CompositorWorkspace* Ogre::CompositorManager2::addWorkspace(Ogre::SceneManager*, const CompositorChannelVec&, Ogre::Camera*, Ogre::IdString, bool, int, const UavBufferPackedVec*, const ResourceLayoutMap*, const ResourceAccessMap*, const Ogre::Vector4&, Ogre::uint8, Ogre::uint8)’
350 | CompositorWorkspace* addWorkspace( SceneManager *sceneManager,
| ^~~~~~~~~~~~
/home/libolt/usr/ogre-2.2-sdk/include/OGRE/Compositor/OgreCompositorManager2.h:351:72: note: no known conversion for argument 2 from ‘Ogre::Window*’ to ‘const CompositorChannelVec&’ {aka ‘const std::vector<Ogre::TextureGpu*, Ogre::STLAllocator<Ogre::TextureGpu*, Ogre::CategorisedAllocPolicy<Ogre::MEMCATEGORY_GENERAL> > >&’}
351 | const CompositorChannelVec &externalRenderTargets,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp: At global scope:
/home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp:422:40: error: variable or field ‘windowResized’ declared void
422 | void BaseManager::windowResized(Ogre::RenderWindow* _rw)
| ^~~~~~~~~~~~
/home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp:422:40: error: ‘RenderWindow’ is not a member of ‘Ogre’
/home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp:422:54: error: ‘_rw’ was not declared in this scope
422 | void BaseManager::windowResized(Ogre::RenderWindow* _rw)
| ^~~
/home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp:436:39: error: variable or field ‘windowClosed’ declared void
436 | void BaseManager::windowClosed(Ogre::RenderWindow* _rw)
| ^~~~~~~~~~~~
/home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp:436:39: error: ‘RenderWindow’ is not a member of ‘Ogre’
/home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp:436:53: error: ‘_rw’ was not declared in this scope
436 | void BaseManager::windowClosed(Ogre::RenderWindow* _rw)
| ^~~
/home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp: In member function ‘size_t base::BaseManager::getWindowHandle()’:
/home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp:445:10: error: invalid use of incomplete type ‘class Ogre::Window’
445 | mWindow->getCustomAttribute("WINDOW", &handle);
| ^~
In file included from /home/libolt/usr/ogre-2.2-sdk/include/OGRE/Ogre.h:31,
from /home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.h:10,
from /home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp:8:
/home/libolt/usr/ogre-2.2-sdk/include/OGRE/OgrePrerequisites.h:358:11: note: forward declaration of ‘class Ogre::Window’
358 | class Window;
| ^~~~~~
/home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp: In member function ‘void base::BaseManager::setWindowCaption(const wstring&)’:
/home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp:456:10: error: invalid use of incomplete type ‘class Ogre::Window’
456 | mWindow->getCustomAttribute("XDISPLAY", &xDisplay);
| ^~
In file included from /home/libolt/usr/ogre-2.2-sdk/include/OGRE/Ogre.h:31,
from /home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.h:10,
from /home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp:8:
/home/libolt/usr/ogre-2.2-sdk/include/OGRE/OgrePrerequisites.h:358:11: note: forward declaration of ‘class Ogre::Window’
358 | class Window;
| ^~~~~~
/home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp:457:10: error: invalid use of incomplete type ‘class Ogre::Window’
457 | mWindow->getCustomAttribute("WINDOW", &windowHandle);
| ^~
In file included from /home/libolt/usr/ogre-2.2-sdk/include/OGRE/Ogre.h:31,
from /home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.h:10,
from /home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp:8:
/home/libolt/usr/ogre-2.2-sdk/include/OGRE/OgrePrerequisites.h:358:11: note: forward declaration of ‘class Ogre::Window’
358 | class Window;
| ^~~~~~
/home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp: In member function ‘void base::BaseManager::makeScreenShot()’:
/home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp:619:10: error: invalid use of incomplete type ‘class Ogre::Window’
619 | mWindow->writeContentsToFile(file);
| ^~
In file included from /home/libolt/usr/ogre-2.2-sdk/include/OGRE/Ogre.h:31,
from /home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.h:10,
from /home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp:8:
/home/libolt/usr/ogre-2.2-sdk/include/OGRE/OgrePrerequisites.h:358:11: note: forward declaration of ‘class Ogre::Window’
358 | class Window;
| ^~~~~~
/home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp: In member function ‘MyGUI::MapString base::BaseManager::getStatistic()’:
/home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp:630:30: error: invalid use of incomplete type ‘class Ogre::RenderTarget’
630 | const Ogre::RenderTarget::FrameStats rtStats = mWindow->getStatistics();
| ^~~~~~~~~~
In file included from /home/libolt/usr/ogre-2.2-sdk/include/OGRE/OgreSceneManager.h:49,
from /home/libolt/usr/ogre-2.2-sdk/include/OGRE/OgreSceneManagerEnumerator.h:33,
from /home/libolt/usr/ogre-2.2-sdk/include/OGRE/OgreRoot.h:34,
from /home/libolt/usr/ogre-2.2-sdk/include/OGRE/Ogre.h:88,
from /home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.h:10,
from /home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp:8:
/home/libolt/usr/ogre-2.2-sdk/include/OGRE/Compositor/Pass/OgreCompositorPass.h:41:11: note: forward declaration of ‘class Ogre::RenderTarget’
41 | class RenderTarget;
| ^~~~~~~~~~~~
/home/libolt/builds/mygui-ogre-2.2/Common/Base/Ogre2/BaseManager.cpp:631:50: error: ‘rtStats’ was not declared in this scope; did you mean ‘stats’?
631 | result["triangle"] = MyGUI::utility::toString(rtStats.triangleCount);
| ^~~~~~~
| stats
make[2]: *** [Common/CMakeFiles/Common.dir/build.make:83: Common/CMakeFiles/Common.dir/Base/Ogre2/BaseManager.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:703: Common/CMakeFiles/Common.dir/all] Error 2
make: *** [Makefile:150: all] Error 2