win10 编译GPU环境 时,报找不到:cuda_runtime.h 问题??
jandy0414 opened this issue · comments
使用Cygwin编译 时报错如下:
D:\jandy_work\darknet-ocr-master\darknet>make gcc -Iinclude/ -Isrc/ -DGPU -I/usr/local/cuda/include/ -DCUDNN -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -fPIC -Ofast -DGPU -DCUDNN -c ./src/gemm.c -o obj/gemm.o In file included from ./src/utils.h:5, from ./src/gemm.c:2: include/darknet.h:11:14: fatal error: cuda_runtime.h: No such file or directory 11 | #include "cuda_runtime.h" | ^~~~~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:89: obj/gemm.o] Error 1
win10 下有装过CUDA了,而且设置过环境变量了。。。
是不是要在Makefie 文件修改cuda的目录,怎么修改????
你好,解决了?
兄弟们,解决了吗,我也遇到了
有人解决了吗。。