At last, it now compiles with GCC! Still there's a gigantic shitload of warnings, it doesn't compile with clang (at least, not here at college) and the binary doesn't launch the game. It still is a long way to go before having a proper build.