-
-
Notifications
You must be signed in to change notification settings - Fork 27
Linux Build Instructions
Margen67 edited this page Sep 24, 2020
·
29 revisions
NOTE: The Linux build is still under development (see PR #140) - don't expect stability of any kind. Caveat compositor.
- 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.
- 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, and unhelpful ones.)
- Run
./build.sh. - To make sure it compiled correctly, run it again. If you see no errors, then it compiled. Success!
- Install your TF2 assets into
../game/tf. If you have TF2 and Steam installed on the same drive, runningcp -rn ~/.steam/steam/steamapps/common/Team\ Fortress\ 2/* ../game/from the main repo folder should work. - Run in the main repo folder
./run.sh. - If you get some errors about a missing client library, enter the
binfolder, which is in the../gamefolder (relative to the main repo folder) and run this command:ln -s ../tf/bin/* ., then try running again. If it still doesn't work, try rebooting.