You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed SUSAN on an Ubuntu 20.04 workstation running CUDA 11.4. During cmake, I got the following error:
########################################
CMake Warning at CMakeLists.txt:27 (find_package):
By not providing "FindCUDAToolkit.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"CUDAToolkit", but CMake did not find one.
Could not find a package configuration file provided by "CUDAToolkit" with
any of the following names:
CUDAToolkitConfig.cmake
cudatoolkit-config.cmake
Add the installation prefix of "CUDAToolkit" to CMAKE_PREFIX_PATH or set
"CUDAToolkit_DIR" to a directory containing one of the above files. If
"CUDAToolkit" provides a separate development package or SDK, be sure it
has been installed.
CMake Error at CMakeLists.txt:43 (message):
SUSAN does not support your CUDA toolkit version.
I installed SUSAN on an Ubuntu 20.04 workstation running CUDA 11.4. During cmake, I got the following error:
########################################
CMake Warning at CMakeLists.txt:27 (find_package):
By not providing "FindCUDAToolkit.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"CUDAToolkit", but CMake did not find one.
Could not find a package configuration file provided by "CUDAToolkit" with
any of the following names:
Add the installation prefix of "CUDAToolkit" to CMAKE_PREFIX_PATH or set
"CUDAToolkit_DIR" to a directory containing one of the above files. If
"CUDAToolkit" provides a separate development package or SDK, be sure it
has been installed.
CMake Error at CMakeLists.txt:43 (message):
SUSAN does not support your CUDA toolkit version.
-- Configuring incomplete, errors occurred!
###########################################
I solved this by specifying the cuda path in CMakeLists.txt and removing the rest of the Configure CUDA section
set(CMAKE_PREFIX_PATH /usr/local/cuda)
The text was updated successfully, but these errors were encountered: