Skip to content
Snippets Groups Projects
Commit 64b18436 authored by Philip ABBET's avatar Philip ABBET
Browse files

README - Add instructions about Armadillo

parent 4ebc7d38
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,8 @@ This work was in part supported by the DexROV project through the EC H2020 progr ...@@ -13,7 +13,8 @@ This work was in part supported by the DexROV project through the EC H2020 progr
### Prerequisite ### 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 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 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 ...@@ -33,12 +34,14 @@ make
### glfw3 installation ### glfw3 installation
On Debian: **On Debian:**
``` ```
sudo apt-get install libglfw3-dev sudo apt-get install libglfw3-dev
``` ```
**Installation from source**
If libglfw3-dev is not available on your system, you can install it manually with: If libglfw3-dev is not available on your system, you can install it manually with:
``` ```
...@@ -52,10 +55,16 @@ sudo make install ...@@ -52,10 +55,16 @@ sudo make install
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib 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. static library.
### Armadillo installation
See [http://arma.sourceforge.net/download.html](http://arma.sourceforge.net/download.html)
for instructions.
### References and list of examples ### 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) See [https://gitlab.idiap.ch/rli/pbdlib-cpp/blob/master/examples.md](https://gitlab.idiap.ch/rli/pbdlib-cpp/blob/master/examples.md)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment