Docker DeepStream 5.0 can't make deepstream-test app

Hi @Guy,
I’ve installed docker DeepStream 5.0: https://ngc.nvidia.com/catalog/containers/nvidia:deepstream
My configuration:
**• GPU 1070Ti
**• Ubuntu: 18.04
**• NVIDIA Driver Version: Driver Version: 440.82
I run the following steps:
cd /opt/nvidia/deepstream/deepstream-5.0/sources/apps/sample_apps/deepstream-test3 make
It gives me the error:

/bin/dash: 1: pkg-config: not found
deepstream_test3_app.c:23:10: fatal error: gst/gst.h: No such file or directory
#include <gst/gst.h>
^~~~~~~~~~~
compilation terminated.
Makefile:56: recipe for target ‘deepstream_test3_app.o’ failed
make: *** [deepstream_test3_app.o] Error 1

How can I fix it?

Hi @chuongvodoi95
please refer to the README to install the required GST components.

Thanks!

Hi @mchi,
Thank you for quickly replying.
I run

docker run --gpus all -it --rm -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -w /opt/nvidia/deepstream/deepstream-5.0  nvcr.io/nvidia/deepstream:5.0-dp-20.04-triton

To go to start the docker container
I got the error when I run on the docker container.
I try to install GST components by the following command:

apt-get install libssl1.0.0 libgstreamer1.0-0 gstreamer1.0-tools gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav libgstrtspserver-1.0-0 libjansson4

Reading package lists… Done
Building dependency tree
Reading state information… Done
gstreamer1.0-libav is already the newest version (1.14.5-0ubuntu1~18.04.1).
libgstreamer1.0-0 is already the newest version (1.14.5-0ubuntu1~18.04.1).
libssl1.0.0 is already the newest version (1.0.2n-1ubuntu5.3).
libjansson4 is already the newest version (2.11-1).
gstreamer1.0-plugins-bad is already the newest version (1.14.5-0ubuntu1~18.04.1).
gstreamer1.0-tools is already the newest version (1.14.5-0ubuntu1~18.04.1).
libgstrtspserver-1.0-0 is already the newest version (1.14.5-0ubuntu1~18.04.1).
gstreamer1.0-plugins-ugly is already the newest version (1.14.5-0ubuntu1~18.04.1).
gstreamer1.0-plugins-good is already the newest version (1.14.5-0ubuntu1~18.04.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
But I still get the same error

please check the README, what it asks you to install is as below

1 Like

Hi @mchi,
Thank you