Update README.md with a note about required -dev packages on Linux

This commit is contained in:
IntegratedQuantum 2023-09-24 11:09:09 +02:00 committed by GitHub
parent 3c638017f9
commit 257c7d7a3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,6 +35,11 @@ If you forgot the `--recurse-submodules` flag you may need to run `git submodule
3. Go into the folder `cd Cubyz` 3. Go into the folder `cd Cubyz`
4. Run zig `zig build run` 4. Run zig `zig build run`
5. If it's too slow, run it in release: `zig build run -Doptimize=ReleaseFast` 5. If it's too slow, run it in release: `zig build run -Doptimize=ReleaseFast`
#### Note for Linux Users:
I also had to install a few `-dev` packages for the compilation to work:
```
sudo apt install libgl-dev libasound2-dev libx11-dev libxcursor-dev libxrandr-dev libxinerama-dev libxext-dev libxi-dev
```
# Contributing # Contributing
### Code ### Code