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

Google Colab colmap script not working ("FileNotFoundError: [Errno 2] No such file or directory: 'colmap'") #209

Open
JavierUrenaPhDProjects opened this issue Jul 10, 2023 · 1 comment

Comments

@JavierUrenaPhDProjects
Copy link

JavierUrenaPhDProjects commented Jul 10, 2023

Hello so Im trying to create my own dataset with the google colab notebook: https://colab.research.google.com/gist/kwea123/f0e8f38ff2aa94495dbfe7ae9219f75c/colmap_colab.ipynb#scrollTo=d9ryuCQt2hEv

First, I have trouble installing COLMAP, getting this error:

CMake Error at cmake/FindFLANN.cmake:91 (message):
Could not find FLANN
Call Stack (most recent call first):
CMakeLists.txt:95 (find_package)

After following all the steps and reach the "Run COLMAP!" cell it just says "no such file or directory: colmap'' (supposedly because it did not install well). I've seen other similar issues like #152 or #147 but they are not clearly explained nor exactly my problem. Is there maybe something else to take into consideration?

Thanks

@YUEVII
Copy link

YUEVII commented Mar 6, 2024

I met the same issue and I put these code on the top of the given code(original cell) and it works!:
sudo apt-get install
git
cmake
ninja-build
build-essential
libboost-program-options-dev
libboost-filesystem-dev
libboost-graph-dev
libboost-system-dev
libeigen3-dev
libflann-dev
libfreeimage-dev
libmetis-dev
libgoogle-glog-dev
libgtest-dev
libsqlite3-dev
libglew-dev
qtbase5-dev
libqt5opengl5-dev
libcgal-dev
libceres-dev

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