marcoslucianops / DeepStream-Yolo

NVIDIA DeepStream SDK 7.0 / 6.4 / 6.3 / 6.2 / 6.1.1 / 6.1 / 6.0.1 / 6.0 / 5.1 implementation for YOLO models
MIT License
1.45k stars 357 forks source link

I failed to compile and generate libnvdsinfer_custom_impl_Yolo.so on RTX4080. #373

Open lzylzylzy123456 opened 1 year ago

lzylzylzy123456 commented 1 year ago

I have installed Ubuntu 20.04, CUDA 11.8, TensorRT 8.5 GA Update 1 (8.5.2.2), NVIDIA Driver 530.41.03, NVIDIA DeepStream SDK 6.2, GStreamer 1.16.3, and DeepStream-Yolo. I have two RTX4080 GPUs. However, when compiling to generate libnvdsinfer_custom_impl_Yolo.so, I encountered an error: "/usr/bin/ld: cannot find -lnvinfer_plugin /usr/bin/ld: cannot find -lnvinfer /usr/bin/ld: cannot find -lnvparsers /usr/bin/ld: cannot find -lnvonnxparser collect2: error: ld returned 1 exit status make: *** [Makefile:87: libnvdsinfer_custom_impl_Yolo.so] Error 1 make: Leaving directory '/home/dgp/DeepStream-Yolo/nvdsinfer_custom_impl_Yolo'".

lzylzylzy123456 commented 1 year ago

I have identified the error location.