Skip to content

Latest commit

 

History

History
39 lines (37 loc) · 786 Bytes

File metadata and controls

39 lines (37 loc) · 786 Bytes

use vcpkg

  • Install vcpkg
$ git clone https://github.com/Microsoft/vcpkg.git
$ cd vcpkg
$ ./bootstrap-vcpkg.sh
  • set as env variables
$echo 'export PATH="$PATH:/path/to/vcpkg"'>> ~/.bashrc
$ source ~/.bashrc
$ ./vcpkg integrate install
  • install cpp lib
$ ./vcpkg install nanoflann
$ ./vcpkg install eigen3
  • 把vcpkg安装的cpp库加入环境变量
$export eigen3_DIR=/home/chenlei/Project/DeepSDF/third-party/vcpkg/installed/x64-linux/share/eigen3

use git

  • compile& install to system lib
git clone --recursive https://github.com/stevenlovegrove/Pangolin.git
cd  Pangolin/
mkdir build
cd build
cmake  ..
make
sudo make install
  • test
ls /usr/local/include/pangolin