3DGE's source code will not compile on Linux [FIXED]
Posted: Sat Nov 15, 2014 4:28 pm
When i tried to compile 3DGE on Lubuntu 14.04 , it didn't worked out-of-the-box and i had to fix all the errors.
After that, i got a working build and i'm perhaps the first human being to have 3DGE running on Linux.
What i did :
- To the file dff/local.h, i had to add this line
Now, 3DGE can be compiled with GCC 4.7.
Note that EDGE 1.35 is also affected by this.
- I had to fix all the wrong local paths.
For example, this line in the file src/sv_chunk.cc :
has obviously a wrong path and it will not compile on *nix.
- I had to fix to the makefile because someone forgot
to add the object file for e_splash.cc.
After you did everything i have listed here, it should work.
For some odd reasons, 3DGE on linux can find 'EDGE2.wad' but not 'edge2.wad'.
Also, when you open the console in-game, the 3DGE logo don't show up.
The complete source code can be found here
I have also provided the executable for Ubuntu 14.04 64-bits.
3DGE team, pls fix the sauce.
Thanks
After that, i got a working build and i'm perhaps the first human being to have 3DGE running on Linux.
What i did :
- To the file dff/local.h, i had to add this line
Code: Select all
#include <cstddef>
Note that EDGE 1.35 is also affected by this.
- I had to fix all the wrong local paths.
For example, this line in the file src/sv_chunk.cc :
Code: Select all
#include "C:/hyperedge/edge2/lib_win32/zlib-1.2.3/zlib.h"
- I had to fix to the makefile because someone forgot
to add the object file for e_splash.cc.
After you did everything i have listed here, it should work.
For some odd reasons, 3DGE on linux can find 'EDGE2.wad' but not 'edge2.wad'.
Also, when you open the console in-game, the 3DGE logo don't show up.
The complete source code can be found here
I have also provided the executable for Ubuntu 14.04 64-bits.
3DGE team, pls fix the sauce.
Thanks