Makefile Deepstream example on Jetson Tx2

I run Makefile of example in deepstream 1.5 (nvgstiva-app_sources) on Jetson Tx2.

But the terminal show the error:

cc -DOS_L4T -Iincludes pkg-config --cflags gstreamer-1.0 -c -o nvgstiva_app_main.o nvgstiva_app_main.c
In file included from includes/nvgstiva_metadata_pool.h:16:0,
from includes/nvgstiva_app.h:27,
from nvgstiva_app_main.c:12:
includes/gstnvivameta_api.h:64:29: fatal error: gst/video/video.h: No such file or directory
compilation terminated.
: recipe for target ‘nvgstiva_app_main.o’ failed
make: *** [nvgstiva_app_main.o] Error 1

How can i fix it?

Hi,
It looks like you don’t install gstreamer packages. Do you follow README to do

The following development packages must be installed:
- GStreamer-1.0
- GStreamer-1.0 Base Plugins

1. Install the packages by executing the command:
   sudo apt-get install libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev

I follow your suggestion.i can build program.
then i run nvgstiva-app -c ${HOME}/configs/PGIE-FP16-CarType-CarMake-CarColor.txt
and have error
"
** ERROR: <create_secondary_gie:105>: Failed to create ‘secondary_gie_0’
** ERROR: <create_secondary_gie:235>: create_secondary_gie failed
** ERROR: <create_secondary_gie_bin:364>: create_secondary_gie_bin failed
** ERROR: <create_processing_instance:926>: create_processing_instance failed
** ERROR: <create_pipeline:1062>: create_pipeline failed
** ERROR: main:384: Failed to create pipeline
Quitting
App run failed
"

Then I try to setup like the readme file to solve problem.
sudo ln -sv /usr/lib/aarch64-linux-gnu/tegra/libnvid_mapper.so.1.0.0
/usr/lib/aarch64-linux-gnu/libnvid_mapper.so

But the command make new error which is
“ln: failed to create symbolic link ‘/usr/lib/aarch64-linux-gnu/libnvid_mapper.so’: File exists”

and i still can not run example.
How can i solve it?

1 Like

There are many people have the same error like me and i did not find the correct answer on the forums
“** ERROR: <create_secondary_gie:105>: Failed to create ‘secondary_gie_0’
** ERROR: <create_secondary_gie:235>: create_secondary_gie failed
** ERROR: <create_secondary_gie_bin:364>: create_secondary_gie_bin failed
** ERROR: <create_processing_instance:926>: create_processing_instance failed
** ERROR: <create_pipeline:1062>: create_pipeline failed
** ERROR: main:384: Failed to create pipeline
Quitting
App run failed”

Here is my configuration:
NVIDIA Jetson TX2
L4T 28.2.1 [ JetPack 3.3 or 3.2.1 ]
Board: t186ref
Ubuntu 16.04.5 LTS
Kernel Version: 4.4.38-tegra
CUDA 10.0.130

1 Like

Please refer to
https://devtalk.nvidia.com/default/topic/1044746/deepstream-sdk-on-jetson/jetpack-3-2-1-on-tx2-/post/5302980/#5302980

For Jetpack 3.3, please also do
https://devtalk.nvidia.com/default/topic/1039460/deepstream-sdk-on-jetson/nvivafilter-on-tx1-l4t-28-2-1-sigsegv/post/5289949/#5289949

i can run the example easily. Thanks

would you please let us know how did you fix your problem?