No such file or directory #include <gst/gst.h>

When i try run make file in folder deepstream-app, i had error

deepstream_app.c:23:10: fatal error: gst/gst.h: No such file or directory
#include <gst/gst.h>

how can i fix it?
Jetson Nano - Jetpack 4.4

Hi,
Please install

sudo apt-get install libgstreamer1.0-dev
1 Like

Hi you

libgstreamer1.0-dev is already the newest version (1.14.5-0ubuntu1~18.04.1).

but still error

Hi,
Please try

$ sudo apt install libjson-glib-dev
1 Like

cc -c -o deepstream_app.o -DPLATFORM_TEGRA -I./ -I…/…/apps-common/includes -I…/…/…/includes -DDS_VERSION_MINOR=0 -DDS_VERSION_MAJOR=5 pkg-config --cflags gstreamer-1.0 gstreamer-video-1.0 x11 json-glib-1.0 deepstream_app.c
Package gstreamer-video-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-video-1.0.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘gstreamer-video-1.0’ found
deepstream_app.c:23:10: fatal error: gst/gst.h: No such file or directory
#include <gst/gst.h>
^~~~~~~~~~~
compilation terminated.
Makefile:57: recipe for target ‘deepstream_app.o’ failed
make: *** [deepstream_app.o] Error 1

Hi,

Please try