From c00406fe871ba0f66ea736f7b0c53b60afa59658 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Mon, 25 Dec 2023 05:11:59 +0300 Subject: [PATCH] README.md update --- README.md | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index ed115467c..4240d6a67 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,9 @@ cmake --build . ## Install libs: #### Debian-based distro: -`$ sudo apt install libglfw3-dev libglfw3 libglew-dev libglm-dev libpng-dev libopenal-dev libluajit-5.1-dev` +```sh +sudo apt install libglfw3-dev libglfw3 libglew-dev libglm-dev libpng-dev libopenal-dev libluajit-5.1-dev +``` CMake missing LUA_INCLUDE_DIR and LUA_LIBRARIES fix: ```sh @@ -38,16 +40,22 @@ sudo ln -s /usr/include/luajit-2.1 /usr/include/lua ``` #### RHEL-based distro: -`$ sudo dnf install glfw-devel glfw glew-devel glm-devel libpng-devel openal-devel` +```sh +sudo dnf install glfw-devel glfw glew-devel glm-devel libpng-devel openal-devel +``` \+ install LuaJIT #### Arch-based distro: If you use X11 -`$ sudo pacman -S glfw-x11 glew glm libpng openal` +```sh +sudo pacman -S glfw-x11 glew glm libpng openal +``` If you use Wayland -`$ sudo pacman -S glfw-wayland glew glm libpng openal` +```sh +sudo pacman -S glfw-wayland glew glm libpng openal +``` \+ install LuaJIT @@ -60,6 +68,8 @@ make && sudo make install INSTALL_INC=/usr/include/lua #### macOS: -`$ brew install glfw3 glew glm libpng` +``` +brew install glfw3 glew glm libpng +``` Download, compile and install OpenAL and LuaJIT