Please provide the following info (check/uncheck the boxes after creating this topic):
Software Version
DRIVE OS Linux 5.2.6
DRIVE OS Linux 5.2.0
DRIVE OS Linux 5.2.0 and DriveWorks 3.5
NVIDIA DRIVE™ Software 10.0 (Linux)
NVIDIA DRIVE™ Software 9.0 (Linux)
other DRIVE OS version
other
Target Operating System
Linux
QNX
other
Hardware Platform
NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)
other
SDK Manager Version
1.6.0.8170
other
Host Machine Version
native Ubuntu 18.04
other
When trying to do a cross compilation to compile TensorRT sample to run on target (AGX DRIVE). I have the following error :
Here is the path of cuda_runtime_api.h on my host machine :
VickNV
September 8, 2021, 12:54pm
5
Hi @mohammed.el-yaagoubi ,
Did you compile on the host with the host components of DRIVE OS 5.2.0 installed (via SDK Manager)?
Yes and when running make TARGET=aarch64 I have the following error :
VickNV
September 8, 2021, 1:20pm
7
Does your /usr/local/cuda link to correct cuda toolkit path?
$ ls -l /usr/local/cuda
lrwxrwxrwx 1 root root 9 Sep 8 05:17 /usr/local/cuda → cuda-10.2
Didn’t you already clarify a similar problem in Hello World Application on DRIVE AGX ?
1 Like
I don’t have this file
For that problem I installed cuda once again properly and it worked but now for the cross compilation I have the same error
VickNV
September 8, 2021, 1:40pm
9
You don’t need to install cuda manually. All necessary components were installed in SDK Manager.
Please see if setting the environment variable CUDA_INSTALL_DIR (mentioned in TensorRT Installation Instructions :: DRIVE Platform Installation Guide with NVIDIA SDK Manager ) will help.
Or I would suggest you run through the host component installation of DRIVE OS 5.2.0 in SDK Manager (target isn’t needed) again.