Problems with running Bazel on Xavier AGX

Hi followed the installation for Xavier AGX from NVIDIA ISAAC Setup
https://docs.nvidia.com/isaac/isaac/doc/setup.html. I installled bazel 0.19.2 as requested.

My Hardware: NVIDIA Xavier AGX
My Software: Nvidia Ubuntu 18.04 LTS from SDK Manager and SDK 4.3
Bazel, 0.19.2, No Tensorflow 1.15 installed (do i need to install it?)


My Bazel install

sudo apt-get install openjdk-8-jdk
wget https://github.com/bazelbuild/bazel/releases/download/0.19.2/bazel-0.19.2-dist.zip
unzip bazel-0.19.2-dist.zip
env EXTRA_BAZEL_ARGS="–host_javabase=@local_jdk//:jdk" bash ./compile.sh


when i want to start now Isaac SDK as written on page https://docs.nvidia.com/isaac/isaac/doc/getting_started.html

with following command
~/isaac$ bazel build //apps/samples/stereo_dummy

im getting following error

bazel build //apps/samples/stereo_dummy
/usr/local/bin/bazel: line 88: /usr/local/lib/bazel/bin/bazel-real: cannot execute binary file: Exec format error

what can i do, please help, thx a lot

I faced the same and I think it might be the same issue like with the Jetson TX2 & nano:

We currently do not support Nano to compile Isaac. You need an x86 system to compile apps and deploy them from there to Nano.

https://forums.developer.nvidia.com/t/install-bazel-on-tx2/74368/4

To start developing with Isaac SDK you would need a workstation/desktop. The details for those are listed in the prerequisite section. You need to set up your workstation/desktop first by running the following script install_dependencies.sh. This should install bazel for you.

The Nvidia Jetson products are for deploying. You do not need to install bazel on those devices. You just need to run install_dependencies_jetson.sh script from your workstation/desktop to setup your target device. Hope this helps.

1 Like

thx yeah i made i like this some days ago, but thx for your kind answer

1 Like