I just followed the instruction of “How to install Jetpack” to install the target device, Jetson Xavier, and tried to build the source on Jetson following the “Two Days to a Demo” tutorial. However, the following error makes the process incompleted, while the command of “cmake …/” is executed,
CUDA_TOOLKIT_ROOT_DIR not found or specified -- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) -- CUDA version: -- system arch: aarch64
CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: CUDA_CUDART_LIBRARY (ADVANCED) linked by target "jetson-inference" in directory /home/nvidia/Downloads/jetson-inference
It seems that the CUDA is not found, but I am sure that the “CUDA Toolkit” in “install on Target” is selected while the JetPack-L4T-4.1.1-linux-x64_57.run is installed.
Could someone help provide any comments? Thanks a lot.