Skip to content

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.

Dependencies (libraries must be i686/lib32):

  • make
  • GCC
  • automake
  • autoconf

Libraries:

  • 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/

Instructions:

  1. Make sure the path leading up to team-comtress-2 has no spaces in it. This will lead to errors compiling Protobuf and gperftools (needed for tcmalloc).
  2. Prepare for unforeseen consequences. (Crashes during compilation are common.)
  3. Run ./build.sh to compile. This can take any amount of time- 10-15 minutes is average.
  4. To make sure it compiled correctly, run it again. If you see no errors, then it compiled. Success!
  5. Run ./link.sh to symlink your tf2 assets into the ../game folder. You will get some 'errors' complaining about files already existing; that is normal.
  6. Run in the main repo folder ./run.sh to launch the game.

Clone this wiki locally