MyGUI / mygui

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

The Cmake script does not work with Ogre 1.12 (or probably later) #178

Closed Stuggy closed 4 years ago

Stuggy commented 4 years ago

After reading the brief info here: [http://wiki.ogre3d.org/MyGUI+Compiling] I still can't get cmake to work even after trying to resolve the various configure errors that I get within cmake.

I have Ogre built from source and am trying to correctly provide the paths requested.

I also think that the help tips that appear when you hover over a cmake line could be more clearly stated so you know exactly what directory the script is looking for.

If I can help work this out just let me know what I need to help update the script.

An example of various errors that I get:

Original FindOGRE.cmake found in OGRE_SOURCE_DIR, trying to use it CMake Error at S:/OGRE1.12/BuildAnd/cmake/OGREConfig.cmake:91 (include): include could not find load file:

S:/OGRE1.12/BuildAnd/cmake/OgreTargets.cmake

Call Stack (most recent call first): CMake/Packages/FindOGRE_Old.cmake:47 (FIND_PACKAGE) CMake/Dependencies.cmake:51 (find_package) CMakeLists.txt:187 (include)

CMake Warning (dev) at S:/OGRE1.12/BuildAnd/cmake/OGREConfig.cmake:175 (if): if given arguments:

"TRUE"
Stuggy commented 4 years ago

After researching and posting on the Ogre forums it looks like it might be ok. The key thing is when building Ogre from source to make sure that you also build the install project which creates the sdk folder. I had not seen those instructions anywhere. I already had Ogre built and was using it fine from library directories.