Problems and solutions for installing or running FreeOrion, including discussion of bugs if needed before posting a bug report on GitHub. For problems building from source, post in Compile.
While building V0.4.10.1 I got the following from CMake:
CMake Warning (dev) at /usr/share/cmake-3.13/Modules/FindOpenGL.cmake:270 (message):
Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
available. Run "cmake --help-policy CMP0072" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for
compatibility with CMake 3.10 and below the legacy GL library will be used.
With "cmake_policy (SET CMP0072 OLD)" it compiled, but the this setting is said to be depricated.
With "cmake_policy (SET CMP0072 NEW)" I got:
[ 62%] Linking CXX executable freeorion
/usr/bin/ld: CMakeFiles/freeorion.dir/UI/SidePanel.cpp.o: undefined reference to symbol 'glMaterialfv'
/usr/bin/ld: //lib/x86_64-linux-gnu/libGL.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status