Skip to content

Dependencies

  • cmake
  • ninja-build or make
  • compiler (see compilation docs)

Libraries

  • development headers/libs for
  • glm
  • lua >= 5.4
  • sdl2 > 2.0.16
  • gtest (and gmock)
  • freetype2 (optional)
  • libjpeg (optional but recommended)

Some of these dependencies might not be available as packages in your toolchain - most of them are also bundled with the application. But local installed headers always have the higher priority. Usually you don't have to install anything of these.

Debian

apt-get install binutils-dev libunwind-dev libglm-dev lua5.4 liblua5.4-dev libfreetype-dev libsdl2-dev wayland-protocols pkg-config libjpeg-dev

Arch

pacman -Sy git make cmake ninja sdl2 clang

Brew

brew install sdl2 jpeg-turbo freetype cmake ninja pkg-config

Windows

vcpkg install pkg-config sdl2 libjpeg-turbo lua glm glslang gtest freetype