I've been working on an Ogre application for a few years and and I recently ran into an Ogre bug which forced me to update my version to 1.12.4. I therefore through to myself, why not update CEGUI as well? And so my questions begin...
1) It seems that the last stable version of CEGUI was 0.8.7 back in 2016. Is this accurate? Ogre has had a few changes since then which seem to have made it into the 0-8 branch, but have not been ported back. Does this mean that if I want to use 1.12.4, then I should be using the 0-8 branch of CEGUI?
2) Being the impatient person that I am, I downloaded the 0-8 branch source and tried to create the sln file using CMake. Upon hitting configure, I noticed that GLM is marked as requires in CMakeLists.txt.
Code: Select all
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
Could NOT find GLM (missing: GLM_H_PATH)
Call Stack (most recent call first):
C:/Program Files (x86)/CMake/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
cmake/FindGLM.cmake:9 (find_package_handle_standard_args)
CMakeLists.txt:106 (find_package)
Is this a bug? I am using DirectX, so I should'nt need this library. Removing the requirement results in the following error:
Code: Select all
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
GLM_H_PATH (ADVANCED)
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/cegui/src
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/cegui/src
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/cegui/src
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/cegui/src/RendererModules
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/cegui/src/RendererModules
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/cegui/src/RendererModules/Direct3D11
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/cegui/src/RendererModules/Direct3D11
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/cegui/src/RendererModules/Direct3D11
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/cegui/src/XMLParserModules
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/cegui/src/XMLParserModules
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/cegui/src/ImageCodecModules
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/cegui/src/ImageCodecModules
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/cegui/src/WindowRendererSets
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/cegui/src/WindowRendererSets
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/cegui/src/WindowRendererSets/Core
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/cegui/src/WindowRendererSets/Core
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/cegui/src/WindowRendererSets/Core
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/cegui/src/ScriptModules
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/cegui/src/ScriptModules
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/cegui/src/CommonDialogs
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/cegui/src/CommonDialogs
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/cegui/src/CommonDialogs
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/CommonDialogs
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/CommonDialogs
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/CustomShapesDrawing
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/CustomShapesDrawing
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/Demo6
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/Demo6
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/DragDrop
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/DragDrop
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/EditboxValidation
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/EditboxValidation
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/Fonts
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/Fonts
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/FormNavigation
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/FormNavigation
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/GameMenu
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/GameMenu
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/HelloWorld
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/HelloWorld
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/Inventory
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/Inventory
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/LookNFeelOverview
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/LookNFeelOverview
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/MenuNavigation
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/MenuNavigation
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/Minesweeper
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/Minesweeper
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/ModelView
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/ModelView
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/RenderEffects
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/RenderEffects
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/RestaurantGame
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/RestaurantGame
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/SVG
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/SVG
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/ScrollablePane
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/ScrollablePane
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/SimpleGameMenu
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/SimpleGameMenu
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/TabControl
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/TabControl
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/Text
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/Text
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/Tree
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/Tree
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/Widgets
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/Widgets
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/browser
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/browser
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/samples/browser
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/application_templates
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/application_templates
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/datafiles
used as include directory in directory E:/Code/3rd Party/CEGUI/0-8/cegui-master/datafiles
3) If I stick with 0.8.7, then I have to perform a few fixes (mostly in correctly detecting Ogre). Then, the one error I get is when building is in the OgreRenderModule in Texture.cpp:246 where Ogre::Image::Box is now Ogre::Box. Is this a sufficient fix? Looking at the 0-8 branch, other things have been updated in this render module. Should I just copy the changes in the 0-8 branch and put them in my copy of the 0.8.7 branch?
Thanks for any help!