I’m trying to run my first written program on the Jetson Xavier, but I keep getting an exec format error. In Nsight, I make sure that the target architecture is aarch64 and the on the host system (Ubuntu 18.04) is also aarch64, but for some reason I keep getting the following error:


/bin/sh: 1: /tmp/nsight-debug/project13: Exec format error

I’m not sure what I’m doing wrong.

From what I understand, I’m supposed to update the toolchain to GCC 6.4.1, but I don’t know how to add a new toolchain in Nsight/Eclipse. Check out the discussion about it:

Any advice would be greatly appreciated!

-Cuda Education

The following link explains how to cross compile CUDA applications for Jetson.

Hello, this guide only works for ubuntu 14, and with non-xavier machines. Is this guide still applicable?