# Cuda\_sdk\_root\_dir-notfound

**URL:** <https://forums.developer.nvidia.com/t/cuda-sdk-root-dir-notfound/278127>\
**Category:** Jetson AGX Orin\
**Tags:** cuda\
**Created:** [January 8, 2024, 12:12pm UTC](https://forums.developer.nvidia.com/t/cuda-sdk-root-dir-notfound/278127 "2024-01-08T12:12:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gil.meiri](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@gil.meiri](https://forums.developer.nvidia.com/u/gil.meiri)\
**Post date:** [January 8, 2024, 12:12pm UTC](https://forums.developer.nvidia.com/t/cuda-sdk-root-dir-notfound/278127/1 "2024-01-08T12:12:35Z")

</div>

Hi,  
I installed the Jetpack 5.1.2 on my orin. It comes installed with cuda. When I run cmake CUDA\_SDK\_ROOT\_DIR isn’t found but CUDA\_TOOLKIT\_ROOT\_DIR is found. What is the path for the sdk and where do I need to add it in order for the system to find it?

---

<div class="post-metadata">

**Author:** ![AastaLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/aastalll/32/14043_2.png) [@AastaLLL](https://forums.developer.nvidia.com/u/AastaLLL)\
**Post date:** [January 9, 2024, 3:40am UTC](https://forums.developer.nvidia.com/t/cuda-sdk-root-dir-notfound/278127/3 "2024-01-09T03:40:01Z")

</div>

Hi,

Below is the cmake 3.16 FindCUDA document:

[https://cmake.org/cmake/help/v3.16/module/FindCUDA.html](https://cmake.org/cmake/help/v3.16/module/FindCUDA.html)

You can try `cmake -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-11.4/ ...` to see if it can fix your issue.

Thanks.

---

<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:** [January 31, 2024, 6:55am UTC](https://forums.developer.nvidia.com/t/cuda-sdk-root-dir-notfound/278127/5 "2024-01-31T06:55:33Z")

</div>

Closed on January 31, 2024, 6:55am UTC

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