Skip to content

Commit

Permalink
Update INSTALLATION.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkauzh authored Dec 2, 2023
1 parent bdfdd85 commit 4d13937
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions INSTALLATION.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# Linux
You have to have X11, OpenGL, CMake and a C compiler installed.
You have to have X11, OpenGL, GLEW, CMake and a C compiler installed.
## X11
On Debian and derivates like Ubuntu and Linux Mint the xorg-dev meta-package pulls in the development packages for all of X11.
```bash
sudo apt install xorg-dev
sudo apt install xorg-dev libglew-dev
```

On Fedora and derivatives like Red Hat the X11 extension packages libXcursor-devel, libXi-devel, libXinerama-devel and libXrandr-devel required by GLFW pull in all its other dependencies.
```bash
sudo dnf install libXcursor-devel libXi-devel libXinerama-devel libXrandr-devel
sudo dnf install libXcursor-devel libXi-devel libXinerama-devel libXrandr-devel libglew-dev
```

On FreeBSD the X11 headers are installed along the end-user X11 packages, so if you have an X server running you should have the headers as well. If not, install the xorgproto package.
```bash
pkg install xorgproto
pkg install xorgproto libglew-dev
```

On Cygwin the libXcursor-devel, libXi-devel, libXinerama-devel, libXrandr-devel and libXrender-devel packages in the Libs section of the GUI installer will install all the headers and other development related files GLFW requires for X11.
Expand Down

0 comments on commit 4d13937

Please sign in to comment.