安装colmap到cmake ..时报错:
CMake Error at /usr/local/lib/cmake/Ceres/FindGlog.cmake:349 (add_library):
add_library cannot create imported target "glog::glog" because another
target with the same name already exists.
Call Stack (most recent call first):
/usr/local/lib/cmake/Ceres/CeresConfig.cmake:247 (find_package)
cmake/FindDependencies.cmake:35 (find_package)
CMakeLists.txt:87 (include)
解决办法就是 先删除所有colmap文件,然后手动安装Ceres-Solver(这个应该是可选,不太确定)和glog,然后继续按照官方文档安装即可成功。