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

6ed522eb3d7e8ad6b4d88b988b8d5f9.png

image.png

在linux上安装

1号机上环境ok了

git clone <https://github.com/colmap/colmap.git>
cd colmap
mkdir build
cd build
cmake ..
make

之后修改cmake_install.cmake文件

/usr/local修改为你的路径

image.png

然后执行

make install

image.png

将路径添加$HOME/local/bin到系统变量

vi ~/.bashrc

export PATH="$HOME/local/bin:$PATH"

image.png