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

在Yolov5-in-Deepstream-5.0-master/Deepstream 5.0/nvdsinfer_custom_impl_Yolo中执行make编译报错 #37

Open
Gray-web opened this issue Oct 9, 2023 · 1 comment

Comments

@Gray-web
Copy link

Gray-web commented Oct 9, 2023

Yolov5-in-Deepstream-5.0-master/Deepstream 5.0/nvdsinfer_custom_impl_Yolo$ make
g++ -c -o yolo.o -Wall -std=c++11 -shared -fPIC -Wno-error=deprecated-declarations -I../includes -I/usr/local/cuda-11.3/include yolo.cpp
In file included from yolo.cpp:24:0:
yoloPlugins.h:28:10: fatal error: cuda_runtime_api.h: No such file or directory
#include <cuda_runtime_api.h>
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile:50: recipe for target 'yolo.o' failed
make: *** [yolo.o] Error 1

@Rehan-DL
Copy link

Rehan-DL commented Dec 4, 2023

注释掉Makefile文件中的yolo.cpp和yoloPlugins.cpp,然后重新编译。

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

2 participants