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
other

Target Operating System
[yes] Linux
QNX
other

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

SDK Manager Version
[yes] 1.6.0.8170
1.5.1.7815
1.5.0.7774
other

Host Machine Version
[yes] native Ubuntu 18.04
other

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?

Hi,

You should be able to cross-compile a DRIVE app with the instructions shared below:
https://docs.nvidia.com/drive/driveworks-3.5/dwx_samples_building_V5L.html

Could you follow the link and give it a try?
Thanks.

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