MyGUI / mygui

Fast, flexible and simple GUI.
http://mygui.info/
Other
713 stars 205 forks source link

mygui 3.4.2 not compiling with ogre 14.0.0 #265

Closed AngryPenguinPL closed 1 year ago

AngryPenguinPL commented 1 year ago

When trying compiling mygui 3.4.2 with newly released ogre 14.0.0 I see this build errors:


 /builddir/build/BUILD/mygui-MyGUI3.4.2/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:251:4: error: no type named 'OrientationMode' in namespace 'Ogre'; did you mean 'Ogre::QueuedRenderableCollection::OrganisationMode'?
DEBUG util.py:442:                          Ogre::OrientationMode orient = port->getOrientationMode();
DEBUG util.py:442:                          ^~~~~~~~~~~~~~~~~~~~~
DEBUG util.py:442:                          Ogre::QueuedRenderableCollection::OrganisationMode
DEBUG util.py:442:  /usr/include/OGRE/OgreRenderQueueSortingGrouping.h:112:14: note: 'Ogre::QueuedRenderableCollection::OrganisationMode' declared here
DEBUG util.py:442:          enum OrganisationMode
DEBUG util.py:442:               ^
DEBUG util.py:442:  /builddir/build/BUILD/mygui-MyGUI3.4.2/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:251:41: error: no member named 'getOrientationMode' in 'Ogre::Viewport'
DEBUG util.py:442:                          Ogre::OrientationMode orient = port->getOrientationMode();
DEBUG util.py:442:                                                         ~~~~  ^
DEBUG util.py:442:  /builddir/build/BUILD/mygui-MyGUI3.4.2/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:252:24: error: no member named 'OR_DEGREE_90' in namespace 'Ogre'
DEBUG util.py:442:                          if (orient == Ogre::OR_DEGREE_90 || orient == Ogre::OR_DEGREE_270)
DEBUG util.py:442:                                        ~~~~~~^
DEBUG util.py:442:  /builddir/build/BUILD/mygui-MyGUI3.4.2/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:252:56: error: no member named 'OR_DEGREE_270' in namespace 'Ogre'
DEBUG util.py:442:                          if (orient == Ogre::OR_DEGREE_90 || orient == Ogre::OR_DEGREE_270)
DEBUG util.py:442:                                                                        ~~~~~~^
DEBUG util.py:442:  4 errors generated.
DEBUG util.py:442:  make[2]: *** [Platforms/Ogre/OgrePlatform/CMakeFiles/MyGUI.OgrePlatform.dir/build.make:121: Platforms/Ogre/OgrePlatform/CMakeFiles/MyGUI.OgrePlatform.dir/src/MyGUI_OgreRenderManager.cpp.o] Error 1
DEBUG util.py:444:  make[2]: Leaving directory '/builddir/build/BUILD/mygui-MyGUI3.4.2/build'
DEBUG util.py:442:  make[1]: *** [CMakeFiles/Makefile2:550: Platforms/Ogre/OgrePlatform/CMakeFiles/MyGUI.OgrePlatform.dir/all] Error 2
DEBUG util.py:442:  make: *** [Makefile:139: all] Error 2

Full build log: https://file-store.openmandriva.org/api/v1/file_stores/08cc59c4d611e969917157a6cb8b046b17083c0e.log?show=true

No matter if I use Clang 16.0.6 or GCC 13.1