vengi/docs/Dependencies.md

60 lines
1.0 KiB
Markdown
Raw Normal View History

2020-06-28 01:26:29 -07:00
# Dependencies
2019-03-09 00:58:15 -08:00
* cmake
* 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
* 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
```bash
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 \
wayland-protocols pkg-config uuid-dev libsdl2-mixer-dev libuv1-dev
```
2019-03-09 00:58:15 -08: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
```bash
apt-get install postgresql-10 postgresql-contrib
```
2019-03-09 00:58:15 -08:00
```sql
CREATE EXTENSION pgcrypto;
```
2019-03-09 00:58:15 -08:00
## MacPorts
```bash
2021-05-09 07:05:57 -07:00
port install postgresql95-server
```
2019-03-09 00:58:15 -08:00
## Brew
```bash
brew install libuv sdl2 libpq sdl2_mixer
```
2019-03-09 00:58:15 -08:00
## Windows
```bash
vcpkg install sdl2 libuv libpq lua glm glslang gtest
```