ColMap在Ubuantu下的安装

ColMap安装推荐使用Ubuantu系统,尽量不用CentOS系统,安装编译比较繁琐。在参照官网安装时遇到一些问题,特此记录一下。

 

一、安装依赖

sudo apt-get install \ 

      git \

      cmake \

      build-essential \

      libboost-program-options-dev \

      libboost-filesystem-dev \

      libboost-graph-dev \

      libboost-regex-dev \

      libboost-system-dev \

      libboost-test-dev \

      libeigen3-dev \

      libsuitesparse-dev \

      libfreeimage-dev \

      libgoogle-glog-dev \

      libgflags-dev \

      libglew-dev \

      qtbase5-dev \

      libqt5opengl5-dev \

      libcgal-dev

 

二、安装 CGAL Qt5 包

sudo apt-get install libcgal-qt5-dev

 

三、安装Ceres Solver

sudo apt-get install libatlas-base-dev libsuitesparse-dev

git clone https://ceres-solver.googlesource.com/ceres-solver cd ceres-solver

git checkout $(git describe --tags) # Checkout the latest release

mkdir build

cd build

cmake .. -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF

make sudo make install

 

如果上面git的网址如果连接不上,可以连接

git clone https://github.com/ceres-solver/ceres-solver.git

 

四、安装colmap

git clone https://github.com/colmap/colmap.git cd colmap git checkout dev mkdir build cd build cmake .. make sudo make install

 

五、运行ColMap

colmap -h

colmap gui

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章