vengi/docs/Dependencies.md

1.0 KiB

Dependencies

  • cmake
  • ninja-build
  • postgresql

Libraries

  • development headers/libs for
    • glm
    • lua >= 5.4
    • sdl2 > 2.0.4
    • postgresql-server-dev >= 9.5
    • libpq
    • enet
    • libuv
    • gtest
    • opencl (optional)
    • libuuid

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.

Debian

apt-get install libglm-dev lua5.4 liblua5.4-dev libsdl2-dev postgresql-server-dev-all \
    libpq-dev libenet-dev opencl-c-headers \
    wayland-protocols pkg-config uuid-dev libsdl2-mixer-dev libuv1-dev

If you want to run the database server locally, you have to install the postgres server package:

apt-get install postgresql-10 postgresql-contrib
CREATE EXTENSION pgcrypto;

MacPorts

port install postgresql95-server

Brew

brew install libuv sdl2 libpq sdl2_mixer

Windows

vcpkg install sdl2 libuv libpq lua glm glslang gtest