I am trying to test : GitHub - NVIDIA-AI-IOT/deepstream_lpr_app: Sample app code for LPR deployment on DeepStream
On Jetson Xavier NX, with system info :
./jetsonInfo.py
NVIDIA Jetson Xavier NX (Developer Kit Version)
L4T 32.5.1 [ JetPack UNKNOWN ]
Ubuntu 18.04.5 LTS
Kernel Version: 4.9.201-tegra
CUDA 10.2.89
CUDA Architecture: 7.2
OpenCV version: 4.1.1
OpenCV Cuda: NO
CUDNN: 8.0.0.180
TensorRT: 7.1.3.0
Vision Works: 1.6.0.501
VPI: ii libnvvpi1 1.0.15 arm64 NVIDIA Vision Programming Interface library
I have installed and tested :
Deepstream 5.1
And while compiling : make -C nvinfer_custom_lpr_parser
g++ -c -o deepstream_lpr_app.o -fpermissive -Wall -Werror -DPLATFORM_TEGRA -I/opt/nvidia/deepstream/deepstream/sources/includes pkg-config --cflags gstreamer-1.0 -D_GLIBCXX_USE_CXX11_ABI=1 deepstream_lpr_app.c
error1 :
deepstream_lpr_app.c:31:10: fatal error: gstnvdsmeta.h: No such file or directory #include “gstnvdsmeta.h”
^~~~~~~~~~~~~~~
Yes, its the same thing I tried.
I changed the directory as below in the makefile :
CFLAGS+= -I/opt/nvidia/deepstream/deepstream-5.1/sources/includes
Since the deepstream folder I obtained was deepstream-5.1/
But still on make clean and make I was getting same error.
Are there any multiple places where this change has to be done ?
And can you suggest why the -lnvinfer is used in Makefile and how it links to nvdsinfer.h file (because its already present and unidentifiied ) ?