diff --git a/README.md b/README.md index a02c2bb48e2ee4e5f0e51b428579ab99e78d5cad..6db4b686bf97d509300af27548eea025c2699ea7 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