Skip to content

Commit

Permalink
README.md update
Browse files Browse the repository at this point in the history
  • Loading branch information
MihailRis committed Dec 25, 2023
1 parent 844f001 commit c00406f
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand All @@ -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

0 comments on commit c00406f

Please sign in to comment.