Cuda_sdk_root_dir-notfound

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?

Hi,

Below is the cmake 3.16 FindCUDA document:

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.