-
-
Notifications
You must be signed in to change notification settings - Fork 27
Linux Build Instructions
Melvyn Depeyrot edited this page Oct 2, 2020
·
29 revisions
NOTE: The Linux build is still under development (see PR #140) - don't expect stability of any kind. Caveat compiler.
- make
- GCC
- automake
- autoconf
- libunwind
- glibc
- freetype
- fontconfig
- libGL
- libX11
- openal
- libncurses
- libcurl-gnutls
Note: If you get an error in compiling due to -lcurl-gnutls being missing, you need a symlink:
sudo ln -s /usr/lib32/libcurl-gnutls.so.4 /usr/lib32/libcurl-gnutls.so
This occurs on Arch/pacman based distros as far as we know.
Note: If you get an error in compiling due to ft2build.h being missing, you need a symlink:
sudo ln -s /usr/include/freetype2/ft2build.h /usr/include/
- Make sure the path leading up to
team-comtress-2has no spaces in it. This will lead to errors compiling Protobuf and gperftools (needed for tcmalloc). - Prepare for unforeseen consequences. (Crashes during compilation are common.)
- Run
./build.shto compile. This can take any amount of time- 10-15 minutes is average. - To make sure it compiled correctly, run it again. If you see no errors, then it compiled. Success!
- Run
./link.shto symlink your tf2 assets into the../gamefolder. You will get some 'errors' complaining about files already existing; that is normal. - Run in the main repo folder
./run.shto launch the game.