Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

win10 编译GPU环境 时,报找不到:cuda_runtime.h 问题?? #86

Open
jandy0414 opened this issue Apr 24, 2020 · 3 comments
Open

Comments

@jandy0414
Copy link

使用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的目录,怎么修改????

@xialei2821212670
Copy link

你好,解决了?

@LayneChai
Copy link

兄弟们,解决了吗,我也遇到了

@Kogel9701
Copy link

有人解决了吗。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants