问题遇到的现象和发生背景
想在win10使用YOLO,搭建环境时cmake死活找不到cuda,cuda已经安过了,重新安装也没用
运行结果及报错内容
Darknet_VERSION: 0.2.5.4
vcpkg not found, toolchain not defined, using integrated libs on win32
Selecting Windows SDK version 10.0.20348.0 to target Windows 10.0.19042.
Looking for a CUDA compiler
Looking for a CUDA compiler - NOTFOUND
CUDA_PATH: F:\NVIDIA GPU Computing Toolkit\CUDA\v11.5
CUDACXX:
CMake Error at CMakeLists.txt:154 (message):
CUDA not found, please build explicitly with -DENABLE_CUDA=OFF if you do
not want CUDA.