Error in deepstream-occupancy-analytics

I am using Jetson TX2 8GB dev kit
Jetpack is 4.6.3
Deepstream 6.0.1

I am trying run this repo : GitHub - NVIDIA-AI-IOT/deepstream-occupancy-analytics: This is a sample application for counting people entering/leaving in a building using NVIDIA Deepstream SDK, Transfer Learning Toolkit (TLT), and pre-trained models. This application can be used to build real-time occupancy analytics applications for smart buildings, hospitals, retail, etc. The application is based on deepstream-test5 sample application.

$ sudo make
cc -c -o deepstream_test5_app_main.o -DPLATFORM_TEGRA -I…/…/apps-common/includes -I./includes -I…/…/…/includes -I…/deepstream-app/ -DDS_VERSION_MINOR=1 -DDS_VERSION_MAJOR=5 -I…/deepstream-test5 -I/usr/local/cuda-=10.2/include pkg-config --cflags gstreamer-1.0 gstreamer-video-1.0 x11 json-glib-1.0 deepstream_test5_app_main.c
cc -c -o …/deepstream-test5/deepstream_utc.o -DPLATFORM_TEGRA -I…/…/apps-common/includes -I./includes -I…/…/…/includes -I…/deepstream-app/ -DDS_VERSION_MINOR=1 -DDS_VERSION_MAJOR=5 -I…/deepstream-test5 -I/usr/local/cuda-=10.2/include pkg-config --cflags gstreamer-1.0 gstreamer-video-1.0 x11 json-glib-1.0 …/deepstream-test5/deepstream_utc.c
cc -c -o …/deepstream-app/deepstream_app.o -DPLATFORM_TEGRA -I…/…/apps-common/includes -I./includes -I…/…/…/includes -I…/deepstream-app/ -DDS_VERSION_MINOR=1 -DDS_VERSION_MAJOR=5 -I…/deepstream-test5 -I/usr/local/cuda-=10.2/include pkg-config --cflags gstreamer-1.0 gstreamer-video-1.0 x11 json-glib-1.0 …/deepstream-app/deepstream_app.c
cc -c -o …/deepstream-app/deepstream_app_config_parser.o -DPLATFORM_TEGRA -I…/…/apps-common/includes -I./includes -I…/…/…/includes -I…/deepstream-app/ -DDS_VERSION_MINOR=1 -DDS_VERSION_MAJOR=5 -I…/deepstream-test5 -I/usr/local/cuda-=10.2/include pkg-config --cflags gstreamer-1.0 gstreamer-video-1.0 x11 json-glib-1.0 …/deepstream-app/deepstream_app_config_parser.c
cc -c -o …/…/apps-common/src/deepstream_tracker_bin.o -DPLATFORM_TEGRA -I…/…/apps-common/includes -I./includes -I…/…/…/includes -I…/deepstream-app/ -DDS_VERSION_MINOR=1 -DDS_VERSION_MAJOR=5 -I…/deepstream-test5 -I/usr/local/cuda-=10.2/include pkg-config --cflags gstreamer-1.0 gstreamer-video-1.0 x11 json-glib-1.0 …/…/apps-common/src/deepstream_tracker_bin.c
cc -c -o …/…/apps-common/src/deepstream_primary_gie_bin.o -DPLATFORM_TEGRA -I…/…/apps-common/includes -I./includes -I…/…/…/includes -I…/deepstream-app/ -DDS_VERSION_MINOR=1 -DDS_VERSION_MAJOR=5 -I…/deepstream-test5 -I/usr/local/cuda-=10.2/include pkg-config --cflags gstreamer-1.0 gstreamer-video-1.0 x11 json-glib-1.0 …/…/apps-common/src/deepstream_primary_gie_bin.c
cc -c -o …/…/apps-common/src/deepstream_source_bin.o -DPLATFORM_TEGRA -I…/…/apps-common/includes -I./includes -I…/…/…/includes -I…/deepstream-app/ -DDS_VERSION_MINOR=1 -DDS_VERSION_MAJOR=5 -I…/deepstream-test5 -I/usr/local/cuda-=10.2/include pkg-config --cflags gstreamer-1.0 gstreamer-video-1.0 x11 json-glib-1.0 …/…/apps-common/src/deepstream_source_bin.c
…/…/apps-common/src/deepstream_source_bin.c:32:10: fatal error: cuda_runtime_api.h: No such file or directory
include <cuda_runtime_api.h>
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile:72: recipe for target ‘…/…/apps-common/src/deepstream_source_bin.o’ failed
make: *** […/…/apps-common/src/deepstream_source_bin.o] Error 1

I am not able to find this file and I think that is why the error is popping up.

Kindly help me to resolve this

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

1.if you want use DS-6.0, you had better change the branch to ds_6.0.

2.It is recommended that you upgrade to the latest version(DS-6.3) strongly to prevent other issues.

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