Code Monkey home page Code Monkey logo

blindmindstudios / starruler2-source Goto Github PK

View Code? Open in Web Editor NEW
1.4K 1.4K 243.0 491.8 MB

4X Space Strategy game Star Ruler 2's open source distribution.

Home Page: http://starruler2.com

License: Other

Shell 1.28% AngelScript 0.98% ActionScript 21.66% C++ 22.19% Makefile 0.58% Assembly 0.19% C 45.06% Python 0.81% HTML 6.23% CSS 0.11% M4 0.11% Objective-C 0.47% CMake 0.15% JavaScript 0.18% M 0.02%
c-plus-plus cpp engine engine3d game game-engine star-ruler-2

starruler2-source's People

Contributors

dalolorn avatar db48x avatar devnexen avatar johnnynator avatar kalvindukes avatar kb-1000 avatar l29ah avatar lucas7211 avatar oliviergagnon avatar thyreaper avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

starruler2-source's Issues

Aborted (core dumped) 2

Tried starting the tutorial

`Initializing sound
Initializing window system
Loading engine settings
Initializing OpenGL Engine
Registering mods
Starting 5 threads on 4 processors.
Loading mod(s)
OpenGL vendor 'X.Org', renderer 'AMD RS880 (DRM 2.50.0 / 4.14.57-1-MANJARO, LLVM 6.0.1)'
version '3.0 Mesa 18.1.4'
Loaded in 17.9 seconds
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
Shadow scripts: 640ms load, 2192ms compile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
Client scripts: 947ms load, 3827ms compile
Server scripts: 3524ms load, 4827ms compile
Loaded in 8.4 seconds
libpng warning: iCCP: known incorrect sRGB profile
Finished computing hulls in 9782.92ms
libpng warning: iCCP: known incorrect sRGB profile
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:4265 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-18.1.4/src/gallium/drivers/r600/r600_state_common.c:872 r600_shader_select - Failed to build shader variant (type=1) -12

gcm_sched_early_pass: unscheduled ops:

MEM_SCRATCH WRITE_ACK 15 ES:3 SCRATCH.390
Caught Segfault at 0xbc

Stack trace:
./bin/lin64/StarRuler2.bin(+0x2008a0) [0x55ce8630e8a0]
./bin/lin64/StarRuler2.bin(+0x20093c) [0x55ce8630e93c]
/usr/lib/libpthread.so.0(+0x11a80) [0x7f681014ca80]
/usr/lib/dri/r600_dri.so(+0x1e0240) [0x7f67f05b4240]
/usr/lib/dri/r600_dri.so(+0x1e0a7f) [0x7f67f05b4a7f]
/usr/lib/dri/r600_dri.so(+0x1e1a3c) [0x7f67f05b5a3c]
/usr/lib/dri/r600_dri.so(+0x1e2215) [0x7f67f05b6215]
/usr/lib/dri/r600_dri.so(+0x1e248e) [0x7f67f05b648e]
/usr/lib/dri/r600_dri.so(+0x1dd464) [0x7f67f05b1464]
/usr/lib/dri/r600_dri.so(+0x22e8ae) [0x7f67f06028ae]
/usr/lib/dri/r600_dri.so(+0x1c5126) [0x7f67f0599126]
/usr/lib/dri/r600_dri.so(+0x1c65a5) [0x7f67f059a5a5]
/usr/lib/dri/r600_dri.so(+0x1264d0) [0x7f67f04fa4d0]
/usr/lib/dri/r600_dri.so(+0x5f27e8) [0x7f67f09c67e8]
/usr/lib/dri/r600_dri.so(+0x68a519) [0x7f67f0a5e519]
/usr/lib/dri/r600_dri.so(+0x68aeff) [0x7f67f0a5eeff]
[0x7f66f4a927c9]

Script Exception: (null)
/home/redsquirrel/StarRuler2-Source/scripts/client/nodes/OrbitalNode.as
nodes.OrbitalNode::void OrbitalNodeScript::render(Node&inout) | Line 39 | Col 3
(null)::void renderWorld() | Line 0 | Col 3
tabs.GalaxyTab::void GalaxyTab::render(double) | Line 340 | Col 3
tabs.tabbar::void render(double) | Line 898 | Col 3

Aborted (core dumped)
`

Debug build has visual artifacts when using vs 140 tools (Visual Studio 2015)

Didn't feel like downloading VS 2017 so I decided to retool the project to see if things would break (haven't gone through all the code yet myself) and noticed that while a non-steam release build appears to work correctly, that the debug build has major artifacts as if none of the frame buffers are being cleared.

Curious as to whether this is an issue with the toolchain I used or if it may be a hardware issue I am having with the debug build. More or less I was hoping someone may already have an answer before I go digging into that side of the code since there were other parts of the code I was hoping to refactor first, and don't want to mess with code that would otherwise work if I used the recommended toolchain.

Build fails on Ubuntu 16 (source/glfw/src/libglfw3.a does not exist)

Full compiler output message:

make -f source/linux/Makefile compile
bash source/linux/build.sh 64 release glfw
-- The C compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.11")
-- Using X11 for window creation
-- Using GLX for context creation
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
CMake Error at CMakeLists.txt:203 (message):
The XInput library and headers were not found

-- Configuring incomplete, errors occurred!
See also "/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeOutput.log".
See also "/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeError.log".
make[1]: Entering directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw'
make[1]: *** No rule to make target 'glfw'. Stop.
make[1]: Leaving directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw'
cp: cannot stat 'source/glfw/src/libglfw3.a': No such file or directory
source/linux/Makefile:360: recipe for target 'obj/lin64/libglfw3.a' failed
make: *** [obj/lin64/libglfw3.a] Error 1

Content of CMakeOutput.log

The system is: Linux - 4.4.0-134-generic - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /usr/bin/gcc
Build flags: -m64;-march=athlon64;-mtune=generic;-Ofast;-flto
Id flags:

The output was:
0

Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"

The C compiler identification is GNU, found in "/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/3.5.1/CompilerIdC/a.out"

Determining if the C compiler works passed with the following output:
Change Dir: /media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_f0cab/fast"
make[1]: Entering directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_f0cab.dir/build.make CMakeFiles/cmTC_f0cab.dir/build
make[2]: Entering directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_f0cab.dir/testCCompiler.c.o
/usr/bin/gcc -m64 -march=athlon64 -mtune=generic -Ofast -flto -o CMakeFiles/cmTC_f0cab.dir/testCCompiler.c.o -c /media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_f0cab
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f0cab.dir/link.txt --verbose=1
/usr/bin/gcc -m64 -march=athlon64 -mtune=generic -Ofast -flto CMakeFiles/cmTC_f0cab.dir/testCCompiler.c.o -o cmTC_f0cab -rdynamic
make[2]: Leaving directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
make[1]: Leaving directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'

Detecting C compiler ABI info compiled with the following output:
Change Dir: /media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_b99c2/fast"
make[1]: Entering directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_b99c2.dir/build.make CMakeFiles/cmTC_b99c2.dir/build
make[2]: Entering directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_b99c2.dir/CMakeCCompilerABI.c.o
/usr/bin/gcc -m64 -march=athlon64 -mtune=generic -Ofast -flto -o CMakeFiles/cmTC_b99c2.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.5/Modules/CMakeCCompilerABI.c
Linking C executable cmTC_b99c2
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b99c2.dir/link.txt --verbose=1
/usr/bin/gcc -m64 -march=athlon64 -mtune=generic -Ofast -flto -v CMakeFiles/cmTC_b99c2.dir/CMakeCCompilerABI.c.o -o cmTC_b99c2 -rdynamic
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu116.04.10' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1
16.04.10)
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-m64' '-march=athlon64' '-mtune=generic' '-Ofast' '-flto' '-v' '-o' 'cmTC_b99c2' '-rdynamic'
/usr/lib/gcc/x86_64-linux-gnu/5/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper -plugin-opt=-fresolution=/tmp/ccw7BxnO.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -flto --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTC_b99c2 /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. CMakeFiles/cmTC_b99c2.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/5/crtfastmath.o /usr/lib/gcc/x86_64-linux-gnu/5/crtend.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o
/usr/bin/gcc @/tmp/ccDmoGWc
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu116.04.10' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1
16.04.10)
COLLECT_GCC_OPTIONS='-c' '-fno-math-errno' '-fno-signed-zeros' '-fno-trapping-math' '-fno-trapv' '-fno-openmp' '-fno-openacc' '-march=athlon64' '-mtune=generic' '-Ofast' '-m64' '-march=athlon64' '-mtune=generic' '-Ofast' '-v' '-rdynamic' '-dumpdir' './' '-dumpbase' 'cmTC_b99c2.wpa' '-fltrans-output-list=/tmp/ccnsAmEM.ltrans.out' '-fwpa' '-fresolution=/tmp/ccw7BxnO.res'
/usr/lib/gcc/x86_64-linux-gnu/5/lto1 -quiet -dumpdir ./ -dumpbase cmTC_b99c2.wpa -march=athlon64 -mtune=generic -m64 -march=athlon64 -mtune=generic -auxbase CMakeCCompilerABI.c -Ofast -Ofast -version -fno-math-errno -fno-signed-zeros -fno-trapping-math -fno-trapv -fno-openmp -fno-openacc -fltrans-output-list=/tmp/ccnsAmEM.ltrans.out -fwpa -fresolution=/tmp/ccw7BxnO.res @/tmp/ccRjWLJM
GNU GIMPLE (Ubuntu 5.4.0-6ubuntu116.04.10) version 5.4.0 20160609 (x86_64-linux-gnu)
compiled by GNU C version 5.4.0 20160609, GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU GIMPLE (Ubuntu 5.4.0-6ubuntu1
16.04.10) version 5.4.0 20160609 (x86_64-linux-gnu)
compiled by GNU C version 5.4.0 20160609, GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/../lib/:/lib/../lib/x86_64-linux-gnu/:/lib/../lib/../lib/:/usr/lib/../lib/x86_64-linux-gnu/:/usr/lib/../lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-c' '-fno-math-errno' '-fno-signed-zeros' '-fno-trapping-math' '-fno-trapv' '-fno-openmp' '-fno-openacc' '-march=athlon64' '-mtune=generic' '-Ofast' '-m64' '-march=athlon64' '-mtune=generic' '-Ofast' '-v' '-rdynamic' '-dumpdir' './' '-dumpbase' 'cmTC_b99c2.wpa' '-fltrans-output-list=/tmp/ccnsAmEM.ltrans.out' '-fwpa' '-fresolution=/tmp/ccw7BxnO.res'
/usr/bin/gcc @/tmp/ccLQvKgD
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu116.04.10' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1
16.04.10)
COLLECT_GCC_OPTIONS='-c' '-fno-math-errno' '-fno-signed-zeros' '-fno-trapping-math' '-fno-trapv' '-fno-openmp' '-fno-openacc' '-march=athlon64' '-mtune=generic' '-Ofast' '-m64' '-march=athlon64' '-mtune=generic' '-Ofast' '-v' '-rdynamic' '-dumpdir' './' '-dumpbase' 'cmTC_b99c2.ltrans0' '-fltrans' '-o' '/tmp/ccnsAmEM.ltrans0.ltrans.o'
/usr/lib/gcc/x86_64-linux-gnu/5/lto1 -quiet -dumpdir ./ -dumpbase cmTC_b99c2.ltrans0 -march=athlon64 -mtune=generic -m64 -march=athlon64 -mtune=generic -auxbase-strip /tmp/ccnsAmEM.ltrans0.ltrans.o -Ofast -Ofast -version -fno-math-errno -fno-signed-zeros -fno-trapping-math -fno-trapv -fno-openmp -fno-openacc -fltrans @/tmp/ccE5FNfN -o /tmp/ccfP85zd.s
GNU GIMPLE (Ubuntu 5.4.0-6ubuntu116.04.10) version 5.4.0 20160609 (x86_64-linux-gnu)
compiled by GNU C version 5.4.0 20160609, GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU GIMPLE (Ubuntu 5.4.0-6ubuntu1
16.04.10) version 5.4.0 20160609 (x86_64-linux-gnu)
compiled by GNU C version 5.4.0 20160609, GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
COLLECT_GCC_OPTIONS='-c' '-fno-math-errno' '-fno-signed-zeros' '-fno-trapping-math' '-fno-trapv' '-fno-openmp' '-fno-openacc' '-march=athlon64' '-mtune=generic' '-Ofast' '-m64' '-march=athlon64' '-mtune=generic' '-Ofast' '-v' '-rdynamic' '-dumpdir' './' '-dumpbase' 'cmTC_b99c2.ltrans0' '-fltrans' '-o' '/tmp/ccnsAmEM.ltrans0.ltrans.o'
as -v --64 -o /tmp/ccnsAmEM.ltrans0.ltrans.o /tmp/ccfP85zd.s
GNU assembler version 2.26.1 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.26.1
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/../lib/:/lib/../lib/x86_64-linux-gnu/:/lib/../lib/../lib/:/usr/lib/../lib/x86_64-linux-gnu/:/usr/lib/../lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-c' '-fno-math-errno' '-fno-signed-zeros' '-fno-trapping-math' '-fno-trapv' '-fno-openmp' '-fno-openacc' '-march=athlon64' '-mtune=generic' '-Ofast' '-m64' '-march=athlon64' '-mtune=generic' '-Ofast' '-v' '-rdynamic' '-dumpdir' './' '-dumpbase' 'cmTC_b99c2.ltrans0' '-fltrans' '-o' '/tmp/ccnsAmEM.ltrans0.ltrans.o'
make[2]: Leaving directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
make[1]: Leaving directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'

Parsed C implicit link information from above output:
link line regex: [^( |.[/])(ld|([^/]+-)?ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command:"/usr/bin/make" "cmTC_b99c2/fast"]
ignore line: [make[1]: Entering directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp']
ignore line: [/usr/bin/make -f CMakeFiles/cmTC_b99c2.dir/build.make CMakeFiles/cmTC_b99c2.dir/build]
ignore line: [make[2]: Entering directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp']
ignore line: [Building C object CMakeFiles/cmTC_b99c2.dir/CMakeCCompilerABI.c.o]
ignore line: [/usr/bin/gcc -m64 -march=athlon64 -mtune=generic -Ofast -flto -o CMakeFiles/cmTC_b99c2.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.5/Modules/CMakeCCompilerABI.c]
ignore line: [Linking C executable cmTC_b99c2]
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b99c2.dir/link.txt --verbose=1]
ignore line: [/usr/bin/gcc -m64 -march=athlon64 -mtune=generic -Ofast -flto -v CMakeFiles/cmTC_b99c2.dir/CMakeCCompilerABI.c.o -o cmTC_b99c2 -rdynamic ]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/gcc]
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper]
ignore line: [Target: x86_64-linux-gnu]
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu116.04.10' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
ignore line: [Thread model: posix]
ignore line: [gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1
16.04.10) ]
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-m64' '-march=athlon64' '-mtune=generic' '-Ofast' '-flto' '-v' '-o' 'cmTC_b99c2' '-rdynamic']
link line: [ /usr/lib/gcc/x86_64-linux-gnu/5/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper -plugin-opt=-fresolution=/tmp/ccw7BxnO.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -flto --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTC_b99c2 /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. CMakeFiles/cmTC_b99c2.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/5/crtfastmath.o /usr/lib/gcc/x86_64-linux-gnu/5/crtend.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o]
arg [/usr/lib/gcc/x86_64-linux-gnu/5/collect2] ==> ignore
arg [-plugin] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so] ==> ignore
arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper] ==> ignore
arg [-plugin-opt=-fresolution=/tmp/ccw7BxnO.res] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [-plugin-opt=-pass-through=-lc] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [-flto] ==> ignore
arg [--sysroot=/] ==> ignore
arg [--build-id] ==> ignore
arg [--eh-frame-hdr] ==> ignore
arg [-m] ==> ignore
arg [elf_x86_64] ==> ignore
arg [--hash-style=gnu] ==> ignore
arg [--as-needed] ==> ignore
arg [-export-dynamic] ==> ignore
arg [-dynamic-linker] ==> ignore
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
arg [-zrelro] ==> ignore
arg [-o] ==> ignore
arg [cmTC_b99c2] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o] ==> ignore
arg [-L/usr/lib/gcc/x86_64-linux-gnu/5] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/5]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib]
arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
arg [-L/lib/../lib] ==> dir [/lib/../lib]
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/5/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/5/../../..]
arg [CMakeFiles/cmTC_b99c2.dir/CMakeCCompilerABI.c.o] ==> ignore
arg [-lgcc] ==> lib [gcc]
arg [--as-needed] ==> ignore
arg [-lgcc_s] ==> lib [gcc_s]
arg [--no-as-needed] ==> ignore
arg [-lc] ==> lib [c]
arg [-lgcc] ==> lib [gcc]
arg [--as-needed] ==> ignore
arg [-lgcc_s] ==> lib [gcc_s]
arg [--no-as-needed] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/5/crtfastmath.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/5/crtend.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o] ==> ignore
remove lib [gcc]
remove lib [gcc_s]
remove lib [gcc]
remove lib [gcc_s]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/5] ==> [/usr/lib/gcc/x86_64-linux-gnu/5]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib] ==> [/usr/lib]
collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
collapse library dir [/lib/../lib] ==> [/lib]
collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/5/../../..] ==> [/usr/lib]
implicit libs: [c]
implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/5;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
implicit fwks: []

Detecting C [-std=c11] compiler features compiled with the following output:
Change Dir: /media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_5b5cc/fast"
make[1]: Entering directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_5b5cc.dir/build.make CMakeFiles/cmTC_5b5cc.dir/build
make[2]: Entering directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_5b5cc.dir/feature_tests.c.o
/usr/bin/gcc -m64 -march=athlon64 -mtune=generic -Ofast -flto -std=c11 -o CMakeFiles/cmTC_5b5cc.dir/feature_tests.c.o -c /media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/feature_tests.c
Linking C executable cmTC_5b5cc
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5b5cc.dir/link.txt --verbose=1
/usr/bin/gcc -m64 -march=athlon64 -mtune=generic -Ofast -flto CMakeFiles/cmTC_5b5cc.dir/feature_tests.c.o -o cmTC_5b5cc -rdynamic
make[2]: Leaving directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
make[1]: Leaving directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'

Feature record: C_FEATURE:1c_function_prototypes
Feature record: C_FEATURE:1c_restrict
Feature record: C_FEATURE:1c_static_assert
Feature record: C_FEATURE:1c_variadic_macros

Detecting C [-std=c99] compiler features compiled with the following output:
Change Dir: /media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_c4a2b/fast"
make[1]: Entering directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_c4a2b.dir/build.make CMakeFiles/cmTC_c4a2b.dir/build
make[2]: Entering directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_c4a2b.dir/feature_tests.c.o
/usr/bin/gcc -m64 -march=athlon64 -mtune=generic -Ofast -flto -std=c99 -o CMakeFiles/cmTC_c4a2b.dir/feature_tests.c.o -c /media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/feature_tests.c
Linking C executable cmTC_c4a2b
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c4a2b.dir/link.txt --verbose=1
/usr/bin/gcc -m64 -march=athlon64 -mtune=generic -Ofast -flto CMakeFiles/cmTC_c4a2b.dir/feature_tests.c.o -o cmTC_c4a2b -rdynamic
make[2]: Leaving directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
make[1]: Leaving directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'

Feature record: C_FEATURE:1c_function_prototypes
Feature record: C_FEATURE:1c_restrict
Feature record: C_FEATURE:0c_static_assert
Feature record: C_FEATURE:1c_variadic_macros

Detecting C [-std=c90] compiler features compiled with the following output:
Change Dir: /media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_410e8/fast"
make[1]: Entering directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_410e8.dir/build.make CMakeFiles/cmTC_410e8.dir/build
make[2]: Entering directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_410e8.dir/feature_tests.c.o
/usr/bin/gcc -m64 -march=athlon64 -mtune=generic -Ofast -flto -std=c90 -o CMakeFiles/cmTC_410e8.dir/feature_tests.c.o -c /media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/feature_tests.c
Linking C executable cmTC_410e8
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_410e8.dir/link.txt --verbose=1
/usr/bin/gcc -m64 -march=athlon64 -mtune=generic -Ofast -flto CMakeFiles/cmTC_410e8.dir/feature_tests.c.o -o cmTC_410e8 -rdynamic
make[2]: Leaving directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
make[1]: Leaving directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'

Feature record: C_FEATURE:1c_function_prototypes
Feature record: C_FEATURE:0c_restrict
Feature record: C_FEATURE:0c_static_assert
Feature record: C_FEATURE:0c_variadic_macros

Determining if the include file pthread.h exists passed with the following output:
Change Dir: /media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_92d1f/fast"
make[1]: Entering directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_92d1f.dir/build.make CMakeFiles/cmTC_92d1f.dir/build
make[2]: Entering directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_92d1f.dir/CheckIncludeFile.c.o
/usr/bin/gcc -m64 -march=athlon64 -mtune=generic -Ofast -flto -o CMakeFiles/cmTC_92d1f.dir/CheckIncludeFile.c.o -c /media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_92d1f
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_92d1f.dir/link.txt --verbose=1
/usr/bin/gcc -m64 -march=athlon64 -mtune=generic -Ofast -flto CMakeFiles/cmTC_92d1f.dir/CheckIncludeFile.c.o -o cmTC_92d1f -rdynamic
make[2]: Leaving directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
make[1]: Leaving directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'

Determining if the function pthread_create exists in the pthread passed with the following output:
Change Dir: /media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_b01be/fast"
make[1]: Entering directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_b01be.dir/build.make CMakeFiles/cmTC_b01be.dir/build
make[2]: Entering directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_b01be.dir/CheckFunctionExists.c.o
/usr/bin/gcc -m64 -march=athlon64 -mtune=generic -Ofast -flto -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_b01be.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
Linking C executable cmTC_b01be
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b01be.dir/link.txt --verbose=1
/usr/bin/gcc -m64 -march=athlon64 -mtune=generic -Ofast -flto -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_b01be.dir/CheckFunctionExists.c.o -o cmTC_b01be -rdynamic -lpthread
make[2]: Leaving directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
make[1]: Leaving directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'

Determining if the function XOpenDisplay exists in the /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so passed with the following output:
Change Dir: /media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_addee/fast"
make[1]: Entering directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_addee.dir/build.make CMakeFiles/cmTC_addee.dir/build
make[2]: Entering directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_addee.dir/CheckFunctionExists.c.o
/usr/bin/gcc -m64 -march=athlon64 -mtune=generic -Ofast -flto -DCHECK_FUNCTION_EXISTS=XOpenDisplay -o CMakeFiles/cmTC_addee.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
Linking C executable cmTC_addee
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_addee.dir/link.txt --verbose=1
/usr/bin/gcc -m64 -march=athlon64 -mtune=generic -Ofast -flto -DCHECK_FUNCTION_EXISTS=XOpenDisplay CMakeFiles/cmTC_addee.dir/CheckFunctionExists.c.o -o cmTC_addee -rdynamic /usr/lib/x86_64-linux-gnu/libX11.so /usr/lib/x86_64-linux-gnu/libXext.so
make[2]: Leaving directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
make[1]: Leaving directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'

Determining if the function gethostbyname exists passed with the following output:
Change Dir: /media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_0f9ef/fast"
make[1]: Entering directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_0f9ef.dir/build.make CMakeFiles/cmTC_0f9ef.dir/build
make[2]: Entering directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_0f9ef.dir/CheckFunctionExists.c.o
/usr/bin/gcc -m64 -march=athlon64 -mtune=generic -Ofast -flto -DCHECK_FUNCTION_EXISTS=gethostbyname -o CMakeFiles/cmTC_0f9ef.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
Linking C executable cmTC_0f9ef
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0f9ef.dir/link.txt --verbose=1
/usr/bin/gcc -m64 -march=athlon64 -mtune=generic -Ofast -flto -DCHECK_FUNCTION_EXISTS=gethostbyname CMakeFiles/cmTC_0f9ef.dir/CheckFunctionExists.c.o -o cmTC_0f9ef -rdynamic
make[2]: Leaving directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
make[1]: Leaving directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'

Determining if the function connect exists passed with the following output:
Change Dir: /media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_77687/fast"
make[1]: Entering directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_77687.dir/build.make CMakeFiles/cmTC_77687.dir/build
make[2]: Entering directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_77687.dir/CheckFunctionExists.c.o
/usr/bin/gcc -m64 -march=athlon64 -mtune=generic -Ofast -flto -DCHECK_FUNCTION_EXISTS=connect -o CMakeFiles/cmTC_77687.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
Linking C executable cmTC_77687
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_77687.dir/link.txt --verbose=1
/usr/bin/gcc -m64 -march=athlon64 -mtune=generic -Ofast -flto -DCHECK_FUNCTION_EXISTS=connect CMakeFiles/cmTC_77687.dir/CheckFunctionExists.c.o -o cmTC_77687 -rdynamic
make[2]: Leaving directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
make[1]: Leaving directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'

Determining if the function remove exists passed with the following output:
Change Dir: /media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_15b0c/fast"
make[1]: Entering directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_15b0c.dir/build.make CMakeFiles/cmTC_15b0c.dir/build
make[2]: Entering directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_15b0c.dir/CheckFunctionExists.c.o
/usr/bin/gcc -m64 -march=athlon64 -mtune=generic -Ofast -flto -DCHECK_FUNCTION_EXISTS=remove -o CMakeFiles/cmTC_15b0c.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
Linking C executable cmTC_15b0c
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_15b0c.dir/link.txt --verbose=1
/usr/bin/gcc -m64 -march=athlon64 -mtune=generic -Ofast -flto -DCHECK_FUNCTION_EXISTS=remove CMakeFiles/cmTC_15b0c.dir/CheckFunctionExists.c.o -o cmTC_15b0c -rdynamic
make[2]: Leaving directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
make[1]: Leaving directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'

Determining if the function shmat exists passed with the following output:
Change Dir: /media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_1fdb5/fast"
make[1]: Entering directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_1fdb5.dir/build.make CMakeFiles/cmTC_1fdb5.dir/build
make[2]: Entering directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_1fdb5.dir/CheckFunctionExists.c.o
/usr/bin/gcc -m64 -march=athlon64 -mtune=generic -Ofast -flto -DCHECK_FUNCTION_EXISTS=shmat -o CMakeFiles/cmTC_1fdb5.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
Linking C executable cmTC_1fdb5
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1fdb5.dir/link.txt --verbose=1
/usr/bin/gcc -m64 -march=athlon64 -mtune=generic -Ofast -flto -DCHECK_FUNCTION_EXISTS=shmat CMakeFiles/cmTC_1fdb5.dir/CheckFunctionExists.c.o -o cmTC_1fdb5 -rdynamic
make[2]: Leaving directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
make[1]: Leaving directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'

Determining if the function IceConnectionNumber exists in the ICE passed with the following output:
Change Dir: /media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_ade01/fast"
make[1]: Entering directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_ade01.dir/build.make CMakeFiles/cmTC_ade01.dir/build
make[2]: Entering directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_ade01.dir/CheckFunctionExists.c.o
/usr/bin/gcc -m64 -march=athlon64 -mtune=generic -Ofast -flto -DCHECK_FUNCTION_EXISTS=IceConnectionNumber -o CMakeFiles/cmTC_ade01.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
Linking C executable cmTC_ade01
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ade01.dir/link.txt --verbose=1
/usr/bin/gcc -m64 -march=athlon64 -mtune=generic -Ofast -flto -DCHECK_FUNCTION_EXISTS=IceConnectionNumber CMakeFiles/cmTC_ade01.dir/CheckFunctionExists.c.o -o cmTC_ade01 -rdynamic -lICE
make[2]: Leaving directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
make[1]: Leaving directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'

Content of CMakeError.log:

Determining if the pthread_create exist failed with the following output:
Change Dir: /media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_c9e8d/fast"
make[1]: Entering directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_c9e8d.dir/build.make CMakeFiles/cmTC_c9e8d.dir/build
make[2]: Entering directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_c9e8d.dir/CheckSymbolExists.c.o
/usr/bin/gcc -m64 -march=athlon64 -mtune=generic -Ofast -flto -o CMakeFiles/cmTC_c9e8d.dir/CheckSymbolExists.c.o -c /media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_c9e8d
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c9e8d.dir/link.txt --verbose=1
/usr/bin/gcc -m64 -march=athlon64 -mtune=generic -Ofast -flto CMakeFiles/cmTC_c9e8d.dir/CheckSymbolExists.c.o -o cmTC_c9e8d -rdynamic
/tmp/ccs1uuNy.ltrans0.ltrans.o: In function main': <artificial>:(.text.startup+0x6): undefined reference to pthread_create'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_c9e8d.dir/build.make:97: recipe for target 'cmTC_c9e8d' failed
make[2]: *** [cmTC_c9e8d] Error 1
make[2]: Leaving directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_c9e8d/fast' failed
make[1]: *** [cmTC_c9e8d/fast] Error 2
make[1]: Leaving directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'

File /media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <pthread.h>

int main(int argc, char** argv)
{
(void)argv;
#ifndef pthread_create
return ((int*)(&pthread_create))[argc];
#else
(void)argc;
return 0;
#endif
}

Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_b61be/fast"
make[1]: Entering directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_b61be.dir/build.make CMakeFiles/cmTC_b61be.dir/build
make[2]: Entering directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_b61be.dir/CheckFunctionExists.c.o
/usr/bin/gcc -m64 -march=athlon64 -mtune=generic -Ofast -flto -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_b61be.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
Linking C executable cmTC_b61be
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b61be.dir/link.txt --verbose=1
/usr/bin/gcc -m64 -march=athlon64 -mtune=generic -Ofast -flto -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_b61be.dir/CheckFunctionExists.c.o -o cmTC_b61be -rdynamic -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_b61be.dir/build.make:97: recipe for target 'cmTC_b61be' failed
make[2]: *** [cmTC_b61be] Error 1
make[2]: Leaving directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_b61be/fast' failed
make[1]: *** [cmTC_b61be/fast] Error 2
make[1]: Leaving directory '/media/roberts/Data/Games/StarRuler2-Source-master/source/glfw/CMakeFiles/CMakeTmp'

[Ghastly] all the bug reports in the Star Ruler 2 forum are ancient and barely actionable

Expected Results: all the valiant heroes who reported bugs in the Star Ruler 2 forum (http://forums.blind-mind.com/index.php?board=30.0) naturally provided a copy of their save, a free video card, and a copy of the exact video driver they had installed at the time.

Actual Results: vague, two-sentence bug reports. sometimes with a version number. None of them seem to be marked off as fixed.

What do we do now? Suffer, I guess. Or find our own bugs by playing the game. Maybe the developers kept a spreadsheet or bug database that has some information about these bug reports that we could peek at? Perhaps we can get lucky with some of the existing bug reports?

There are some bugs that could potentially still be reproducible, such as the wandering ringworlds (http://forums.blind-mind.com/index.php?topic=6256.0), or instant game loss with a particular faction (http://forums.blind-mind.com/index.php?topic=6499.0). There's even one where a commenter found a proximate cause (http://forums.blind-mind.com/index.php?topic=6256.0), but it could easily have been fixed from that information, so I'm not hopeful.

I found these three on the first three pages of the forum. Perhaps others want to look deeper? My own purpose is to while away a few hours in a pleasant programming puzzle while I'm on the train tomorrow.

In the mean time, perhaps others would also be interested enough to try to reproduce a bug or two?

Changing multiplayer host mid-game?

We were playing SR2, and the player who hosted the game have resigned. How do we continue the game? When i try to load his save, the game doesn't let me choose the empire to play for.

[Linux] System-wide hang on tutorial start

OS: Arch Linux as of 22.07.2018

Tutorial draws its elements to a random degree and then a hang occurs.
The only time I managed to get sth in the console output it said (out of logs)

Script Exception: Index out of bounds
 /opt/starruler2/scripts/definitions/artifacts.as
  artifacts::void init() | Line 293 | Col 4

Comprehesive List of dependancies for linux

here's a list of dependencies I needed to install for Linux Mint 18.3 so far:

Libpng:
Errors indicating you don' have these:

error: cannot convert ‘unsigned int*’ to ‘png_uint_32* {aka long unsigned int*}’ for argument ‘3’ to ‘png_uint_32 png_get_IHDR(png_structp, png_infop, png_uint_32*, png_uint_32*, int*, int*, int*, int*, int*)’
 t_IHDR(png, png_info, &w, &h, &depth, &format, &interlace, &compress, &filter); 

apt-get install
libpng16-16
libpng16-dev
libpng16-devtools

Freetype:
Errors:

make: *** No rule to make target '/usr/include/freetype2/freetype/freetype.h', needed by 'obj/lin64/render/font_ft2.o'. Stop. 

apt-get install
libfreetype6-dev
libfontconfig1-dev
libxft2-dev

Others as people point them out, I'm still getting errors.

Ubuntu 18.04 x64 can't compile

ccache make -f source/linux/Makefile compile
then it gives thousands of same type errors

I managed to install all deps, using libcurl4-openssl-dev I don't think these can be an issue but maybe it needs just libcurl-openssl1.0-dev package instead of new openssl? But it just my thoughts.

Using gcc-7/bionic,now 7.3.0-16ubuntu3 amd64 [installed, auto] Should I use an older version or the builds is only availible in MSVC studio?

:(.text+0x1c796): undefined reference to operator delete(void*)' <artificial>:(.text+0x1c7d7): undefined reference to operator delete(void*)'
:(.text+0x1c818): undefined reference to operator delete(void*)' <artificial>:(.text+0x1c859): undefined reference to operator delete(void*)'
:(.text+0x1c89a): undefined reference to operator delete(void*)' /tmp/ccaEI5CM.ltrans7.ltrans.o:<artificial>:(.text+0x1c931): more undefined references to operator delete(void*)' follow
/tmp/ccaEI5CM.ltrans7.ltrans.o: In function std::_Function_handler<void (), startPreload()::{lambda()#7}>::_M_invoke(std::_Any_data const&)': <artificial>:(.text+0x1aec): undefined reference to pthread_create'
/tmp/ccaEI5CM.ltrans7.ltrans.o: In function std::_Function_handler<void (), startPreload()::{lambda()#6}>::_M_invoke(std::_Any_data const&)': <artificial>:(.text+0x1b36): undefined reference to pthread_create'
/tmp/ccaEI5CM.ltrans7.ltrans.o: In function std::_Function_handler<void (), startPreload()::{lambda()#5}>::_M_invoke(std::_Any_data const&)': <artificial>:(.text+0x1b8b): undefined reference to pthread_create'
/tmp/ccaEI5CM.ltrans7.ltrans.o: In function std::vector<SavedMod, std::allocator<SavedMod> >::~vector() [clone .lto_priv.1954]': <artificial>:(.text+0x9666): undefined reference to operator delete(void*)'
:(.text+0x9689): undefined reference to operator delete(void*)' /tmp/ccaEI5CM.ltrans7.ltrans.o: In function std::vector<net::Game, std::allocatornet::Game >::~vector() [clone .lto_priv.2298]':
:(.text+0x9749): undefined reference to operator delete(void*)' /tmp/ccaEI5CM.ltrans7.ltrans.o:(.data.rel.ro+0x0): undefined reference to vtable for __cxxabiv1::__si_class_type_info'
/tmp/ccaEI5CM.ltrans7.ltrans.o:(.data.rel.ro+0x18): undefined reference to vtable for __cxxabiv1::__si_class_type_info' /tmp/ccaEI5CM.ltrans7.ltrans.o:(.data.rel.ro+0x30): undefined reference to vtable for __cxxabiv1::__si_class_type_info'
/tmp/ccaEI5CM.ltrans7.ltrans.o:(.data.rel.ro+0x48): undefined reference to vtable for __cxxabiv1::__function_type_info' /tmp/ccaEI5CM.ltrans7.ltrans.o:(.data.rel.ro+0x58): undefined reference to vtable for __cxxabiv1::__function_type_info'
/tmp/ccaEI5CM.ltrans7.ltrans.o:(.data.rel.ro+0x68): undefined reference to vtable for __cxxabiv1::__class_type_info' /tmp/ccaEI5CM.ltrans7.ltrans.o:(.data.rel.ro+0x78): undefined reference to vtable for __cxxabiv1::__class_type_info'
/tmp/ccaEI5CM.ltrans7.ltrans.o:(.data.rel.ro+0x88): undefined reference to vtable for __cxxabiv1::__class_type_info' /tmp/ccaEI5CM.ltrans7.ltrans.o:(.data.rel.ro+0x98): undefined reference to vtable for __cxxabiv1::__class_type_info'
/tmp/ccaEI5CM.ltrans7.ltrans.o:(.data.rel.ro+0xa8): undefined reference to vtable for __cxxabiv1::__class_type_info' /tmp/ccaEI5CM.ltrans7.ltrans.o:(.data.rel.ro+0xb8): more undefined references to vtable for __cxxabiv1::__class_type_info' follow
/tmp/ccaEI5CM.ltrans7.ltrans.o:(.data.rel.ro+0xf8): undefined reference to vtable for __cxxabiv1::__pointer_type_info' /tmp/ccaEI5CM.ltrans7.ltrans.o:(.data.rel.ro+0x118): undefined reference to vtable for __cxxabiv1::__class_type_info'
/tmp/ccaEI5CM.ltrans7.ltrans.o:(.data.rel.ro+0x128): undefined reference to vtable for __cxxabiv1::__class_type_info' /tmp/ccaEI5CM.ltrans7.ltrans.o:(.data.rel.ro+0x138): undefined reference to vtable for __cxxabiv1::__class_type_info'
/tmp/ccaEI5CM.ltrans7.ltrans.o:(.data.rel.ro+0x148): undefined reference to vtable for __cxxabiv1::__class_type_info' /tmp/ccaEI5CM.ltrans7.ltrans.o:(.data.rel.ro+0x158): undefined reference to vtable for __cxxabiv1::__class_type_info'
/tmp/ccaEI5CM.ltrans7.ltrans.o:(.data.rel.ro+0x168): more undefined references to vtable for __cxxabiv1::__class_type_info' follow /tmp/ccaEI5CM.ltrans7.ltrans.o:(.data.rel.ro+0x288): undefined reference to vtable for __cxxabiv1::__pointer_type_info'
/tmp/ccaEI5CM.ltrans7.ltrans.o:(.data.rel.ro+0x2a8): undefined reference to vtable for __cxxabiv1::__class_type_info' /tmp/ccaEI5CM.ltrans7.ltrans.o:(.data.rel.ro+0x2b8): undefined reference to vtable for __cxxabiv1::__class_type_info'
/tmp/ccaEI5CM.ltrans7.ltrans.o:(.data.rel.ro+0x2c8): undefined reference to vtable for __cxxabiv1::__class_type_info' /tmp/ccaEI5CM.ltrans7.ltrans.o:(.data.rel.ro+0x2d8): undefined reference to vtable for __cxxabiv1::__class_type_info'
/tmp/ccaEI5CM.ltrans7.ltrans.o:(.data.rel.ro+0x2e8): undefined reference to vtable for __cxxabiv1::__class_type_info' /tmp/ccaEI5CM.ltrans7.ltrans.o:(.data.rel.ro+0x2f8): more undefined references to vtable for __cxxabiv1::__class_type_info' follow
collect2: error: ld returned 1 exit status
source/linux/Makefile:322: recipe for target 'bin/lin64/StarRuler2.bin' failed
make: *** [bin/lin64/StarRuler2.bin] Error 1

net::Message::hasFlags() invalid memory access

Encountered during a save file load. Looks like Message constructor has no checks on the sanity of the buffer being passed to it. As seen by gcc's sanitizer:

==9099==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6020003e8250 at pc 0x55c1c3f5032e bp 0x7f67d737c7d0 sp 0x7f67d737c7c0
READ of size 6 at 0x6020003e8250 thread T261
    #0 0x55c1c3f5032d in net::Message::hasFlags() const source/network/source/message.cpp:303
    #1 0x55c1c3f4c3ff in net::Message::setPacket(char*, unsigned int) source/network/source/message.cpp:98
    #2 0x55c1c3a0da0d in scripts::Manager::load(SaveFile&) source/game/scripts/manager.cpp:1371
    #3 0x55c1c31cb8e3 in loadGame(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) source/game/main/save_load.cpp:301
    #4 0x55c1c30ec290 in operator() source/game/main/initialization.cpp:1492
    #5 0x55c1c310e4c3 in _M_invoke /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/g++-v8/bits/std_function.h:282
    #6 0x55c1c3f06619 in std::function<int ()>::operator()() const /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/g++-v8/bits/std_function.h:687
    #7 0x55c1c3f03e50 in threads::asyncWrapper(void*) source/os/source/threads.cpp:9
    #8 0x55c1c3f06b10 in threads::startThread(void*) source/os/source/threads_gcc.cpp:26
    #9 0x7f689b946969  (/lib64/libpthread.so.0+0x7969)
    #10 0x7f689a2ee5fe in clone (/lib64/libc.so.6+0x1035fe)

0x6020003e8252 is located 0 bytes to the right of 2-byte region [0x6020003e8250,0x6020003e8252)
allocated by thread T261 here:
    #0 0x7f689cfc4090 in __interceptor_malloc /var/tmp/portage/sys-devel/gcc-8.2.0-r3/work/gcc-8.2.0/libsanitizer/asan/asan_malloc_linux.cc:86
    #1 0x55c1c3f4bcfa in net::Message::Buffer::copyPacket(unsigned char*, unsigned int) source/network/source/message.cpp:60
    #2 0x55c1c3f4c0fb in net::Message::setPacket(char*, unsigned int) source/network/source/message.cpp:87
    #3 0x55c1c3a0da0d in scripts::Manager::load(SaveFile&) source/game/scripts/manager.cpp:1371
    #4 0x55c1c31cb8e3 in loadGame(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) source/game/main/save_load.cpp:301
    #5 0x55c1c30ec290 in operator() source/game/main/initialization.cpp:1492
    #6 0x55c1c310e4c3 in _M_invoke /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/g++-v8/bits/std_function.h:282
    #7 0x55c1c3f06619 in std::function<int ()>::operator()() const /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/g++-v8/bits/std_function.h:687
    #8 0x55c1c3f03e50 in threads::asyncWrapper(void*) source/os/source/threads.cpp:9
    #9 0x55c1c3f06b10 in threads::startThread(void*) source/os/source/threads_gcc.cpp:26
    #10 0x7f689b946969  (/lib64/libpthread.so.0+0x7969)

Thread T261 created by T0 here:
    #0 0x7f689cf20bf3 in __interceptor_pthread_create /var/tmp/portage/sys-devel/gcc-8.2.0-r3/work/gcc-8.2.0/libsanitizer/asan/asan_interceptors.cc:202
    #1 0x55c1c3f06d69 in threads::createThread(unsigned int (*)(void*), void*) source/os/source/threads_gcc.cpp:41
    #2 0x55c1c3f03edc in threads::async(std::function<int ()>) source/os/source/threads.cpp:16
    #3 0x55c1c30edba7 in initGame() source/game/main/initialization.cpp:1489
    #4 0x55c1c3c89c24 in main source/game/main.cpp:836
    #5 0x7f689a20cae6 in __libc_start_main (/lib64/libc.so.6+0x21ae6)

False claim that game is open source

The bug

This repository claims the game “Star Ruler 2” is open source. I am posting this issue here to notify you that this claim is false.
The media files are licensed under CC BY-NC.
CC BY-NC is not an open source license.
It is not apporoved by the Open Source Initiative and not considered to be an open source license under the open source definition (https://opensource.org/definition). This is not my own opinion, this is a widely accepted fact in the open source and free software communities.

Please fix this.

Bugfix

There are two possible ways to fix this bug:

  1. Release media files under an open source license like CC BY or CC BY-SA, thus making the game open source (here's a list of all OSI-approved open source licenses: https://opensource.org/licenses). OR …
  2. Remove all claims of Star Ruler 2 being open source, thus fixing the false claim

Note:
If you are truly committed to open source, it would probably be an easy decision for you to release the media under an open source license as well.

Thank you for your attention.

[Meta] Exclude and gitignore built binaries from repository

It doesn't make sense to have binaries like Star Ruler 2.exe in repository because they should be either updated each commit or they will be simply irrelevant.
Given that they should be regenerated anyway and keeping them updated will just introduce unnecessary merge conflicts the choice that 99% of repos make is to exclude them.

Note that in order to remove sth from git repo and ignore, one should FIRST delete and commit deletion and only then ignore because otherwise the file will remain as a zombie in a remote.

Option request, icons distance

How about an option to control the distance the icons turn into 3d models on the galaxy map. I'd like the icons to stay visible until much closer to the planet. Thought I would find the option already but it wasn't there, maybe someone could work it in?

Continuous integration support

Travis-CI, for example, is integrated into Github, and has a free tier.

Integrating with Travis-CI (or others) will allow pull requests to be verified automatically by building the code, and executing any tests that the project happens to have. Reducing the amount of work a human needs to do.

Please tag a release

Thanks for open-sourcing the engine of this game. I discovered it only through the media coverage about that, only had a little time to compile the game and play the tutorial up to now, but it certainly seems to be fun.

Especially for packaging purposes, it would be nice to have tarballs which can be downloaded, verified and cached locally. If you would tag a release, github would automatically create these from the tagged commit and offer them for download.

Assets license

Can you please release also the assets with a free license? For example CC-BY-SA?

System-wide installation on GNU/Linux?

Okay, i've built the game, but the source doesn't mention where should i put all the resources to be reachable by the game binary. Is there a better way than creating an /opt directory and a wrapper script in PATH?3

Unable to build the project on unbuntu 18.04

I manage to get most of the dependencies but then i am hitting a linking problem.
Here is what i got :

Done. As root, type make install to install the library.
make[1]: Leaving directory '/media/francois/New Volume/Francois/unbuntu stuff/star ruler 2/StarRuler2-Source/source/angelscript/projects/gnuc'
bash source/linux/build.sh 64 release glfw
-- The C compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Using X11 for window creation
-- Using GLX for context creation
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Configuring done
-- Generating done
-- Build files have been written to: /media/francois/New Volume/Francois/unbuntu stuff/star ruler 2/StarRuler2-Source/source/glfw
make[1]: Entering directory '/media/francois/New Volume/Francois/unbuntu stuff/star ruler 2/StarRuler2-Source/source/glfw'
make[2]: Entering directory '/media/francois/New Volume/Francois/unbuntu stuff/star ruler 2/StarRuler2-Source/source/glfw'
make[3]: Entering directory '/media/francois/New Volume/Francois/unbuntu stuff/star ruler 2/StarRuler2-Source/source/glfw'
make[4]: Entering directory '/media/francois/New Volume/Francois/unbuntu stuff/star ruler 2/StarRuler2-Source/source/glfw'
make[4]: Leaving directory '/media/francois/New Volume/Francois/unbuntu stuff/star ruler 2/StarRuler2-Source/source/glfw'
[100%] Built target glfw
make[3]: Leaving directory '/media/francois/New Volume/Francois/unbuntu stuff/star ruler 2/StarRuler2-Source/source/glfw'
make[2]: Leaving directory '/media/francois/New Volume/Francois/unbuntu stuff/star ruler 2/StarRuler2-Source/source/glfw'
make[1]: Leaving directory '/media/francois/New Volume/Francois/unbuntu stuff/star ruler 2/StarRuler2-Source/source/glfw'
#./source/linux/build.sh 64 release breakpad
source/game/os/glfw_driver.cpp: In member function ‘getMousePos’:
source/game/os/glfw_driver.cpp:328:5: warning: ‘dx’ may be used uninitialized in this function [-Wmaybe-uninitialized]
x = (int)floor(dx);
^
source/game/os/glfw_driver.cpp:326:10: note: ‘dx’ was declared here
double dx, dy;
^
source/game/os/glfw_driver.cpp:329:5: warning: ‘dy’ may be used uninitialized in this function [-Wmaybe-uninitialized]
y = (int)floor(dy);
^
source/game/os/glfw_driver.cpp:326:14: note: ‘dy’ was declared here
double dx, dy;
^
source/game/main/input_handling.cpp: In function ‘onMouseButton’:
source/game/os/glfw_driver.cpp:329:5: warning: ‘dy’ may be used uninitialized in this function [-Wmaybe-uninitialized]
y = (int)floor(dy);
^
source/game/os/glfw_driver.cpp:326:14: note: ‘dy’ was declared here
double dx, dy;
^
source/game/os/glfw_driver.cpp:328:5: warning: ‘dx’ may be used uninitialized in this function [-Wmaybe-uninitialized]
x = (int)floor(dx);
^
source/game/os/glfw_driver.cpp:326:10: note: ‘dx’ was declared here
double dx, dy;
^
source/game/scripts/bind_gui.cpp: In function ‘getMousePos’:
source/game/os/glfw_driver.cpp:329:5: warning: ‘dy’ may be used uninitialized in this function [-Wmaybe-uninitialized]
y = (int)floor(dy);
^
source/game/os/glfw_driver.cpp:326:14: note: ‘dy’ was declared here
double dx, dy;
^
source/game/os/glfw_driver.cpp:328:5: warning: ‘dx’ may be used uninitialized in this function [-Wmaybe-uninitialized]
x = (int)floor(dx);
^
source/game/os/glfw_driver.cpp:326:10: note: ‘dx’ was declared here
double dx, dy;
^
source/game/scripts/bind_general.cpp: In function ‘FindQuarticRoots’:
source/game/scripts/bind_general.cpp:1322:9: warning: ‘positive_root’ may be used uninitialized in this function [-Wmaybe-uninitialized]
double positive_root;
^
source/network/source/server.cpp: In member function ‘listen’:
source/network/source/transport.cpp:110:50: warning: ‘len’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int result = bind(sockfd, (sockaddr*)&saddr, len);
^
source/network/source/transport.cpp:106:12: note: ‘len’ was declared here
socklen_t len;
^
source/network/source/transport.cpp: In member function ‘send’:
source/network/source/transport.cpp:181:20: warning: ‘len’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int bytes = sendto(sockfd, pBytes, byteCount, 0, (sockaddr*)&saddr, len);
^
source/network/source/transport.cpp:173:12: note: ‘len’ was declared here
socklen_t len;
^
/tmp/ccQKQVNA.ltrans0.ltrans.o: In function std::_Function_base::_Base_manager<asCJITCompiler::CompileFunction(asIScriptFunction*, void (**)(asSVMRegisters*, unsigned long))::{lambda(assembler::JumpType, bool)#3}>::_M_manager(std::_Any_data&, std::_Function_base::_Base_manager<asCJITCompiler::CompileFunction(asIScriptFunction*, void (**)(asSVMRegisters*, unsigned long))::{lambda(assembler::JumpType, bool)#3}> const&, std::_Manager_operation)': <artificial>:(.text+0xc8e): undefined reference to operator delete(void*)'
:(.text+0xca9): undefined reference to operator new(unsigned long)' /tmp/ccQKQVNA.ltrans0.ltrans.o: In function std::vector<Design::Descriptor::System, std::allocatorDesign::Descriptor::System >::reserve(unsigned long)':
:(.text+0xd57): undefined reference to operator new(unsigned long)' <artificial>:(.text+0xed1): undefined reference to operator delete(void*)'
:(.text+0xeeb): undefined reference to operator delete(void*)' <artificial>:(.text+0xf0c): undefined reference to operator delete(void*)'
/tmp/ccQKQVNA.ltrans0.ltrans.o: In function HexGrid<int>::resize(vec2<unsigned int>)': <artificial>:(.text+0x117a): undefined reference to operator delete'
:(.text+0x1189): undefined reference to operator new[](unsigned long)' /tmp/ccQKQVNA.ltrans0.ltrans.o: In function HexGrid::resize(unsigned int, unsigned int)':
:(.text+0x11b5): undefined reference to operator delete[](void*)' <artificial>:(.text+0x11c4): undefined reference to operator new[](unsigned long)'
/tmp/ccQKQVNA.ltrans0.ltrans.o: In function HexGrid<bool>::resize(unsigned int, unsigned int)': <artificial>:(.text+0x11f5): undefined reference to operator delete'
:(.text+0x1200): undefined reference to operator new[](unsigned long)' /tmp/ccQKQVNA.ltrans0.ltrans.o: In function Design::buildDamageOrder()':
:(.text+0x1537): undefined reference to operator new(unsigned long)' <artificial>:(.text+0x15c8): undefined reference to operator delete(void*)'

and then it continues on for a while, and then stop and fails to create the binaries.
I don't know what can cause such problem, but it doesn't seems to be the dependencies nor compiler.
If anybody has any idea on what could cause such things.

thanks and see you around

Build error while linking

The build fails on my Linux system while trying to create bin/lin64/StarRuler2.bin in the linking phase.

The log is below. Errors start appearing in line 826.

starruler2-source-log.txt

Edit: Because there is no preview on github, I'll quickly describe whats going on: A lot of symbols are not found during the linking phase ("[...]: undefined reference to [...]"). This seems to happen to library exports, especially networking and threading.

Any blocker for macOS compilation?

I didn't had time to look and the code and dependencies yet, but I was waiting for ages to play it natively on macOS.

Any blocker anyone already saw before I try to work on a compilation flow for macOs?

Aborted (core dumped)

Tried to start new game

`Initializing sound
Initializing window system
Loading engine settings
Initializing OpenGL Engine
Registering mods
Starting 5 threads on 4 processors.
Loading mod(s)
OpenGL vendor 'X.Org', renderer 'AMD RS880 (DRM 2.50.0 / 4.14.57-1-MANJARO, LLVM 6.0.1)'
version '3.0 Mesa 18.1.4'
Loaded in 19.7 seconds
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profileShadow scripts: 680ms load, 2812ms compile

libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
Client scripts: 909ms load, 4836ms compile

gcm_sched_early_pass: unscheduled ops:

MEM_SCRATCH WRITE_ACK 15 ES:3 SCRATCH.390
Caught Segfault at 0xbc

Stack trace:
./bin/lin64/StarRuler2.bin(+0x2008a0) [0x56466c4428a0]
./bin/lin64/StarRuler2.bin(+0x20093c) [0x56466c44293c]
/usr/lib/libpthread.so.0(+0x11a80) [0x7f11395ada80]
/usr/lib/dri/r600_dri.so(+0x1e0240) [0x7f11198e0240]
/usr/lib/dri/r600_dri.so(+0x1e0a7f) [0x7f11198e0a7f]
/usr/lib/dri/r600_dri.so(+0x1e1a3c) [0x7f11198e1a3c]
/usr/lib/dri/r600_dri.so(+0x1e2215) [0x7f11198e2215]
/usr/lib/dri/r600_dri.so(+0x1e248e) [0x7f11198e248e]
/usr/lib/dri/r600_dri.so(+0x1dd464) [0x7f11198dd464]
/usr/lib/dri/r600_dri.so(+0x22e8ae) [0x7f111992e8ae]
/usr/lib/dri/r600_dri.so(+0x1c5126) [0x7f11198c5126]
/usr/lib/dri/r600_dri.so(+0x1c65a5) [0x7f11198c65a5]
/usr/lib/dri/r600_dri.so(+0x1264d0) [0x7f11198264d0]
/usr/lib/dri/r600_dri.so(+0x5f27e8) [0x7f1119cf27e8]
/usr/lib/dri/r600_dri.so(+0x68a519) [0x7f1119d8a519]
/usr/lib/dri/r600_dri.so(+0x68aeff) [0x7f1119d8aeff]
./bin/lin64/StarRuler2.bin(+0x179c63) [0x56466c3bbc63]
./bin/lin64/StarRuler2.bin(+0x1f9d98) [0x56466c43bd98]
./bin/lin64/StarRuler2.bin(+0x1fea3d) [0x56466c440a3d]
./bin/lin64/StarRuler2.bin(+0x2028ff) [0x56466c4448ff]
[0x7f10c07e13cc]

Script Exception: (null)
/home/redsquirrel/StarRuler2-Source/scripts/toolkit/util/draw_model.as
util.draw_model::void drawLitModel(const Model&inout, const Material@, const recti&inout, const quaterniond&inout, double = 1.0, const vec3f&inout = vec3f ( ), const Color&inout = colors :: White) | Line 13 | Col 2
new_game::void ShipsetChooser::drawElement(uint, const recti&inout) | Line 2354 | Col 5
elements.GuiIconGrid::void GuiIconGrid::draw() | Line 187 | Col 5
elements.BaseGuiElement::void BaseGuiElement::draw() | Line 398 | Col 4
elements.GuiSkinElement::void GuiSkinElement::draw() | Line 46 | Col 3
elements.BaseGuiElement::void BaseGuiElement::draw() | Line 398 | Col 4
elements.BaseGuiElement::void BaseGuiElement::draw() | Line 398 | Col 4
elements.GuiSkinElement::void GuiSkinElement::draw() | Line 46 | Col 3
elements.BaseGuiElement::void BaseGuiElement::draw() | Line 398 | Col 4
elements.GuiOverlay::void GuiOverlay::draw() | Line 95 | Col 3
gui::void RootElement::draw() | Line 564 | Col 4
gui::void draw() | Line 169 | Col 2

Aborted (core dumped)
`

Pause in multiplayer games

In multiplayer games only the host can pause and remove pause, giving him a sort of advantage even if he does it by request. It would be awesome if anyone could pause the game, and it would be unpaused only when all the players are ready to proceed.

Zeitgeist winner tooltip is incorrect

It says that the one that supported the proposition the most will get the bonus, while in fact it's the support added over time(?) that matters. You can check it by becoming the most supporting empire in the last few seconds of the zeitgeist vote, and then finding out you're not the one who won it.

[Admin/Maintenance] Breaking Steam/GOG Compatibility

I've already mentioned it in Discord, but I feel like it might be more visible here.

It's reasonable to assume that it will take some time for us (all the people forking the repository) to change the client in a way that breaks multiplayer compatibility. It also seems unlikely that we'll need to do so in the near future, unless we want to turn it into something that isn't actually SR2 in the first place.

As such, we should be able to retain backwards compatibility with the commercial version of the game for a while, so long as we don't make compatibility-breaking changes to the game's data and script files. Any such changes should be relegated to the realm of mods, which also allows them to be installed through tools such as the Steam Workshop or the SR2 Mod Manager.

This brings me to the point I'd like to raise: We should not be putting data changes into this repository. There are other places we can put those: A new mod with its own repository, the Community Patch...

There are exceptions to this rule, of course - Lucas disabling the patcher is one of them - but in principle, we should continue to respect the mod/engine divide, especially in the official repo. (On that note, compatibility has already been broken by Jon's new shipsets. Someone needs to either pull those shipsets out or change MP_VERSION.)

Attempted Build on linux error: cannot convert ‘unsigned int*’ to ‘png_uint_32*

se5a@se5aMint /mnt/98448323-4372-4c8a-904a-30b587cc3685/Games/StarRuler2-Source-master $ make -f source/linux/Makefile compile
source/os/source/threads.cpp
source/os/source/threads_gcc.cpp
source/os/source/files.cpp
source/os/source/files_linux.cpp
source/os/source/files_linux.cpp: In function ‘std::__cxx11::string getWorkingDirectory()’:
source/os/source/files_linux.cpp:18:22: warning: ignoring return value of ‘char* getcwd(char*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
  getcwd(buffer, 1024);
                      ^
source/os/source/virtual_asm_linux.cpp
source/os/source/virtual_asm_x64.cpp
source/sound/source/CSound.cpp
source/sound/source/CSoundDevice.cpp
source/sound/source/CSoundSource.cpp
source/sound/source/CStreamSound.cpp
source/sound/source/CSSOgg.cpp
source/sound/source/CSSWave.cpp
source/sound/source/CSSWave.cpp: In constructor ‘audio::CSSWave::CSSWave(FILE*, audio::ISoundDevice*)’:
source/sound/source/CSSWave.cpp:22:20: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
   read(dwordTxt, 4);
                    ^
source/sound/source/CSSWave.cpp:30:20: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
   read(dwordTxt, 4);
                    ^
source/sound/source/CSSWave.cpp:35:20: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
   read(dwordTxt, 4);
                    ^
source/sound/source/CSSWave.cpp:40:22: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
   read(&chunkSize, 4);
                      ^
source/sound/source/CSSWave.cpp:43:19: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
   read(&format, 2); //1 for PCM, 0xFFFE for extensible
                   ^
source/sound/source/CSSWave.cpp:60:22: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
    read(&PCMData, 16);
                      ^
source/sound/source/CSSWave.cpp:66:22: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
    read(&PCMData, 18);
                      ^
source/sound/source/CSSWave.cpp:75:20: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
    read(&format, 2);
                    ^
source/sound/source/CSSWave.cpp:86:20: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
   read(dwordTxt, 4);
                    ^
source/sound/source/CSSWave.cpp:90:23: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
    read(&dwordData, 4);
                       ^
source/sound/source/CSSWave.cpp:92:21: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
    read(dwordTxt, 4);
                     ^
source/sound/source/CSSWave.cpp:98:22: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
   read(&dwordData, 4);
                      ^
source/sound/source/IAudioReference.cpp
source/sound/source/ISound.cpp
source/sound/source/ISoundDevice.cpp
source/sound/source/ISoundSource.cpp
source/as_addons/source/scriptany.cpp
source/as_addons/source/scriptarray.cpp
source/as_addons/source/scriptdictionary.cpp
source/as_addons/source/scriptmap.cpp
source/as_addons/source/scripthandle.cpp
source/as_addons/source/scriptmath.cpp
source/as_addons/source/scriptmath.cpp: In function ‘float fpFromIEEE(asUINT)’:
source/as_addons/source/scriptmath.cpp:83:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  return *reinterpret_cast<float*>(&raw);
                                       ^
source/as_addons/source/scriptmath.cpp: In function ‘asUINT fpToIEEE(float)’:
source/as_addons/source/scriptmath.cpp:87:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  return *reinterpret_cast<asUINT*>(&fp);
                                       ^
source/as_addons/source/scriptmath.cpp: In function ‘double fpFromIEEE(asQWORD)’:
source/as_addons/source/scriptmath.cpp:91:40: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  return *reinterpret_cast<double*>(&raw);
                                        ^
source/as_addons/source/scriptmath.cpp: In function ‘asQWORD fpToIEEE(double)’:
source/as_addons/source/scriptmath.cpp:95:40: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  return *reinterpret_cast<asQWORD*>(&fp);
                                        ^
source/as_addons/source/scriptstdstring.cpp
source/as_addons/source/scriptstdstring.cpp:352:15: warning: ‘AddStringUInt(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int)’ defined but not used [-Wunused-function]
 static string AddStringUInt(const string &str, unsigned int i)
               ^
source/as_addons/source/scriptstdstring.cpp:366:15: warning: ‘AddIntString(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)’ defined but not used [-Wunused-function]
 static string AddIntString(int i, const string &str)
               ^
source/as_addons/source/scriptstdstring.cpp:396:15: warning: ‘AddStringInt(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)’ defined but not used [-Wunused-function]
 static string AddStringInt(const string &str, int i)
               ^
source/as_addons/source/scriptstdstring.cpp:410:15: warning: ‘AddUIntString(unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)’ defined but not used [-Wunused-function]
 static string AddUIntString(unsigned int i, const string &str)
               ^
source/as_addons/source/scriptstdstring_utils.cpp
source/as_addons/source/scripthelper.cpp
source/libircclient/src/libircclient.c
source/network/source/address.cpp
source/network/source/message.cpp
source/network/source/message.cpp: In member function ‘void net::Message::writeSmallVec3(double, double, double)’:
source/network/source/message.cpp:1031:36: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  unsigned floatBits = *(unsigned*)&fPrimaryDim;
                                    ^
source/network/source/message.cpp: In member function ‘void net::Message::readSmallVec3(double&, double&, double&)’:
source/network/source/message.cpp:1049:32: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  double primaryDim = *(float*)&floatBits;
                                ^
source/network/source/time.cpp
source/network/source/init.cpp
source/network/source/transport.cpp
source/network/source/message_handler.cpp
source/network/source/connection.cpp
source/network/source/sequence.cpp
source/network/source/server.cpp
source/network/source/client.cpp
source/network/source/lobby.cpp
source/util/source/image.cpp
source/util/source/image.cpp: In function ‘Image* loadPNG(const char*)’:
source/util/source/image.cpp:286:85: error: cannot convert ‘unsigned int*’ to ‘png_uint_32* {aka long unsigned int*}’ for argument ‘3’ to ‘png_uint_32 png_get_IHDR(png_structp, png_infop, png_uint_32*, png_uint_32*, int*, int*, int*, int*, int*)’
 t_IHDR(png, png_info, &w, &h, &depth, &format, &interlace, &compress, &filter);
                                                                              ^
source/util/source/image.cpp: In function ‘void PNG_UTIL::f_read(png_structp, png_bytep, png_size_t)’:
source/util/source/image.cpp:218:50: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
  fread(out, count, 1, (FILE*)png_get_io_ptr(png));
                                                  ^
source/util/gcc/Makefile:89: recipe for target 'obj/lin64/util/image.o' failed
make[1]: *** [obj/lin64/util/image.o] Error 1
source/linux/Makefile:326: recipe for target 'makelibs' failed
make: *** [makelibs] Error 2
se5a@se5aMint /mnt/98448323-4372-4c8a-904a-30b587cc3685/Games/StarRuler2-Source-master $ 

osd.lib

Compiling in VS2017 Community Edition, I keep getting the error LNK1104 osd.lib within the "Patcher" project.

Fatal Error When Trying to Build on Linux Mint 18.3

First off, thank you for releasing this to the community! I look forward to playing this once it gets built.
Anyways when I was trying to build this I got a fatal error. Here's the output from the terminal

source/os/source/threads.cpp
source/os/source/threads_gcc.cpp
source/os/source/files.cpp
source/os/source/files_linux.cpp
source/os/source/files_linux.cpp: In function ‘std::__cxx11::string getWorkingDirectory()’:
source/os/source/files_linux.cpp:18:22: warning: ignoring return value of ‘char* getcwd(char*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
getcwd(buffer, 1024);
^
source/os/source/virtual_asm_linux.cpp
source/os/source/virtual_asm_x64.cpp
source/sound/source/CSound.cpp
source/sound/source/CSoundDevice.cpp
source/sound/source/CSoundSource.cpp
source/sound/source/CStreamSound.cpp
source/sound/source/CSSOgg.cpp
In file included from ./source/sound/ogg/ogg.h:25:0,
from source/sound/source/CSSOgg.cpp:5:
./source/sound/ogg/os_types.h:135:32: fatal error: ogg/config_types.h: No such file or directory
compilation terminated.
source/sound/gcc/Makefile:92: recipe for target 'obj/lin64/sound/CSSOgg.o' failed
make[1]: *** [obj/lin64/sound/CSSOgg.o] Error 1
source/linux/Makefile:326: recipe for target 'makelibs' failed
make: *** [makelibs] Error 2

[Linux][Noncritical?] Shader compilation failure in main menu

OS: Arch Linux as of 22.07.2018
Latest (2 days or so) mesa-git with llvm-svn (their version numbers are not always displayed correctly).
Nothing really happens, menu works, just an error in console

OpenGL vendor 'X.Org', renderer 'Radeon RX 550 Series (POLARIS12, DRM 3.25.0, 4.17.8-1-ARCH, LLVM 7.0.0)'
       version '4.4 (Compatibility Profile) Mesa 18.2.0-devel (git-b21b38c46c)'
Failed to compile shader: /opt/starruler2/data/shaders/source/distant_faded_icon_ps.txt
0:7(43): error: no matching function for call to `max(float, int)'; candidates are:
0:7(43): error:    float max(float, float)
0:7(43): error:    vec2 max(vec2, float)
0:7(43): error:    vec3 max(vec3, float)
0:7(43): error:    vec4 max(vec4, float)
0:7(43): error:    vec2 max(vec2, vec2)
0:7(43): error:    vec3 max(vec3, vec3)
0:7(43): error:    vec4 max(vec4, vec4)
0:7(43): error:    int max(int, int)
0:7(43): error:    ivec2 max(ivec2, int)
0:7(43): error:    ivec3 max(ivec3, int)
0:7(43): error:    ivec4 max(ivec4, int)
0:7(43): error:    ivec2 max(ivec2, ivec2)
0:7(43): error:    ivec3 max(ivec3, ivec3)
0:7(43): error:    ivec4 max(ivec4, ivec4)
0:7(37): error: operands to arithmetic operators must be numeric
0:7(36): error: operands to arithmetic operators must be numeric
0:7(17): error: cannot construct `vec4' from a non-numeric data type

When Terraforming a planet without enough money

The dialog to choose the type of planet to terraform to has the "Terraform" button disabled, as it should.

However, when enough money is available (e.g. next budget cycle) the button won't re-enable until the user selects a different type of terraforming, and then they can go back to their original selection.

It looks like the condition to disable / enable the button is only chosen when the terraforming type is selected. To address this, a callback on the quantity of available funds changing could be used to re-enable the button.

Fail during building

As title says, when building on Visual Studio 2017 in both debug or non-steam versions, building crashes and exits with 2 failed processes.

Exact line: 9>LINK : fatal error LNK1181: cannot open input file 'angelscript64.lib'

[Scripts] Sandbox: random out-of-bounds errors on start

OS: Arch Linux (however it might not really matter)

You start the Design Sandbox and look at the console output.
And with a chance >50% see sth like listed below.
Seems completely random and irreproducable.
Unlike Tutorial, Sandbox doesn't hang

Script Exception: Index out of bounds
/opt/starruler2/scripts/definitions/influence.as
  influence::void InfluenceVoteType::init() | Line 1472 | Col 4
  influence::void init() | Line 4091 | Col 3

Script Exception: Index out of bounds
 /opt/starruler2/scripts/definitions/random_events.as
  random_events::void OnBlock::init(RandomEvent@) | Line 113 | Col 4
  random_events::void EventResult::init(RandomEvent@) | Line 94 | Col 3
  random_events::void EventOption::init(RandomEvent@) | Line 58 | Col 3
  random_events::void RandomEvent::init() | Line 34 | Col 4
  random_events::void init() | Line 521 | Col 3

Script Exception: Index out of bounds
 /opt/starruler2/scripts/definitions/buildings.as
  buildings::void loadBuildings(const string&inout) | Line 552 | Col 5
  buildings::void preInit() | Line 607 | Col 3
...
Error: Could not find building type: 'Altar'
Could not instantiate hook: SpawnBuilding(Altar, (8, 4), Develop = True)
Could not instantiate hook [TriggerHomeworld at 0x7fc07b2265f0] on trait Devout
 Error: Could not find building type: 'MotherStalk'
Could not instantiate hook: SpawnBuilding(MotherStalk, (9, 5), Develop = True)
Could not instantiate hook [TriggerHomeworld at 0x7fc07b244940] on trait Verdant
 Error: Could not find building type: 'AncientCannon'
Could not instantiate hook: SpawnBuilding(AncientCannon, (4, 2))
TriggerCreate(): could not find inner hook:  SpawnBuilding(AncientCannon, (4, 2)) 
Could not instantiate hook: [TriggerCreate at 0x7fc07b89c840] in AncientCannon
 Error: Could not find building type: 'AncientRuins'
Could not instantiate hook: SpawnBuilding(AncientRuins, (2, 2))
TriggerCreate(): could not find inner hook:  SpawnBuilding(AncientRuins, (2, 2)) 
Could not instantiate hook: [TriggerCreate at 0x7fc07b89df80] in AncientRuins
 Error: Could not find building type: 'Factory'
Could not instantiate hook: SpawnBuilding(Factory, (4, 3), Develop = True)
OnEnable(): could not find inner hook: SpawnBuilding(Factory, (4, 3), Develop = True)
Could not instantiate hook: [OnEnable at 0x7fc07b7514e0] in PrivTwinned
 Error: Could not find building type: 'Factory'
Could not instantiate hook: SpawnBuilding(Factory, (4, 3), Develop = True)
 Invalid map hook: \t\t\tSpawnBuilding(Factory, (4, 3), Develop = True)

Naming of Artificial Planetoid

When constructing an artificial planetoid in a system that has been named using the Name System card, the planetoid is named after the original system name, not the new name.

E.g. if you name the system "Bob", but it was originally named "Alice", and then construct an artificial planetoid, the new planet will be named "Alice #" instead of "Bob #"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.