|
|
|
@ -45,16 +45,16 @@ Linux and FreeBSD you will need a few extra packages. |
|
|
|
|
To compile GLFW for X11, you need to have the X11 development packages |
|
|
|
|
installed. They are not needed to build or run programs that use GLFW. |
|
|
|
|
|
|
|
|
|
On Debian and derivates like Ubuntu the `xorg-dev` meta-package pulls in the |
|
|
|
|
development packages for all of X11. |
|
|
|
|
On Debian and derivates like Ubuntu and Linux Mint the `xorg-dev` meta-package |
|
|
|
|
pulls in the development packages for all of X11. |
|
|
|
|
|
|
|
|
|
@code{.sh} |
|
|
|
|
sudo apt install xorg-dev |
|
|
|
|
@endcode |
|
|
|
|
|
|
|
|
|
On Fedora and its derivatives the X11 extension packages `libXcursor-devel`, |
|
|
|
|
`libXi-devel`, `libXinerama-devel` and `libXrandr-devel` required by GLFW pull |
|
|
|
|
in all its other dependencies. |
|
|
|
|
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. |
|
|
|
|
|
|
|
|
|
@code{.sh} |
|
|
|
|
sudo dnf install libXcursor-devel libXi-devel libXinerama-devel libXrandr-devel |
|
|
|
@ -80,14 +80,14 @@ To compile GLFW for Wayland, you need to have the Wayland and xkbcommon |
|
|
|
|
development packages installed. They are not needed to build or run programs |
|
|
|
|
that use GLFW. |
|
|
|
|
|
|
|
|
|
On Debian and derivates like Ubuntu you will need the `libwayland-dev`, |
|
|
|
|
`libxkbcommon-dev` and `wayland-protocols` packages. |
|
|
|
|
On Debian and derivates like Ubuntu and Linux Mint you will need the |
|
|
|
|
`libwayland-dev`, `libxkbcommon-dev` and `wayland-protocols` packages. |
|
|
|
|
|
|
|
|
|
@code{.sh} |
|
|
|
|
sudo apt install libwayland-dev libxkbcommon-dev wayland-protocols |
|
|
|
|
@endcode |
|
|
|
|
|
|
|
|
|
On Fedora and its derivatives you will need the `wayland-devel`, |
|
|
|
|
On Fedora and derivatives like Red Hat you will need the `wayland-devel`, |
|
|
|
|
`libxkbcommon-devel` and `wayland-protocols-devel` packages. |
|
|
|
|
|
|
|
|
|
@code{.sh} |
|
|
|
|