Thanks for that explanations
That error actually came form OpenGL, because I forced make to use GLVND with a policy change that caused the problem. I removed that and got the "freeorion" file.
Now I successfully compiled freeorion on my laptop
But today I tried it on my desktop machine. It compiled without errors and I got the "freeorion" file beside all other files. I can play the game as usual. The only BIG problem is, I can't load savegames. Actually I can load them but the universe is empty. No player inside, not the human player nor any AI players.
While compiling I got strange messages, but no errors. Those read like this:
Code: Select all
[ 92%] Building CXX object CMakeFiles/freeorion.dir/UI/PopulationPanel.cpp.o
In Datei, eingebunden von /home/peter/Hobby/Spiele/FreeOrion/build/freeorion/UI/CUISpin.h:8,
von /home/peter/Hobby/Spiele/FreeOrion/build/freeorion/UI/OptionsWnd.cpp:10:
/home/peter/Hobby/Spiele/FreeOrion/build/freeorion/GG/GG/Spin.h: In Instanziierung von »void GG::Spin<T>::CompleteConstruction() [mit T = int]«:
/home/peter/Hobby/Spiele/FreeOrion/build/freeorion/UI/CUISpin.h:33:42: erfordert durch »void CUISpin<T>::CompleteConstruction() [mit T = int]«
/home/peter/Hobby/Spiele/FreeOrion/build/freeorion/GG/GG/Wnd.h:363:34: erfordert durch »static std::shared_ptr<_Tp> GG::Wnd::Create(Args&& ...) [mit T = CUISpin<int>; Args = {int&, int, const int&, const int&, bool}]«
/home/peter/Hobby/Spiele/FreeOrion/build/freeorion/UI/OptionsWnd.cpp:940:110: von hier erfordert
/home/peter/Hobby/Spiele/FreeOrion/build/freeorion/GG/GG/Spin.h:186:17: Warnung: Variable »style« wird nicht verwendet [-Wunused-variable]
186 | const auto& style = GetStyleFactory();
| ^~~~~
/home/peter/Hobby/Spiele/FreeOrion/build/freeorion/GG/GG/Spin.h: In Instanziierung von »void GG::Spin<T>::CompleteConstruction() [mit T = double]«:
/home/peter/Hobby/Spiele/FreeOrion/build/freeorion/UI/CUISpin.h:33:42: erfordert durch »void CUISpin<T>::CompleteConstruction() [mit T = double]«
/home/peter/Hobby/Spiele/FreeOrion/build/freeorion/GG/GG/Wnd.h:363:34: erfordert durch »static std::shared_ptr<_Tp> GG::Wnd::Create(Args&& ...) [mit T = CUISpin<double>; Args = {double&, int, const double&, const double&, bool}]«
/home/peter/Hobby/Spiele/FreeOrion/build/freeorion/UI/OptionsWnd.cpp:977:113: von hier erfordert
/home/peter/Hobby/Spiele/FreeOrion/build/freeorion/GG/GG/Spin.h:186:17: Warnung: Variable »style« wird nicht verwendet [-Wunused-variable]
/home/peter/Hobby/Spiele/FreeOrion/build/freeorion/GG/GG/Spin.h: In Instanziierung von »void GG::Spin<T>::ValueUpdated(const string&) [mit T = int; std::string = std::__cxx11::basic_string<char>]«:
/home/peter/Hobby/Spiele/FreeOrion/build/freeorion/GG/GG/Spin.h:433:51: erfordert durch »void GG::Spin<T>::ConnectSignals() [mit T = int]«
/home/peter/Hobby/Spiele/FreeOrion/build/freeorion/GG/GG/Spin.h:193:5: erfordert durch »void GG::Spin<T>::CompleteConstruction() [mit T = int]«
/home/peter/Hobby/Spiele/FreeOrion/build/freeorion/UI/CUISpin.h:33:42: erfordert durch »void CUISpin<T>::CompleteConstruction() [mit T = int]«
/home/peter/Hobby/Spiele/FreeOrion/build/freeorion/GG/GG/Wnd.h:363:34: erfordert durch »static std::shared_ptr<_Tp> GG::Wnd::Create(Args&& ...) [mit T = CUISpin<int>; Args = {int&, int, const int&, const int&, bool}]«
/home/peter/Hobby/Spiele/FreeOrion/build/freeorion/UI/OptionsWnd.cpp:940:110: von hier erfordert
/home/peter/Hobby/Spiele/FreeOrion/build/freeorion/GG/GG/Spin.h:444:21: Warnung: polymorpher Typ »class boost::bad_lexical_cast« wird per Wertzuweisung gefangen [-Wcatch-value=]
444 | } catch (boost::bad_lexical_cast) {
| ^~~~~~~~~~~~~~~~
/home/peter/Hobby/Spiele/FreeOrion/build/freeorion/GG/GG/Spin.h: In Instanziierung von »void GG::Spin<T>::ValueUpdated(const string&) [mit T = double; std::string = std::__cxx11::basic_string<char>]«:
/home/peter/Hobby/Spiele/FreeOrion/build/freeorion/GG/GG/Spin.h:433:51: erfordert durch »void GG::Spin<T>::ConnectSignals() [mit T = double]«
/home/peter/Hobby/Spiele/FreeOrion/build/freeorion/GG/GG/Spin.h:193:5: erfordert durch »void GG::Spin<T>::CompleteConstruction() [mit T = double]«
/home/peter/Hobby/Spiele/FreeOrion/build/freeorion/UI/CUISpin.h:33:42: erfordert durch »void CUISpin<T>::CompleteConstruction() [mit T = double]«
/home/peter/Hobby/Spiele/FreeOrion/build/freeorion/GG/GG/Wnd.h:363:34: erfordert durch »static std::shared_ptr<_Tp> GG::Wnd::Create(Args&& ...) [mit T = CUISpin<double>; Args = {double&, int, const double&, const double&, bool}]«
/home/peter/Hobby/Spiele/FreeOrion/build/freeorion/UI/OptionsWnd.cpp:977:113: von hier erfordert
/home/peter/Hobby/Spiele/FreeOrion/build/freeorion/GG/GG/Spin.h:444:21: Warnung: polymorpher Typ »class boost::bad_lexical_cast« wird per Wertzuweisung gefangen [-Wcatch-value=]
[ 92%] Building CXX object CMakeFiles/freeorion.dir/UI/ProductionWnd.cpp.o
I wonder because both machines run with fedora32 with kde and the same packages installed. If you need more information I gladly will provide them