From 19a2f2303e61efc6eca4c9b53bf54905ac680a8c Mon Sep 17 00:00:00 2001 From: Sylvain Calinon <sylvain.calinon@gmail.com> Date: Wed, 14 Sep 2016 13:20:03 +0200 Subject: [PATCH] Updated glfw instructions --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index b9553e8..5ccb11b 100644 --- a/README.md +++ b/README.md @@ -22,10 +22,13 @@ cmake .. make ``` -### glfw3 library install +### glfw3 deb package install -Clone and install the latest version of GLFW to a folder of your choice: +``` +sudo apt-get install libglfw3-dev +``` +If libglfw3-dev is not available on your system, you can install manually with: ``` git clone https://github.com/glfw/glfw.git cd glfw @@ -35,15 +38,12 @@ cmake -DBUILD_SHARED_LIBS=ON ../ make sudo make install ``` +**Note** The `-DBUILD_SHARED_LIBS` is necessary otherwise cmake will create a static library. -**Notes** The `-DBUILD_SHARED_LIBS` is necessary otherwise cmake will create a static library. - -Currently, GLFW3 is usually not available with apt-get but if it is available on your system, you can use : -*sudo apt-get install libglfw3-dev* ### Execution The GUI can be run with ``` ./pbdlib_gui -``` \ No newline at end of file +``` -- GitLab