I'm experiencing problems compiling the sources.
Upon extraction I can see that makefiles are provided in d2x-xl-makefiles.7z
Should I overwrite existing files or not? These files are conflicting (present both in the game archive and in makefiles archive):
if you owerwrite and if not, you'll get the same compilation errors after configuring
./configure --disable-debug --enable-release
and running make:
In file included from bitblt.cpp:18:0:
../include/descent.h:1772:3: error: ‘CTimeout’ does not name a type
CTimeout is defined in timeout.h but it's included only if OCULUS_RIFT is defined
including timeout.h unconditionally takes your further until you face another compilation error:
string.cpp: In function ‘int Pow2ize(int)’:
string.cpp:467:33: error: ‘int Pow2ize(int)’ was declared ‘extern’ and later ‘static’ [-fpermissive]
static inline int Pow2ize (int v)
In file included from ../include/bitmap.h:56:0,
../include/ogl_texture.h:148:5: error: previous declaration of ‘int Pow2ize(int)’ [-fpermissive]
int Pow2ize (int x);
Fixing this error leads you to another error. and so on...
after an hour I managed to get it to the final stage where it attempts to link objects files into d2x-xl executable but still fails.
Log in to post a comment.