Docker wsl bulid fail #2593
dakinevich
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
windows 11 wsl
run.sh runs good but build.sh crashes:
CMake Error at /usr/share/cmake-3.22/Modules/CMakeDetermineCompilerId.cmake:726 (message):
Compiling the CUDA compiler identification source file
"CMakeCUDACompilerId.cu" failed.
Compiler: /usr/local/cuda/bin/nvcc
Build flags:
Id flags: --keep;--keep-dir;tmp;-gencode=arch=compute_,code=sm_ -v
The output was:
1
nvcc fatal : Unsupported gpu architecture 'compute_'
Call Stack (most recent call first):
/usr/share/cmake-3.22/Modules/CMakeDetermineCompilerId.cmake:6 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
/usr/share/cmake-3.22/Modules/CMakeDetermineCompilerId.cmake:48 (__determine_compiler_id_test)
/usr/share/cmake-3.22/Modules/CMakeDetermineCUDACompiler.cmake:298 (CMAKE_DETERMINE_COMPILER_ID)
cmake/FindDependencies.cmake:123 (enable_language)
CMakeLists.txt:104 (include)
-- Configuring incomplete, errors occurred!
See also "/colmap/build/CMakeFiles/CMakeOutput.log".
See also "/colmap/build/CMakeFiles/CMakeError.log".
The command '/bin/sh -c cd colmap && git fetch https://github.com/colmap/colmap.git ${COLMAP_GIT_COMMIT} && git checkout FETCH_HEAD && mkdir build && cd build && cmake .. -GNinja -DCMAKE_CUDA_ARCHITECTURES=${CUDA_ARCHITECTURES} -DCMAKE_INSTALL_PREFIX=/colmap_installed && ninja install' returned a non-zero code: 1
Beta Was this translation helpful? Give feedback.
All reactions