Deepstream_pose_estimation - fatal error: gstnvdsmeta.h: No such file or directory

Hi,

It requires some update for the JetPack4.6+Deepstream6.0 environment.
Please apply the below change and try it again:

diff --git a/Makefile b/Makefile
index ae2c316..ca64725 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ APP:= deepstream-pose-estimation-app
 
 TARGET_DEVICE = $(shell gcc -dumpmachine | cut -f1 -d -)
 
-NVDS_VERSION:=5.0
+NVDS_VERSION:=6.0
 
 LIB_INSTALL_DIR?=/opt/nvidia/deepstream/deepstream-$(NVDS_VERSION)/lib/
 APP_INSTALL_DIR?=/opt/nvidia/deepstream/deepstream-$(NVDS_VERSION)/bin/
@@ -22,11 +22,16 @@ SRCS:= deepstream_pose_estimation_app.cpp
 
 INCS:= $(wildcard *.h)
 
-PKGS:= gstreamer-1.0 gstreamer-video-1.0 x11 json-glib-1.0
+PKGS:= gstreamer-1.0 gstreamer-video-1.0 x11
 
 OBJS:= $(patsubst %.c,%.o, $(patsubst %.cpp,%.o, $(SRCS)))
-
-CFLAGS+= -I../../apps-common/includes -I../../../includes -I../deepstream-app/ -DDS_VERSION_MINOR=0 -DDS_VERSION_MAJOR=5
+CFLAGS+= -I/opt/nvidia/deepstream/deepstream-6.0/sources/apps/apps-common/includes
+CFLAGS+= -I/opt/nvidia/deepstream/deepstream-6.0/sources/includes
+CFLAGS+= -I/opt/nvidia/deepstream/deepstream-6.0/sources/apps/sample_apps/deepstream-app
+CFLAGS+= -I/usr/include/gstreamer-1.0
+CFLAGS+= -I/usr/include/glib-2.0
+CFLAGS+= -I/usr/lib/aarch64-linux-gnu/glib-2.0/include
+CFLAGS+= -DDS_VERSION_MINOR=0 -DDS_VERSION_MAJOR=6
 
 LIBS+= -L$(LIB_INSTALL_DIR) -lnvdsgst_meta -lnvds_meta -lnvds_utils -lm \
         -lpthread -ldl -Wl,-rpath,$(LIB_INSTALL_DIR)

Thanks.