error building deepstream-app

Hello,
I have installed the packages according to the guidelines:
sudo apt 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

when I try to build deepstream-app I get the following message:
“…/…/apps-common/src/deepstream_sink_bin.c:32:10: fatal error: gst/rtsp-server/rtsp-server.h: No such file or directory”

When I look at gst folder (in usr/include/gstream-1.0/gst ) I cannot find the rtsp-server folder

Could you refer https://docs.nvidia.com/metropolis/deepstream/4.0/dev-guide/index.html to setup your env?

Hi,
This is the same document I have used
to setup the environment (deep stream was installed from tar)

Which platform did you use? pls check if gst/rtsp-server/rtsp-server.h is exist in your env and set the path in your makefile.

I use cuda 10.1 with T4 on Ubuntu 18.04. The folder rtsp-server is not inside the gst folder (which is in usr/include/gstream-1.0/gst). I guess , I can clone it from Git . I thought it would be created when installing the prerequisites.

Pls make sure the header file is exist and set the correct path in makefile, I think it’s a simple problem for you to fix.

sudo apt-get install libgstrtspserver-1.0-dev

5 Likes

thanks! eventually, I had installed some additional prerequisites based on the read me of the example indeed with libgstrtspserver-1.0-dev. (some of them were not included in the deepstream installation document) and it worked.