Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cmake won't detect system Mygui on Manjaro Linux #130

Open
MirceaKitsune opened this issue Apr 13, 2023 · 3 comments
Open

Cmake won't detect system Mygui on Manjaro Linux #130

MirceaKitsune opened this issue Apr 13, 2023 · 3 comments

Comments

@MirceaKitsune
Copy link

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.

Screenshot_20230413_181001

@cryham
Copy link
Member

cryham commented Apr 13, 2023

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.

@AnotherFoxGuy
Copy link
Contributor

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

@MirceaKitsune
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants