pyyolo
pyyolo copied to clipboard
fatal error: cudnn.h: No such file or directory
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
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.