Я пытался запустить проект, которому нужен CMake, чтобы найти путь CUDA, поэтому, когда я запускаю cmake
с CMakelists.txt
, я получаю следующее:
The C compiler identification is GNU 7.4.0
-- The CXX compiler identification is GNU 7.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at /home/zash/anaconda3/envs/mesh_funcspace/share/cmake-3.14/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find CUDA (missing: CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) (found
suitable version "9.1", minimum required is "6.5")
Call Stack (most recent call first):
/home/zash/anaconda3/envs/mesh_funcspace/share/cmake-3.14/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/home/zash/anaconda3/envs/mesh_funcspace/share/cmake-3.14/Modules/FindCUDA.cmake:1092 (find_package_handle_standard_args)
CMakeLists.txt:34 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/zash/Desktop/mesh-fusion-master/libfusiongpu/build/CMakeFiles/CMakeOutput.log".
Как мне найти путь в cmake?
Could NOT find CUDA (missing: CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY)