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

CMake error with CUDA 12.2 #188

Open
jameryoung opened this issue Sep 7, 2023 · 1 comment
Open

CMake error with CUDA 12.2 #188

jameryoung opened this issue Sep 7, 2023 · 1 comment

Comments

@jameryoung
Copy link

CMake Error at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find CUDA (missing: CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) (found
suitable version "12.2", minimum required is "8.0")
Call Stack (most recent call first):
/usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.22/Modules/FindCUDA.cmake:1264 (find_package_handle_standard_args)
cmake/CUDA-Version.cmake:14 (find_package)
CMakeLists.txt:3 (include)

@iolalla
Copy link

iolalla commented Dec 15, 2024

I solved this issue forcing NVCC to use gcc-11 , so I modified the build/CMakeCache.txt to use this :
//Host side compiler used by NVCC
CUDA_HOST_COMPILER:FILEPATH=/usr/bin/gcc-11

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