-
-
Notifications
You must be signed in to change notification settings - Fork 119
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
Unable to build on Ubuntu Impish+ #49
Comments
Have a similar problem also on Ubuntu 21.10 following the compile guide:
|
Those register messages are just warnings. |
I attempted the build with: export CC=gcc-10 and even with version 9. Unfortunately, it always end in error: error: incomplete type ‘Ogre::MeshManager’ used in nested name specifier At this point, I'm guessing this might be related to some dependency package. cmake 3.22.1 |
I did a few more tests and the problem might be related to the fact that libmygui-dev also installs libogre1.12.10 as a dependency. I also attempted, only installing libogre1.12.10 (not libogre-1.9-dev - 1.9.0). The problem persists. I also included "#include <Ogre.h>" in both cases, like you suggested in #50, but it did not help. Btw, I think #50 is a duplicate of this issue. |
I can confirm this on cb9adab on Fedora 36 (GCC 12.1.1). I get the same error message as OP. Compiling with Clang 14.0.0 works, and the game runs fine:
|
Hi! I was able to build the latest code (up to dc92748) with libogre 1.12.10 and this patch Unfortunately, now I'm facing another issue: `DataManager successfully initialized
Dear @cryham, any ideas? Thank you! |
Hi |
Thank you @cryham! I guess I will wait for the merge to happen, otherwise this custom release becomes a bit to complex. |
Dear @cryham , I managed to build the game with the latest commit (a9c3cce) without any patches for Ubuntu Jammy (22.04) with OGRE 1.12. The game runs with some visual glitches, but is playable. However, when I try to exit, it crashes. Please find here the gdb log
Any ideas? Thank you! |
Yeah, SR is now unstable on master, due to this freaking issue #83, which I hate already since a month.
It is a similar issue to that #83, just for car resources, not for impostors. |
For a moment I thought it could be related to not having the latest tracks. Bummer! |
Hi!
I'm unable to build StuntRally 2.6.2 on Ubuntu Impish (21.10): gcc-11.
/usr/include/OGRE/OgreMemorySTLAllocator.h:130:44: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
(...)
/usr/include/c++/11/bits/functional_hash.h:265:12: error: redefinition of ‘struct std::hash’
265 | struct hash<nullptr_t> : public __hash_base<size_t, nullptr_t>
| ^~~~~~~~~~~~~~~
(...)
/usr/include/c++/11/ostream:250:7: error: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::nullptr_t)’ cannot be overloaded with ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(int)’
250 | operator<<(nullptr_t)
| ^~~~~~~~
You can find the full build log attached: build_log.txt.
Can anyone help?
Thank you!
Jhonny Oliveira
https://xtradeb.net
The text was updated successfully, but these errors were encountered: