Compiling Teeworlds

IMPORTANT NOTE: Teeworlds 0.5.2 and earlier requires python 2.x to compile. Python 3.x will not work. Python 3.x support is introduced with Teeworlds 0.6.0.

Also: If you are using bam 0.2.0 (needed for Teeworlds 0.5.2 and earlier) the bam binary will not be in the bam directory, but in bam/src. You will need to change the paths accordingly to that or copy/move the bam executable to the bam directory.

FAQ

Q: How do I get rid of these errors?

undefined reference to `__stack_chk_guard'

Remove -fstack-protector -fstack-protector-all from bam.lua (in 0.5.2 and earlier default.bam) in Teeworlds root directory and then run