1、关于版本:
colmap链接:https://github.com/colmap/colmap 下载后为colmap_dev.zip
ceres-solver链接:https://ceres-solver.googlesource.com/ceres-solver/+/refs/tags/1.14.0
下载后文件名为:ceres-solver-facb199f3eda902360f9e1d5271372b7e54febe1.tar.gz
不要用最新版的ceres-solver,与最新版的colmap有兼容性问题
2、安装过程:
ceres-solver整体流畅
mkdir build
cd build
cmake .. -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF
make
sudo make install
colmap问题比较多:
2.1 第一个错误#error This file requires compiler and library support for the ISO C++ 2011
在CMakeList.txt中添加:具体位置为
# Include CMake dependencies