Closed avinashay closed 1 year ago
Solved it, I had to install master branch of colmap not the dev
git clone https://github.com/colmap/colmap.git cd colmap git checkout master mkdir build cd build cmake .. make -j8 sudo make install
hi, colmap branches had changes, master did not exist anymore, how to find the suitable version of colmap?
@Lifedecoder hi, you can use version 3.8: git checkout 3.8
Hi! I as well checked the version at that time and switched to version 3.8, and the problem solved; I used commands below:
git clone https://github.com/colmap/colmap.git cd colmap git checkout 3.8 mkdir build cd build cmake .. -DCMAKE_CUDA_ARCHITECTURES=native (or there will be error message:CMake Error at CMakeLists.txt:255 (message): You must set CMAKE_CUDA_ARCHITECTURES to e.g. 'native', 'all-major', '70',) make -j8 sudo make install
Thanks very much for your quick response!
I have have installed colmap, with no issues, but gmapper requires aligment.h from colmap which is not present in include folder of colmap, is there any specific version of colmap needs to used ?
bash scripts/build_all.sh
In file included from /home/avinash/Desktop/code/sfm/particle-sfm/sfm/gmapper/src/sfm/incremental_triangulator.cc:32: /home/avinash/Desktop/code/sfm/particle-sfm/sfm/gmapper/src/sfm/incremental_triangulator.h:35:10: fatal error: colmap/util/alignment.h: No such file or directory 35 | #include <colmap/util/alignment.h>