diff --git a/README.md b/README.md index c27d9827d00f21f0e7221f0a8cdc8351cfba476f..fdbf570bd6bf8a853606c66b4ab624592a6d86bf 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,8 @@ This work was in part supported by the DexROV project through the EC H2020 progr ### Prerequisite -The program requires glfw3 (lightweight and portable library for managing OpenGL contexts, windows and inputs). +The program requires glfw3 (lightweight and portable library for managing OpenGL contexts, windows and inputs) and +Armadillo (C++ library for linear algebra & scientific computing). Instructions are given below. ImGui (graphical user interface library for C++, [https://github.com/ocornut/imgui](https://github.com/ocornut/imgui)) and gfx_ui (a minimal geometry editing UI, [https://github.com/colormotor/gfx\_ui](https://github.com/colormotor/gfx_ui)), are also @@ -33,12 +34,14 @@ make ### glfw3 installation -On Debian: +**On Debian:** ``` sudo apt-get install libglfw3-dev ``` +**Installation from source** + If libglfw3-dev is not available on your system, you can install it manually with: ``` @@ -52,10 +55,16 @@ sudo make install export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib ``` -**Note:** The `-DBUILD_SHARED_LIBS` is necessary otherwise cmake will create a +*Note:* The `-DBUILD_SHARED_LIBS` is necessary otherwise cmake will create a static library. +### Armadillo installation + +See [http://arma.sourceforge.net/download.html](http://arma.sourceforge.net/download.html) +for instructions. + + ### References and list of examples See [https://gitlab.idiap.ch/rli/pbdlib-cpp/blob/master/examples.md](https://gitlab.idiap.ch/rli/pbdlib-cpp/blob/master/examples.md)