Skip to content

Instantly share code, notes, and snippets.

@kwea123
Created April 26, 2020 10:07
Show Gist options
  • Save kwea123/f0e8f38ff2aa94495dbfe7ae9219f75c to your computer and use it in GitHub Desktop.
Save kwea123/f0e8f38ff2aa94495dbfe7ae9219f75c to your computer and use it in GitHub Desktop.
colmap_colab.ipynb
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@AvishkarArjan
Copy link

Hello, I had some problems in the last run COLMAP step, could you help me? image

Hello, I had the same problem, Have you solved the problem? May I ask how it was solved?

Hi I'm having the same problem, did you find a soln ? Do tell

@BernardonsDD3
Copy link

Hello! I've got this error.:
CMake Warning at cmake/CMakeHelper.cmake:103 (add_executable):
Cannot generate a safe runtime search path for target colmap_main because
files in some directories may conflict with libraries in implicit
directories:

runtime library [libtbb.so.12] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib

Some of these libraries may not be found correctly.
Call Stack (most recent call first):
src/colmap/exe/CMakeLists.txt:67 (COLMAP_ADD_EXECUTABLE)

CMake Error in src/colmap/math/CMakeLists.txt:
Imported target "metis" includes non-existent path

"/content/ceres-solver/build/colmap/build/colmap/METIS_INCLUDE_DIRS-NOTFOUND"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

  • The path was deleted, renamed, or moved to another location.

  • An install or uninstall procedure did not complete successfully.

  • The installation package was faulty and references files it does not
    provide.

-- Generating done (0.2s)
CMake Generate step failed. Build files cannot be regenerated correctly.

Do you guys know how to fix it?

@wzds2015
Copy link

wzds2015 commented Jul 1, 2024

Hello! I've got this error.: CMake Warning at cmake/CMakeHelper.cmake:103 (add_executable): Cannot generate a safe runtime search path for target colmap_main because files in some directories may conflict with libraries in implicit directories:

runtime library [libtbb.so.12] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib

Some of these libraries may not be found correctly. Call Stack (most recent call first): src/colmap/exe/CMakeLists.txt:67 (COLMAP_ADD_EXECUTABLE)

CMake Error in src/colmap/math/CMakeLists.txt: Imported target "metis" includes non-existent path

"/content/ceres-solver/build/colmap/build/colmap/METIS_INCLUDE_DIRS-NOTFOUND"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

  • The path was deleted, renamed, or moved to another location.
  • An install or uninstall procedure did not complete successfully.
  • The installation package was faulty and references files it does not
    provide.

-- Generating done (0.2s) CMake Generate step failed. Build files cannot be regenerated correctly.

Do you guys know how to fix it?

I am getting the same error!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment