- Operating System: Windows 10
- CUDA : 11.8
- cudnn: 11.8
- CMake: 3.30
- Visual Studio: 2022
- darknet: https://github.com/AlexeyAB/darknet
My CMake can’t find my CUDA, but I use nvcc --version
can get information.
CMD response
CMake Error
And I go to CMakeLists.txt:118
CMakeList.txt
I search all the file didn’t see where variable CMAKE_CUDA_COMPILER is.
Can someone help me how to fix this problem.
I have add CMAKE_CUDA_COMPILER to environment variable but still no work.
And I have try uninstall all the programs then install them back, also no use.
Howard Tsao is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.