stuntrally
stuntrally copied to clipboard
Cmake won't detect system Mygui on Manjaro Linux
On Manjaro Linux cmake fails to generate a config on latest Git master: It complains that Mygui isn't available, although the system package for it is installed (3.4.1) and its file list indicates everything should be where Cmake expects it. Obviously I use SR_FORCE_SYSTEM_DEPENDENCIES
and everything else (including OGRE) is detected accordingly. Is the Mygui version in Manjaro not supported, or is this an issue in Cmake... can the build setup be fixed to resolve this? Thanks.
I'm not very familiar with CMake scripts, but it probably depends on what you'd like to do.
- If just build SR yourself and fix this, if so then I'd probably try entering those paths in CMake by hand so that FindMyGUI.cmake (possibly before that line 60) finds MyGUI libs, since it found its include_dir already. But IDK what exactly to add where.
- Or if you want you could report this issue on MyGUI .
- Maybe there is a 3rd way, did you use Conan to build SR? I'm guessing not, maybe if you tried installing Conan, it would go other way for getting MyGui by conan and build SR? I'm not really familiar with Conan scripts.
The issue is that the MyGUI package has been built for OpenGL, and doesn't contain the OGRE library To build stuntrally you need MyGUI which has been built with the OGRE render system, for example this one: https://aur.archlinux.org/packages/mygui-git
The issue is that the MyGUI package has been built for OpenGL, and doesn't contain the OGRE library To build stuntrally you need MyGUI which has been built with the OGRE render system, for example this one: https://aur.archlinux.org/packages/mygui-git
Ah, that makes sense... I saw something about Mygui related to Ogre. Building the dependencies separately as well is a bit more complicated so I wanted to avoid it, if needed I'll look into that. Would be useful if there was an appimage as well for running SR on Linux, at the moment there's only Flatpak but I wanted to avoid installing system wide.