Problems with CUDA in Windows 10
Hi everyone. I'm on a Lenovo Y-50/70 with windows 10.
I'm working with CLion to make a CUDA C++ program. I installed the toolkit, but I'm encountering an error with the CMakeLists.txt:
find_package(CUDA REQUIRED) fails because it can't find the library cudart.lib.
The exact error is
CMake Error at /cygdrive/c/Users/Leonardo/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find CUDA (missing: CUDA_CUDART_LIBRARY) (found version "7.0")
I tried downgrading to CUDA 7.5 and 7.0 but nothing changes.
I tried editing the findCUDA.cmake file to manually set the path of this library (of course I checked and it's there) but still it doesn't find it.
I'm a bit desperate, anyone as any idea what to do?
Thanks a lot!
Please sign in to leave a comment.