diff --git a/README.md b/README.md index b9553e8d7cf32644b1c05bfc736ee3bf676694d9..5ccb11beae7f9a6d49fcec564f3e8b2208115500 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 +```