Yash Gugaliya
Yash Gugaliya

Reputation: 31

Building Darknet but getting this errors

-- Looking for a CUDA compiler
-- Looking for a CUDA compiler - NOTFOUND
-- CUDA_PATH: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6
-- CUDACXX: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6/bin/nvcc
CMake Error at CMakeLists.txt:153 (message):
  CUDA not found, please build explicitly with -DENABLE_CUDA=OFF if you do
  not want CUDA.

I have Cuda 11.6 and cudnn 8.3

Upvotes: 0

Views: 440

Answers (1)

Asadullah Naeem
Asadullah Naeem

Reputation: 344

Use CUDA version 11.1. Worked for me.

Upvotes: 1

Related Questions