Deepstream-app Makefile problem

Please provide complete information as applicable to your setup.

**• Hardware Platform (Jetson / GPU)**GPU
• DeepStream Version5.1
• TensorRT Version7.2.2.3
**• NVIDIA GPU Driver Version (valid for GPU only)**460.39
**• 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)

I install deepstream5.1 at my gpu computer.
About Ubuntu18.04, RTX3090, CUDA11.1, CUDNN8.0.5.
I use the following command.

cd /opt/nvidia/deepstream/deepstream-5.1/sources/apps/sample_apps/deepstream-app && sudo CUDA_VER=11.1 make

Then, appear the error messages.

cc -o deepstream-app deepstream_app.o deepstream_app_main.o deepstream_app_config_parser.o …/…/apps-common/src/deepstream_tracker_bin.o …/…/apps-common/src/deepstream_primary_gie_bin.o …/…/apps-common/src/deepstream_source_bin.o …/…/apps-common/src/deepstream_audio_classifier_bin.o …/…/apps-common/src/deepstream_c2d_msg.o …/…/apps-common/src/deepstream_config_file_parser.o …/…/apps-common/src/deepstream_common.o …/…/apps-common/src/deepstream_sink_bin.o …/…/apps-common/src/deepstream_perf.o …/…/apps-common/src/deepstream_dewarper_bin.o …/…/apps-common/src/deepstream_dsexample.o …/…/apps-common/src/deepstream_secondary_gie_bin.o …/…/apps-common/src/deepstream_dsanalytics.o …/…/apps-common/src/deepstream_tiled_display_bin.o …/…/apps-common/src/deepstream_c2d_msg_util.o …/…/apps-common/src/deepstream_osd_bin.o …/…/apps-common/src/deepstream_streammux.o -L/usr/local/cuda-11.1/lib64/ -lcudart -L/opt/nvidia/deepstream/deepstream-5.1/lib/ -lnvdsgst_meta -lnvds_meta -lnvdsgst_helper -lnvdsgst_smartrecord -lnvds_utils -lnvds_msgbroker -lm -lcuda -lgstrtspserver-1.0 -ldl -Wl,-rpath,/opt/nvidia/deepstream/deepstream-5.1/lib/ -lgstvideo-1.0 -lgstbase-1.0 -lgstreamer-1.0 -lX11 -ljson-glib-1.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
/usr/bin/ld: warning: libnvinfer.so.7, needed by /opt/nvidia/deepstream/deepstream-5.1/lib//libnvds_utils.so, not found (try using -rpath or -rpath-link)
/opt/nvidia/deepstream/deepstream-5.1/lib//libnvds_utils.so: 未定義的參考到 getInferLibVersion
collect2: error: ld returned 1 exit status
Makefile:70: recipe for target ‘deepstream-app’ failed

Oops… I first used tar method to install TensorRT. It’s failed about Makefile.

I used another method about using deb to install TensorRt. It’s success about Makefile.

I have solved that.

1 Like

Glad to know issue resolved, thanks for the update.