Build DeepStream4.0 Sample App failed on Jetson Nano

I am trying to build app from official DeepStream4.0 sample source code on my jetson nano, however, it is failed as below, please help how to fix the issue, thanks.

`pkg-config --cflags gstreamer-1.0 gstreamer-video-1.0 x11` ../../apps-common/src/deepstream_sink_bin.c
../../apps-common/src/deepstream_sink_bin.c:32:10: fatal error: gst/rtsp-server/rtsp-server.h: No such file or directory
 #include <gst/rtsp-server/rtsp-server.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile:56: recipe for target '../../apps-common/src/deepstream_sink_bin.o' failed
make: *** [../../apps-common/src/deepstream_sink_bin.o] Error 1
2 Likes

You might need to install the ‘libgstrtspserver-1.0-dev’ package from apt, but I’m not completely sure.

Moved this thread to the DeepStream forum for more help.

4 Likes

Yes, it works, thanks @dusty_nv

1 Like