question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error while building colmap with vcpkg, any alternative with prebuilt colmap?

See original GitHub issue

I tried installing colmap with vcpkg as suggested in the documentation vcpkg install colmap[cuda]:x64-windows

I faced an error which is described in the following issue: https://github.com/microsoft/vcpkg/issues/27956

So meanwhile, I already have a prebuilt colmap installed, and I have the COLMAP.bat in my path. Yet when I’m running ns-process-data it says that COLMAP is not found.

Do you have any info if there is a workaround? Especially if I can avoid having to recompile all I need myself.

OS: Windows 10 nerfstudio: installed with pip in a conda environment.

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
mpizenbergcommented, Nov 22, 2022

I saw that in the google collab setup so I tried just before leaving work and the colmap I got seemed to not be working (returned immediately without running anything). I’ll dig deeper in the coming days, but not tomorrow as I’ve other things on my plate right now and was exploring nerfstudio while waiting on other things at work. Anyway, I’ll definitely persevere in the coming days / weeks and report here solutions or issues.

0reactions
mpizenbergcommented, Dec 10, 2022

I’m not sure what I did wrong the first time around when trying to use colmap with the prebuilt archive. I retested everything and now it seems to be working. So as a summary for how to get colmap working with nerfstudio on windows:

  • OK: extract prebuilt colmap from latest release and add to the PATH the directory containing the COLMAP.bat file
  • NOT ok: install via vcpkg. There is a visual studio 2022 bug.
  • NOT ok: install via conda. The executable returns immediately.

After trying many things, the conda behavior is the same as if trying to execute the bin/colmap.exe file inside the colmap archive. So maybe I’m wrong, but it could be a hint that the conda install places the bin/colmap.exe in our path instead of the bat file.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[colmap] Build error · Issue #24927 · microsoft/vcpkg - GitHub
Describe the bug -My goal is to build colmap on Windows 10 x64 environment. So I did the following command available at ......
Read more >
Installation — COLMAP 3.8 documentation
Build from Source . COLMAP builds on all major platforms (Linux, Mac, Windows) with little effort. First, checkout the latest source code:....
Read more >
Compiling source: COLMAP make failed at 96%
https://colmap.github.io/install.html#build-from-source. However, It crashes with an error at 96% completion. For trial and error sake, I have started from ...
Read more >
Installation - Ceres Solver
Start by installing all the dependencies. # CMake sudo apt-get install cmake # google-glog + gflags sudo apt-get install libgoogle- ...
Read more >
Vcpkg latest version - Awesome C++
Vcpkg latest version is 2020.11. It was released on November 03, 2020 - about 2 years ago.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found