Dear whom it may concern,
I am using SDK manager installed DRIVE 10.0 to Xavier and my host computer. However, when I follow the procedure of cross-compilation (https://developer.nvidia.com/drive/learn/tutorial-xcompilation), I cannot make the hello_world sample running on the target.
I tried the host compilation and it worked well. Then I follow the tutorial to make cross compilation, the binary is able to be run on host, but when I use scp to copy it to the target, the binary cannot run.
My operation is below:
cmake -DCMAKE_BUILD=Release\
-DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-V5L.cmake \
-DVIBRANTE_PDK:STRING=/home/nvidia/drive-t186ref-linux \
..
make -j && make install
The tutorial indicates if I “file hello_world”, it will show
hello_world: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.18.0, BuildID[sha1]=2a2f7b728622349804b4b7c3f97ad5063602e68d, not stripped
But my case is
hello_world: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/l, for GNU/Linux 3.2.0, BuildID[sha1]=357f41e89700f98d330dba1dd6fe1a052d3b982b, with debug_info, not stripped
Could anyone help me to debug it?
Thanks!