Emulate the xavier environment

Hi everyone,

I was wondering if there was any way to emulate the jetson environment on a computer.

Also, I wanted to know if there was way to do cross compilation between PC and Xavier. By that, I mean that I would like to be able to compile .so files from my PC but for the Xavier (like tensorflow C++ for example which took me 9 hours on the Xavier).

Thanks !

Hi,

A possible way is to use our l4t docker on your host.
https://ngc.nvidia.com/catalog/containers/nvidia:l4t-base

To cross-compile a C++ binary or CUDA application is possible.
Please check this issue for more information:

But please noticed that TensorRT engine is not portable.
If you try to create a TensorRT engine, please apply it on the target directly.

Thanks.

Thanks for your reply :) Will check both today. I’ve learned with the other topic on which we are discussing that a TensorRT engine needs to be created on the target directly, so yes I know :) But this topic is more about compiling libraries and creating C++ executable from my computer with cmake or autotools for example which will be able to run on a Jetson platform

Hi,

Here is an example to cross compile a user-space app with cmake.
https://docs.nvidia.com/vpi/sample_cross_aarch64.html

Thanks.

Thanks for the link :)

Ps : I apologize for my big post on the other topic with are discussing on, didn’t realise it was that long, sorry again !

Hi, I wanted to know if the Nsight Eclipse Edition solution was kind of outdated or still in used? It seems to be a good tool to cross compile my applications for the Xavier or other jetsons.

Thanks !