Added build intructions for Fedora Linux

This commit is contained in:
ekirchman 2023-08-13 18:43:03 -05:00
parent b484e85e7e
commit 52bdfe3e8b

View file

@ -17,6 +17,8 @@ The game currently supports two different platform-backends: [SDL2](https://gith
### Linux ### Linux
#### Ubuntu
``` ```
# for SDL2 backend # for SDL2 backend
apt install libsdl2-dev libglew-dev apt install libsdl2-dev libglew-dev
@ -29,6 +31,20 @@ apt install libx11-dev libxcursor-dev libxi-dev libasound2-dev
make sokol 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 ### 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! 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!