https://blog.csdn.net/leviopku/article/details/136480697
https://blog.csdn.net/m0_49441146/article/details/124205223
https://blog.csdn.net/qq_43844342/article/details/114632222
1号机上环境ok了
git clone <https://github.com/colmap/colmap.git>
cd colmap
mkdir build
cd build
cmake ..
make
之后修改cmake_install.cmake文件
将/usr/local
修改为你的路径
然后执行
make install
将路径添加$HOME/local/bin
到系统变量
vi ~/.bashrc
export PATH="$HOME/local/bin:$PATH"