Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version compatibility issue between colmap and glog #1126

Open
entronad opened this issue Jan 2, 2025 · 3 comments
Open

Version compatibility issue between colmap and glog #1126

entronad opened this issue Jan 2, 2025 · 3 comments

Comments

@entronad
Copy link

entronad commented Jan 2, 2025

Currently, colmap 3.11.1 is only compatible with glog 0.6.0, not the latest version 0.7.1, due to a change in the signature of a send function.
For those looking to compile and install on Linux, a feasible combination of versions is: colmap 3.11.1, glog 0.6.0, and ceres-solver 2.2.0.
I hope this experience can assist those who wish to use colmap with CUDA on Linux.

colmap/colmap#3091

@povolann
Copy link

povolann commented Jan 6, 2025

Currently, colmap 3.11.1 is only compatible with glog 0.6.0, not the latest version 0.7.1, due to a change in the signature of a send function. For those looking to compile and install on Linux, a feasible combination of versions is: colmap 3.11.1, glog 0.6.0, and ceres-solver 2.2.0. I hope this experience can assist those who wish to use colmap with CUDA on Linux.

colmap/colmap#3091

Hi, can you please provide me with more details, on how exactly to do it?
I have tried to install Colmap from snap (it should be an older version, but I guess it doesn't support CUDA - even though it is written "+CUDA" in the Colmap description when I tried to run convert.py, it gave me error

E0106 21:40:11.068116 1138949 cudacc.cc:59] CUDA error at /build/colmap/parts/colmap/src/src/colmap/util/cuda.cc:57 - OS call failed or operation not supported on this OS
ERROR:root:Feature extraction failed with code 256. Exiting.

And when I tried to install Colmap to my Ubuntu 24.04 and build from source (according to the official guide), I always get some mismatch or mistake...

@entronad
Copy link
Author

@povolann
Installing COLMAP is a tough journey. Depending on your Ubuntu version and CUDA version, there are different pitfalls. A large number of articles online suggest that COLMAP and glog version mismatches are common issues that need to be addressed. Therefore, I am sharing my attempts here.

My Ubuntu version is 20, so I cannot help you solve this problem. I completed it with the help of Sonnet 3.5, and I also suggest that you send the error messages to him for a solution.

@povolann
Copy link

@povolann Installing COLMAP is a tough journey. Depending on your Ubuntu version and CUDA version, there are different pitfalls. A large number of articles online suggest that COLMAP and glog version mismatches are common issues that need to be addressed. Therefore, I am sharing my attempts here.

My Ubuntu version is 20, so I cannot help you solve this problem. I completed it with the help of Sonnet 3.5, and I also suggest that you send the error messages to him for a solution.

I have managed to install the proper version of Colmap and now the script works.
Just for the future users on Ubuntu 24.04 this helped to install Colmap properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants