# Error in deepstream-occupancy-analytics

**URL:** <https://forums.developer.nvidia.com/t/error-in-deepstream-occupancy-analytics/272178>\
**Category:** DeepStream SDK\
**Created:** [November 8, 2023, 10:27am UTC](https://forums.developer.nvidia.com/t/error-in-deepstream-occupancy-analytics/272178 "2023-11-08T10:27:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SeetharamNS](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@SeetharamNS](https://forums.developer.nvidia.com/u/SeetharamNS)\
**Post date:** [November 8, 2023, 10:27am UTC](https://forums.developer.nvidia.com/t/error-in-deepstream-occupancy-analytics/272178/1 "2023-11-08T10:27:55Z")

</div>

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.](https://github.com/NVIDIA-AI-IOT/deepstream-occupancy-analytics)

$ 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

---

<div class="post-metadata">

**Author:** ![junshengy](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/junshengy/32/251332_2.png) [@junshengy](https://forums.developer.nvidia.com/u/junshengy)\
**Post date:** [November 9, 2023, 6:16am UTC](https://forums.developer.nvidia.com/t/error-in-deepstream-occupancy-analytics/272178/5 "2023-11-09T06:16:46Z")

</div>

**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](https://github.com/NVIDIA-AI-IOT/deepstream-occupancy-analytics/tree/ds_6.0).

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

> [@SeetharamNS](#):
>
> I am using Jetson TX2 8GB dev kit  
> Jetpack is 4.6.3  
> Deepstream 6.0.1

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [November 27, 2023, 4:20am UTC](https://forums.developer.nvidia.com/t/error-in-deepstream-occupancy-analytics/272178/6 "2023-11-27T04:20:37Z")

</div>

Closed on November 27, 2023, 4:20am UTC

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