So I’m trying to compile Tremulous, but both Windows and Linux it throws me heaps of errors in my face (Cron, still haven’t tried the Windows solution you gave, will give that a go this weekend)
This topic is mainly for myself to keep track of my progress and possibly help others in the future to compile Tremulous on a modern day Debian.
Step one: install GCC (should be there by default, my debian install lacked it due to netinstall without a net)
Step two: apt-get install libsdl-gfx1.2-dev (Will ask to download a ton more libs, just Y it)
Step three: ln -s /usr/include/freetype2 /usr/local/include/freetype
Step four: Work in Progress.
For now I’m stuck on getting freetype to cooperate, throws me
In file included from src/renderer/tr_font.c:80:0:
/usr/include/freetype2/fterrdef.h:34:3: error: expected ‘,’ or ‘}’ before ‘(’ token
FT_NOERRORDEF_( Ok, 0x00, \
^
Makefile:1646: recipe for target 'build/release-linux-x86_64/client/tr_font.o' failed
make[2]: *** [build/release-linux-x86_64/client/tr_font.o] Error 1
make[2]: Leaving directory '/home/dunc/grangerhub/git/tremulous-1-1'
Makefile:968: recipe for target 'targets' failed
make[1]: *** [targets] Error 2
make[1]: Leaving directory '/home/dunc/grangerhub/git/tremulous-1-1'
Makefile:959: recipe for target 'release' failed
make: *** [release] Error 2
So yeah , currently stuck here. Not sure what my next step would be, googling hasnt giving me any help, there was a tremulous topic somewhere, but its gone now (only shows in google results, website itself removed it and archive.org didnt archive it >.>)
[code]src/renderer/tr_font.c:80:31: fatal error: freetype/fterrors.h: No such file or directory #include <freetype/fterrors.h>
^
compilation terminated.
Makefile:1646: recipe for target ‘build/release-linux-x86_64/client/tr_font.o’ failed
make[2]: *** [build/release-linux-x86_64/client/tr_font.o] Error 1
make[2]: Leaving directory ‘/home/dunc/grangerhub/git/tremulous-1-1’
Makefile:968: recipe for target ‘targets’ failed
make[1]: *** [targets] Error 2
make[1]: Leaving directory ‘/home/dunc/grangerhub/git/tremulous-1-1’
Makefile:959: recipe for target ‘release’ failed
make: *** [release] Error 2
[/code]
Other solution was to just change the include to #include “freetype.h”, but there is no such include and didn’t want to dick around in the makefile where grep -r ‘freetype’ only gave me