From 673d5b55e708751715590792b44ce06b8b045a65 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Fri, 17 May 2013 02:52:33 +0200 Subject: [PATCH] Added section on Ubuntu dependencies. --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 02ed0eb6..0ecaa620 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,16 @@ GLFW 3 API. To compile GLFW and the accompanying example programs, you will need the [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 There are a number of CMake build options for GLFW, although not all are