Skip to content
Snippets Groups Projects
Commit 19a2f230 authored by Sylvain Calinon's avatar Sylvain Calinon
Browse files

Updated glfw instructions

parent 04d3b553
No related branches found
No related tags found
No related merge requests found
......@@ -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
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment