ilsa@host:/opt/nvidia/deepstream/deepstream-5.1/sources/apps/my_apps/my_analytics/deepstream-nvdsanalytics-test$ make
g++ -c -o deepstream_nvdsanalytics_test.o -DPLATFORM_TEGRA -I…/…/…/includes -I /usr/local/cuda-10.2/include -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include deepstream_nvdsanalytics_test.cpp
deepstream_nvdsanalytics_test.cpp:34:10: fatal error: gstnvdsmeta.h: No such file or directory
#include <gstnvdsmeta.h>
^~~~~~~~~~~~~~~
compilation terminated.
Makefile:63: recipe for target ‘deepstream_nvdsanalytics_test.o’ failed
make: *** [deepstream_nvdsanalytics_test.o] Error 1
I get this error every time I try to make deepstream_nvdsanalytics_test. All I have done is copied the deepstream_nvdsanalytics sample app folder, and changed the CUDA Version to 10.2 which is the version I am running(V10.2.89). I am running a Jetson Nano 2GB, and 5.1 DS.
My end goal is to be able to track and count vehicles from multiple streams, in a global counter.
Any help would be greatly appreciated.
Hi,
We don’t observe the issue. Attach the log for your reference.
nvidia@nvidia-desktop:/opt/nvidia/deepstream/deepstream-5.1/sources/apps/sample_apps/deepstream-nvdsanalytics-test$ sudo CUDA_VER=10.2 make
g++ -c -o deepstream_nvdsanalytics_test.o -DPLATFORM_TEGRA -I../../../includes -I /usr/local/cuda-10.2/include -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include deepstream_nvdsanalytics_test.cpp
g++ -o deepstream-nvdsanalytics-test deepstream_nvdsanalytics_test.o -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -L/opt/nvidia/deepstream/deepstream-5.1/lib/ -lnvdsgst_meta -lnvds_meta -lnvdsgst_helper -lm -L/usr/local/cuda-10.2/lib64/ -lcudart -lcuda -Wl,-rpath,/opt/nvidia/deepstream/deepstream-5.1/lib/
nvidia@nvidia-desktop:/opt/nvidia/deepstream/deepstream-5.1/sources/apps/sample_apps/deepstream-nvdsanalytics-test$
The file should be in
/opt/nvidia/deepstream/deepstream-5.1/sources/includes/gstnvdsmeta.h
Thanks for the quick response, I resolved the issue.
The problem was that I copied the sample_app folder “deepstream-nvdsanalytics-test” into a further directory: sources>apps>my_apps>my_analytics instead of copying it to sources>apps>my_apps. Due to this, it couldn’t find the “gstnvdsmeta.h” file.