pyyolo icon indicating copy to clipboard operation
pyyolo copied to clipboard

fatal error: cudnn.h: No such file or directory

Open barzan-hayati opened this issue 6 years ago • 0 comments

I run these codes respectively and I have got this error :

gcc  -DGPU -I/usr/local/cuda/include/ -DCUDNN  -Wall -Wfatal-errors -Wno-unused-result -fPIC -I./darknet/src -I./darknet/include -Ofast -DGPU -DCUDNN -c libyolo.c -o obj/libyolo.o
In file included from libyolo.c:5:0:
./darknet/include/darknet.h:19:14: fatal error: cudnn.h: No such file or directory
     #include "cudnn.h"
              ^~~~~~~~~
compilation terminated.
Makefile:66: recipe for target 'obj/libyolo.o' failed
make: *** [obj/libyolo.o] Error 1

Screenshot from 2019-08-26 12-20-30 But yet cudnn.h does not exit yet in this directory. I run these codes and tried them, but they didn't work yet. 1.

git clone --recursive [email protected]:rayhou0710/pyyolo.git
make
 git clone --recurse-submodules https://github.com/digitalbrain79/pyyolo.git
make

Also I downloaded pjreddie/darknet directly.

barzan-hayati avatar Aug 26 '19 07:08 barzan-hayati