Replies: 1 comment 2 replies
-
I got the same problem! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Guys
I am following the step by step guide from (https://colmap.github.io/install.html#pre-built-binaries) but I am getting the following error after the "cmake .." command:
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_CUDA_DEVICE_LINK_EXECUTABLE
and when executing the make -j 8 I get:
[100%] Linking CXX executable colmap
c++: error: CMakeFiles/colmap_exe.dir/cmake_device_link: No such file or directory
src/exe/CMakeFiles/colmap_exe.dir/build.make:425: recipe for target 'src/exe/colmap' failed
make[2]: *** [src/exe/colmap] Error 1
CMakeFiles/Makefile2:1105: recipe for target 'src/exe/CMakeFiles/colmap_exe.dir/all' failed
make[1]: *** [src/exe/CMakeFiles/colmap_exe.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
I am on an Ubuntu 18. 04 and I have installed Nvidia driver 515.57 and cuda 11.7
What I am missing ? what do I have to do to set this variable ?
Any help is appreciated.
tks in advance
Beta Was this translation helpful? Give feedback.
All reactions