I was able to successfully compile it on a raspberry pi using the default command they give you in the readme. The Jetson is an ARM processor right?
Try running:
Code:
./gradlew :arm:build
To link the file you should be able to add to your build command
Code:
-I /path/to/lib/folder -l -ntcore
And of course at "ntcore.h" to your file