darknet icon indicating copy to clipboard operation
darknet copied to clipboard

Not found CUDA

Open SokPhanith opened this issue 1 year ago • 1 comments

image

Hello, I want to build yolo in Windows 11 and this is what I get an issue. I already build opencv with CUDA successfully and already added a path in Environment variables CUDA. The message show to me like not found

Makefile edit:

GPU=1 CUDNN=1 CUDNN_HALF=0 OPENCV=1 AVX=1 OPENMP=1 LIBSO=1 ZED_CAMERA=0 ZED_CAMERA_v2_8=0 ARCH= -gencode arch=compute_89,code=[sm_89,compute_89] (Geforce RTX 4060)

"CUDACXX: CMake Error at CMakeLists.txt:156 (message): CUDA not found, please build explicitly with -DENABLE_CUDA=OFF if you do not want CUDA. "

SokPhanith avatar May 26 '23 03:05 SokPhanith