Unable to build on Ubuntu Impish

Unable to build on Ubuntu Impish

Postby xtradeb » 05 Apr 2022, 07:05


I'm unable to build StuntRally 2.6.2 on Ubuntu Impish (21.10): gcc-11.

{l Code}: {l Select All Code}
/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)
| ^~~~~~~~

Can anyone help?

This issue is also reported here: https://github.com/stuntrally/stuntrally/issues/49 . You can find the full build log there: build_log.txt.

Thank you!
Jhonny Oliveira
Posts: 4
Joined: 06 Feb 2021, 23:02

Re: Unable to build on Ubuntu Impish

Postby CryHam » 23 Apr 2022, 19:55

Replied on github. But no idea how to fix.
User avatar
SR Moderator
Posts: 1047
Joined: 25 Nov 2012, 08:40

Who is online

Users browsing this forum: No registered users and 1 guest