Nano Hello World Image Classification Error: Cuda_Runtime.h

Good Day ALL,

I am attempting to do this tutorial ( jetson-inference/imagenet-example-2.md at master · dusty-nv/jetson-inference · GitHub ) . I am stuck on the includes portion because I keep getting this error when I attempt to build or compile:

"
g++ -Wall -o “my-recognition” “my-recognition.cpp” (in directory: /home/lord_de_seis/my-recognition)
In file included from /usr/local/include/jetson-utils/loadImage.h:27:0,
from my-recognition.cpp:2:
/usr/local/include/jetson-utils/cudaUtility.h:27:10: fatal error: cuda_runtime.h: No such file or directory
#include <cuda_runtime.h>
^~~~~~~~~~~~~~~~
compilation terminated.
Compilation failed.

"

I have search all over and tried but atlas nothing. Here is basically what I need to do:

https://devtalk.nvidia.com/default/topic/1023902/cross-compile-samples-for-dpx2-4-1-8-0l_sdk-fails-with-quot-cuda_runtime-h-no-such-file-or-directory-quot-/

If anyone could help me please. This is my first time using Linux period

Hi,

It looks like you don’t install CUDA on your environment.

Have you installed it with the sdkmanager?
It can be installed with the “Jetson SDK componenet” option.

After that, you will see the cuda folder in the /usr/local/ directory.

Thanks.