Tianxiaomo / pytorch-YOLOv4

PyTorch ,ONNX and TensorRT implementation of YOLOv4
Apache License 2.0
4.46k stars 1.49k forks source link

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

Closed Gray-web closed 9 months ago

Gray-web commented 9 months ago

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

      ^~~~~~~~~~~~~~~~~~~~

compilation terminated. Makefile:50: recipe for target 'yolo.o' failed make: *** [yolo.o] Error 1