CMake Error at /usr/share/cmake/Modules/Internal/CMakeCUDAFindToolkit.cmake:104 (message):
Failed to find nvcc.
Compiler requires the CUDA toolkit. Please set the CUDAToolkit_ROOT
variable.
Call Stack (most recent call first):
/usr/share/cmake/Modules/CMakeDetermineCUDACompiler.cmake:85 (cmake_cuda_find_toolkit)
CMakeLists.txt:24 (project)
Building branch v4.10.2 or with the instructions in the README also fails. building with cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc-11 -DCMAKE_CXX_COMPILER=g++-11 -DCMAKE_CUDA_COMPILER=/opt/cuda/bin/nvcc, I get
When building with the instructions in https://github.com/chrxh/alien/issues/100#issuecomment-2308899636, I get the following error.
Building branch v4.10.2 or with the instructions in the README also fails. building with
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc-11 -DCMAKE_CXX_COMPILER=g++-11 -DCMAKE_CUDA_COMPILER=/opt/cuda/bin/nvcc
, I getI am using the Arch CUDA package.