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

Compiling Alicevision in Linux docker with cuda-12.1 ,but gives error:could not found cuda #1747

Open
zmhcasmy opened this issue Sep 20, 2024 · 1 comment

Comments

@zmhcasmy
Copy link

CMake Error at /home/cmake-3.29.8-linux-x86_64/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find CUDA (missing: CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS
CUDA_CUDART_LIBRARY) (Required is at least version "7.0")
Call Stack (most recent call first):
/home/cmake-3.29.8-linux-x86_64/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
/home/cmake-3.29.8-linux-x86_64/share/cmake-3.29/Modules/FindCUDA.cmake:1291 (find_package_handle_standard_args)
CMakeLists.txt:77 (find_package)

@c-ewing
Copy link
Contributor

c-ewing commented Dec 4, 2024

There are docker files for compiling AliceVision in the docker folder, are you using those? If not are you building your image based on one of the appropriate nvidia/cuda reference images as it appears CUDA is not installed.

I've personally had success building AliceVision from source using the Dockerfiles and scripts provided.

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