Zooshi
An open source project by FPL.
 All Pages
Building for Linux

Version Requirements

Zooshi is known to build with the following tool versions:

Before Building

Prior to building, install the following components using the Linux distribution's package manager:

For example, on Ubuntu:

sudo apt-get install autoconf automake cmake imagemagick libglapi-mesa libglu1-mesa-dev libtool osspd python ragel webp

Building

  • Generate makefiles from the cmake project in the zooshi directory.
  • Execute make to build the game.

For example:

cd zooshi
cmake -G'Unix Makefiles'
make

To perform a debug build:

cd zooshi
cmake -G'Unix Makefiles' -DCMAKE_BUILD_TYPE=Debug
make

Build targets can be configured using options exposed in zooshi/CMakeLists.txt by using cmake's -D option. Build configuration set using the -D option is sticky across subsequent builds.

For example, if a build is performed using:

cmake -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug
make

to switch to a release build CMAKE_BUILD_TYPE must be explicitly specified:

cmake -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=Release
make

Executing the Game

After building the project, you can execute the game from the command line. For example:

./bin/zooshi