From 8075cda0e7edcabc24d36234c522987d4ebada09 Mon Sep 17 00:00:00 2001 From: Sylvain CALINON <sylvain.calinon@idiap.ch> Date: Mon, 1 Feb 2016 18:39:27 +0100 Subject: [PATCH] Updated install instructions for glfw --- README.md | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a02c2bb..6db4b68 100644 --- a/README.md +++ b/README.md @@ -22,13 +22,24 @@ cmake .. make ``` -### glfw3 deb package install +### glfw3 library install + +Clone and install the latest version of GLFW to a folder (not in the ros path): ``` -sudo apt-get install libglfw3-dev +git clone https://github.com/glfw/glfw.git``` +cd glfw +mkdir build +cd build +cmake -DBUILD_SHARED_LIBS=ON ../ +make +sudo make install ``` -If libglfw3-dev is not available on your system, you can enable it by following the instructions on http://packages.ubuntu.com/utopic/libglfw3-dev and http://packages.ubuntu.com/utopic/i386/libglfw3-dev/download +**Notes** The `-DBUILD_SHARED_LIBS` is necessary otherwise cmake will create a static library. + +At the current date this is not the case, but eventualy GLFW3 may be available on apt get with: +*sudo apt-get install libglfw3-dev* ### Execution -- GitLab