Added section on Ubuntu dependencies.
This commit is contained in:
parent
c00d057eda
commit
673d5b55e7
10
README.md
10
README.md
@ -26,6 +26,16 @@ GLFW 3 API.
|
|||||||
To compile GLFW and the accompanying example programs, you will need the
|
To compile GLFW and the accompanying example programs, you will need the
|
||||||
[CMake](http://www.cmake.org/) build system.
|
[CMake](http://www.cmake.org/) build system.
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
#### X11 dependencies
|
||||||
|
|
||||||
|
To compile GLFW for X11 and GLX, you need to have the X and OpenGL header
|
||||||
|
packages installed. For example, on Ubuntu and other distributions based on
|
||||||
|
Debian GNU/Linux, you need to install the `xorg-dev` and `libglu1-mesa-dev`
|
||||||
|
packages. Note that using header files from Mesa *will not* tie your binary to
|
||||||
|
the Mesa implementation of OpenGL.
|
||||||
|
|
||||||
### CMake options
|
### CMake options
|
||||||
|
|
||||||
There are a number of CMake build options for GLFW, although not all are
|
There are a number of CMake build options for GLFW, although not all are
|
||||||
|
Loading…
Reference in New Issue
Block a user