I’m attempting to compile code with Makefile from gst-dsexample_sources inside deepstream_sdk_on_jetson but i got this error
In file included from /usr/include/gstreamer-1.0/gst/gstpad.h:72:0,
from /usr/include/gstreamer-1.0/gst/gstelement.h:57,
from /usr/include/gstreamer-1.0/gst/gstbin.h:27,
from /usr/include/gstreamer-1.0/gst/gst.h:35,
from /usr/include/gstreamer-1.0/gst/base/gstbasetransform.h:24,
from gstdsexample.h:15,
from gstdsexample.cpp:13:
gstdsexample.cpp:49:23: error: ‘GST_VIDEO_CAPS_MAKE_WITH_FEATURES’ was not declared in this scope
"{ NV12 }")));
^
/usr/include/gstreamer-1.0/gst/gstpadtemplate.h:174:26: note: in definition of macro ‘GST_STATIC_PAD_TEMPLATE’
/* caps */ caps \
^
gstdsexample.cpp:47:5: note: in expansion of macro ‘GST_STATIC_CAPS’
GST_STATIC_CAPS (GST_VIDEO_CAPS_MAKE_WITH_FEATURES
^
gstdsexample.cpp:57:23: error: ‘GST_VIDEO_CAPS_MAKE_WITH_FEATURES’ was not declared in this scope
"{ NV12 }")));
^
/usr/include/gstreamer-1.0/gst/gstpadtemplate.h:174:26: note: in definition of macro ‘GST_STATIC_PAD_TEMPLATE’
/* caps */ caps \
^
gstdsexample.cpp:55:5: note: in expansion of macro ‘GST_STATIC_CAPS’
GST_STATIC_CAPS (GST_VIDEO_CAPS_MAKE_WITH_FEATURES
^
Makefile:37: recipe for target 'gstdsexample.o' failed
make: *** [gstdsexample.o] Error 1
Jetson TX2
Jetpack 3.2
Deepstream 1.5