error when building test 1 sample

when running make from “deepstream-test1” sample, I get the following message:
./…/…/includes/gstnvdsmeta.h:60:10: fatal error: gst/video/video.h: No such file or directory

How can I solve this?

It looks like you don’t have all the dependencies installed.
Please see apps/sample_apps/deepstream-app/README and install all the Gstreamer dependencies.

Dear cshah,

I try to

$ cd /opt/nvidia/deepstream/deepstream-4.0/sources/apps/sample_apps/deepstream-test1
$ make
cc -o deepstream-app deepstream_app.o deepstream_app_main.o deepstream_app_config_parser.o ../../apps-common/src/deepstream_tracker_bin.o ../../apps-common/src/deepstream_primary_gie_bin.o ../../apps-common/src/deepstream_source_bin.o ../../apps-common/src/deepstream_config_file_parser.o ../../apps-common/src/deepstream_common.o ../../apps-common/src/deepstream_sink_bin.o ../../apps-common/src/deepstream_perf.o ../../apps-common/src/deepstream_dewarper_bin.o ../../apps-common/src/deepstream_dsexample.o ../../apps-common/src/deepstream_secondary_gie_bin.o ../../apps-common/src/deepstream_tiled_display_bin.o ../../apps-common/src/deepstream_osd_bin.o ../../apps-common/src/deepstream_streammux.o -L/opt/nvidia/deepstream/deepstream-4.0/lib/ -lnvdsgst_meta -lnvds_meta -lnvdsgst_helper -lnvds_utils -lm -lgstrtspserver-1.0 -Wl,-rpath,/opt/nvidia/deepstream/deepstream-4.0/lib/ `pkg-config --libs gstreamer-1.0 gstreamer-video-1.0 x11`
$ deepstream-test1-app ../../../../samples/streams/sample_720p.h264 
<b>One element could not be created. Exiting.</b>

Please help. Thank you very much in advance.

warmest regards,
suryadi

Hi suryadi,

Please create a new thread with your setup information/logs/questions.