DRIVEOS cross compile error

Please provide the following info (check/uncheck the boxes after clicking “+ Create Topic”):
Software Version
DRIVE OS Linux 5.2.0
[yes] 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

Target Operating System
[yes] Linux

Hardware Platform
NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)

SDK Manager Version

Host Machine Version
[yes] native Ubuntu 18.04

I have code a tool to transform onnx model to engine and this tool works in my another env (tenosrrt7.2);Now, i want to make it in tenosrrt6.3 by cross compile for Xavier. But there is a error:
/usr/lib/gcc-cross/aarch64-linux-gnu/7/…/…/…/…/aarch64-linux-gnu/ld: cannot find -lnvidia_drv
What is libnvida_drv?
I need to cross compile all tools and exec in host PC by cross compile, is it right operation?


You should be able to cross-compile a DRIVE app with the instructions shared below:

Could you follow the link and give it a try?

Hi, @ AastaLLL
Thanks for your reply.
I tried it to make driveworks sample successfully. But, when i compile my code, the error does not go away.

I have compile successfully. The reason about error is that i link some unexpected lib.

1 Like