以下所有的操作指令依赖的操作系统是Ubuntu 16.04LTS。
Eigen
Eigen is a C++ template library for linear algebra.
1. 安装方法
sudo apt install libeigen3-dev
2. 安装位置
Eigen是一个纯用头文件搭建起来的库(没有库文件),其头文件的默认位置在/usr/include/eigen3
。
Pangolin
Pangolin is a lightweight portable rapid development library for managing OpenGL display / interaction and abstracting video input.
1. 安装方法
git clone https://github.com/stevenlovegrove/Pangolin.git
cd [path-to-Pangolin]
# required dependencies
sudo apt install libgl1-mesa-dev libglew-dev cmake
# recommneded dependencies
sudo apt install libpython2.7-dev python-pip
git submodule init && git submodule update # for pybind11
sudo python -mpip install numpy pyopengl Pillow pybind11 # useful modules
sudo apt install pkg-config # pkg-config
sudo apt install libegl1-mesa-dev libwayland-dev libxkbcommon-dev wayland-protocols # Wayland and EGL
# very optional dependencies: Eigen, CUDA Tool