stuntrally / stuntrally3

3D racing game with own Track Editor. The main repository with Stunt Rally 3 sources and data. Continuation of Stunt Rally 2.x using Ogre-Next 3.0.
https://stuntrally.tuxfamily.org/
GNU General Public License v3.0
113 stars 7 forks source link

Can't compile mygui-next #3

Open Poomex opened 1 year ago

Poomex commented 1 year ago

Hi, I have successfully compiled Ogre and placed it in the a folder, next to the mygui-next folder. However, when I try to compile mygui-next it complains about the lack of OgreBuildSettings.h in /Ogre/ogre-next/OgreMain/include.

I tried to copy this file from here but unfortunately, it still errors out.

Attached are log files from build with OgreBuildSettings.h from the link and without.

without OgreBuildSettings.h.log with OgreBuildSettings.h from templates.log

cryham commented 1 year ago

Hi, thanks for testing. I have OgreBuildSettings.h inside paths:

/Ogre/ogre-next/build/RelWithDebInfo/include
/Ogre/ogre-next/build/Release/include
/Ogre/ogre-next/build/Debug/include

OgreBuildSettings.h is something I think that gets generated by CMake, it will change when CMake options change. IIRC I copied the /Ogre/ogre-next/build/include/OgreBuildSettings.h file after build or CMake run to each path of above. I also have OgreGL3PlusBuildSettings.h and OgreVulkanBuildSettings.h in all those paths, but I didn't copy them.

Tarek-Hasan commented 10 months ago

Hey @cryham, I'm just curious. Why fork an outdated fork of MyGUI to use in StuntRally, instead of using the original MyGUI project?

cryham commented 10 months ago

Well my fork was based on other fork that worked with OgreNext 2.1 or so, but some years ago. We did manage to get it work for latest OgreNext 3.0 and that's what I needed. I didn't have the time or any real need yet to go into upmerging it to meet latest MyGui from git version. Could be some trouble. IDK, didn't yet try.