2020-06-28 01:26:29 -07:00
|
|
|
# Dependencies
|
2020-05-14 14:30:57 -07:00
|
|
|
|
2019-03-09 00:58:15 -08:00
|
|
|
* cmake
|
2020-02-16 03:59:07 -08:00
|
|
|
* ninja-build
|
2020-06-28 01:26:29 -07:00
|
|
|
* postgresql
|
|
|
|
|
|
|
|
## Libraries
|
|
|
|
|
2019-03-09 00:58:15 -08:00
|
|
|
* development headers/libs for
|
|
|
|
* glm
|
2020-09-03 10:43:10 -07:00
|
|
|
* lua >= 5.4
|
2019-03-09 00:58:15 -08:00
|
|
|
* sdl2 > 2.0.4
|
|
|
|
* postgresql-server-dev >= 9.5
|
|
|
|
* libpq
|
|
|
|
* enet
|
|
|
|
* libuv
|
|
|
|
* gtest
|
2020-06-28 01:26:29 -07:00
|
|
|
* opencl (optional)
|
2019-03-09 00:58:15 -08:00
|
|
|
* libuuid
|
|
|
|
|
2019-11-17 04:11:42 -08:00
|
|
|
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.
|
2019-03-09 00:58:15 -08:00
|
|
|
|
|
|
|
## Debian
|
|
|
|
|
2020-05-14 14:30:57 -07:00
|
|
|
```bash
|
2020-09-03 10:43:10 -07:00
|
|
|
apt-get install libglm-dev lua5.4 liblua5.4-dev libsdl2-dev postgresql-server-dev-all \
|
2020-09-20 11:48:58 -07:00
|
|
|
libpq-dev libenet-dev opencl-c-headers \
|
2020-09-03 10:43:10 -07:00
|
|
|
wayland-protocols pkg-config uuid-dev libsdl2-mixer-dev libuv1-dev
|
2020-05-14 14:30:57 -07:00
|
|
|
```
|
2019-03-09 00:58:15 -08:00
|
|
|
|
2020-05-14 14:30:57 -07:00
|
|
|
If you want to run the database server locally, you have to install the postgres server package:
|
2019-03-09 00:58:15 -08:00
|
|
|
|
2020-05-14 14:30:57 -07:00
|
|
|
```bash
|
|
|
|
apt-get install postgresql-10 postgresql-contrib
|
|
|
|
```
|
2019-03-09 00:58:15 -08:00
|
|
|
|
2020-05-14 14:30:57 -07:00
|
|
|
```sql
|
|
|
|
CREATE EXTENSION pgcrypto;
|
|
|
|
```
|
2019-03-09 00:58:15 -08:00
|
|
|
|
|
|
|
## MacPorts
|
2020-05-14 14:30:57 -07:00
|
|
|
|
|
|
|
```bash
|
2021-05-09 07:05:57 -07:00
|
|
|
port install postgresql95-server
|
2020-05-14 14:30:57 -07:00
|
|
|
```
|
2019-03-09 00:58:15 -08:00
|
|
|
|
2019-06-05 12:05:14 -07:00
|
|
|
## Brew
|
2020-05-14 14:30:57 -07:00
|
|
|
|
|
|
|
```bash
|
2021-11-21 13:00:55 -08:00
|
|
|
brew install libuv sdl2 libpq sdl2_mixer
|
2020-05-14 14:30:57 -07:00
|
|
|
```
|
2019-06-05 12:05:14 -07:00
|
|
|
|
2019-03-09 00:58:15 -08:00
|
|
|
## Windows
|
2020-05-14 14:30:57 -07:00
|
|
|
|
|
|
|
```bash
|
2021-11-21 13:00:55 -08:00
|
|
|
vcpkg install sdl2 libuv libpq lua glm glslang gtest
|
2020-05-14 14:30:57 -07:00
|
|
|
```
|