No such file nvds_analytics_meta.h when building python bindings

I have got an issue with the compilation of the python bindings for DeeoStream 6.0

Platform: Jetson Nano
DeepStream Version: 6.0 (using latest nvcr.io/nvidia/deepstream-l4t:6.0-base)
JetPack 4.5 (L4T R32.5.0)

Reproducing the issue:

  1. Run the deepstream container
    sudo docker run -it --rm --net=host --runtime nvidia -e DISPLAY=$DISPLAY -v /tmp/.X11-unix/:/tmp/.X11-unix
    nvcr.io/nvidia/deepstream-l4t:6.0-base

  2. Clone the deepstream_python_apps repo into /opt/nvidia/deepstream/deepstream-6.0
    git clone GitHub - NVIDIA-AI-IOT/deepstream_python_apps: DeepStream SDK Python bindings and sample applications
    cd deepstream_python_apps

  3. Follow the steps described under deepstream_python_apps/bindings at master · NVIDIA-AI-IOT/deepstream_python_apps · GitHub

Dependencies for Ubuntu 18.04
apt install -y git python-dev python3 python3-pip python3.6-dev python3.8-dev cmake g++ build-essential
libglib2.0-dev libglib2.0-dev-bin python-gi-dev libtool m4 autoconf automake

Submodule Init
git submodule update --init

For the Gst-Python section to work, additional dependencies hat do be installed
apt install -y libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev

Install Gst-Python
cd 3rdparty/gst-python/
./autogen.sh
make
make install

Build the bindings
cd deepstream_python_apps/bindings
mkdir build
cd build
cmake …
make

Here is where the make command yields an error:
In file included from /opt/nvidia/deepstream/deepstream-6.0/deepstream_python_apps/bindings/src/pyds.cpp:19:0:
/opt/nvidia/deepstream/deepstream-6.0/deepstream_python_apps/bindings/include/bind/bindanalyticsmeta.hpp:21:10: fatal error: nvds_analytics_meta.h: No such file or directory

Thank you in advance for every piece of advice

Note, DS6.0 must work on Jetpack4.6

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.