Merge pull request #9 from ekirchman/dev

Add build intructions for Fedora Linux
This commit is contained in:
Dominic Szablewski 2023-08-14 08:39:13 +02:00 committed by GitHub
commit cb2a1eded3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,6 +17,8 @@ The game currently supports two different platform-backends: [SDL2](https://gith
### Linux
#### Ubuntu
```
# for SDL2 backend
apt install libsdl2-dev libglew-dev
@ -29,6 +31,20 @@ apt install libx11-dev libxcursor-dev libxi-dev libasound2-dev
make sokol
```
#### Fedora
```
# for SDL2 backend
dnf install SDL2-devel glew-devel
make sdl
```
```
# for Sokol backend
dnf install libX11-devel libXi-devel alsa-lib-devel glew-devel libXcursor-devel
make sokol
```
### macOS
Currently only the SDL2 backend works. macOS is very picky about the GLSL shader version when compiling with Sokol and OpenGL3.3; it shouldn't be too difficult to get it working, but will probably require a bunch of `#ifdefs` for SDL and WASM. PRs welcome!