Error with subprocess.py after initial setup

INFO: Analyzed target //apps/samples/stereo_dummy:stereo_dummy (0 packages loaded, 0 targets configured).
INFO: Found 1 target…
ERROR: /home/isaac/.cache/bazel/_bazel_isaac/bda221fc76bb0c597df3fcb878c76d34/external/capnproto/BUILD.bazel:175:1: Couldn’t build file external/capnproto/_objs/capnpc_tool/capnp.o: C++ compilation of rule ‘@capnproto//:capnpc_tool’ failed (Exit 1) crosstool_wrapper_driver_is_not_gcc_host.py failed: error executing command external/toolchain/crosstool/scripts/crosstool_wrapper_driver_is_not_gcc_host.py -MD -MF bazel-out/host/bin/external/capnproto/_objs/capnpc_tool/capnp.d … (remaining 44 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
Traceback (most recent call last):
File “external/toolchain/crosstool/scripts/crosstool_wrapper_driver_is_not_gcc_host.py”, line 259, in
sys.exit(main())
File “external/toolchain/crosstool/scripts/crosstool_wrapper_driver_is_not_gcc_host.py”, line 256, in main
return subprocess.call([CPU_COMPILER] + cpu_compiler_flags)
File “/usr/lib/python2.7/subprocess.py”, line 172, in call
return Popen(*popenargs, **kwargs).wait()
File “/usr/lib/python2.7/subprocess.py”, line 394, in init
errread, errwrite)
File “/usr/lib/python2.7/subprocess.py”, line 1047, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

Any suggestion on how to solve this? I get this error after the initial setup, while trying to run the sample stereo app.

The error seems to indicate you were trying to build on aarch64, I think. Would you perhaps be trying to run Bazel commands directly on Jetson instead of on your host x86 development machine? Where machine is your Isaac SDK directory on?