Building - AsGreyWolf/Teeworlds3d GitHub Wiki
Building for Windows
- Open compile.bat with any text editor and change
@call on the top of the file.
- Start compile.bat
- If there is some errors about glew32s.lib, copy glew32s.lib from
other/glew/lib folder to obj/ folder and retry
- Copy all DLLs from
other/ folder to the current folder
Building for Linux
- Install g++ sdl2-dev sdl2-image-dev sdl2-ttf-dev glew-dev (
sudo apt-get install g++ libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev libglew-dev)
- Change directory to the source directory
- Run
./compile.sh