From 52bdfe3e8b6d8ec30d58faa1ee460096c623319d Mon Sep 17 00:00:00 2001 From: ekirchman <47666987+ekirchman@users.noreply.github.com> Date: Sun, 13 Aug 2023 18:43:03 -0500 Subject: [PATCH] Added build intructions for Fedora Linux --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 76ca599..6a828e8 100644 --- a/README.md +++ b/README.md @@ -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!