Getting Error while Compiling YOLOv4 with Deepsream 5.1

I am compiling YOLOv4 with Deepstream 5.1 REF but getting the below error, So can you help me

g++ -o nvdsparsebbox_Yolo.o -shared -Wl,–start-group -lnvinfer_plugin -lnvinfer -lnvparsers -L/usr/local/cuda-11.1/lib64 -lcudart -lcublas -lstdc++fs -Wl,–end-group
/usr/bin/ld: cannot find -lnvinfer_plugin
/usr/bin/ld: cannot find -lnvinfer
/usr/bin/ld: cannot find -lnvparsers
collect2: error: ld returned 1 exit status
Makefile:48: recipe for target ‘’ failed
make: *** [] Error 1

Complete information of setup.

• Hardware Platform (Jetson / GPU): GPU
• DeepStream Version: 5.1
• JetPack Version (valid for Jetson only)
• TensorRT Version:
• NVIDIA GPU Driver Version (valid for GPU only): 460.84
• Issue Type( questions, new requirements, bugs): questions
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

This must be a setup issue.
Please detail how you setup your system and run into this issue

Thanks Mchi for reply.

For DeepStream 5.1 installation : Quickstart Guide — DeepStream 5.1 Release documentation

And tested with command: deepstream-app -c /opt/nvidia/deepstream/deepstream-5.1/samples/configs/deepstream-app/source4_1080p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt

Works well.

Darknet Yolov4 model converted into TRT engine using:
Model tested using REF

For compilation getting above error: REF

Sorry for late!

Please check GitHub - NVIDIA-AI-IOT/yolov4_deepstream

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.