Error running basic Isaac SDK applications

I’m trying to get the Isaac SDK working and I keep getting errors that are causing my builds to fail. When working through the ping example (Developing Codelets in C++ — ISAAC 2021.1 documentation), everything seems to build correctly except for something relating to bazel. Here is an example of the error I’m getting:

"ERROR: /home/dev/.cache/bazel/_bazel_dev/0c258ab7a52055ab390eff1da6881785/external/redis/BUILD.bazel:77:1: Couldn’t build file external/redis/_objs/redis-server-lib/t_stream.o: undeclared inclusion(s) in rule ‘@redis//:redis-server-lib’:
this rule is missing dependency declarations for the following files included by ‘external/redis/src/t_stream.c’:
‘/usr/include/stdc-predef.h’
‘/usr/include/linux/version.h’
‘/usr/include/features.h’
‘/usr/include/aarch64-linux-gnu/sys/cdefs.h’
‘/usr/include/aarch64-linux-gnu/bits/wordsize.h’
‘/usr/include/aarch64-linux-gnu/bits/long-double.h’
‘/usr/include/aarch64-linux-gnu/gnu/stubs.h’
‘/usr/include/aarch64-linux-gnu/gnu/stubs-lp64.h’
‘/usr/include/aarch64-linux-gnu/sys/types.h’
‘/usr/include/aarch64-linux-gnu/bits/types.h’
‘/usr/include/aarch64-linux-gnu/bits/typesizes.h’
‘/usr/include/aarch64-linux-gnu/bits/types/clock_t.h’
‘/usr/include/aarch64-linux-gnu/bits/types/clockid_t.h’
‘/usr/include/aarch64-linux-gnu/bits/types/time_t.h’
‘/usr/include/aarch64-linux-gnu/bits/types/timer_t.h’
‘/usr/lib/gcc/aarch64-linux-gnu/7/include/stddef.h’
‘/usr/include/aarch64-linux-gnu/bits/stdint-intn.h’
‘/usr/include/endian.h’
‘/usr/include/aarch64-linux-gnu/bits/endian.h’
‘/usr/include/aarch64-linux-gnu/bits/byteswap.h’
‘/usr/include/aarch64-linux-gnu/bits/byteswap-16.h’
‘/usr/include/aarch64-linux-gnu/bits/uintn-identity.h’
‘/usr/include/aarch64-linux-gnu/sys/select.h’
‘/usr/include/aarch64-linux-gnu/bits/select.h’
‘/usr/include/aarch64-linux-gnu/bits/types/sigset_t.h’
‘/usr/include/aarch64-linux-gnu/bits/types/__sigset_t.h’
‘/usr/include/aarch64-linux-gnu/bits/types/struct_timeval.h’
‘/usr/include/aarch64-linux-gnu/bits/types/struct_timespec.h’
‘/usr/include/aarch64-linux-gnu/bits/select2.h’
‘/usr/include/aarch64-linux-gnu/sys/sysmacros.h’
‘/usr/include/aarch64-linux-gnu/bits/sysmacros.h’
‘/usr/include/aarch64-linux-gnu/bits/pthreadtypes.h’
‘/usr/include/aarch64-linux-gnu/bits/thread-shared-types.h’
‘/usr/include/aarch64-linux-gnu/bits/pthreadtypes-arch.h’
‘/usr/include/stdio.h’
‘/usr/include/aarch64-linux-gnu/bits/libc-header-start.h’
‘/usr/include/aarch64-linux-gnu/bits/types/__FILE.h’
‘/usr/include/aarch64-linux-gnu/bits/types/FILE.h’
‘/usr/include/aarch64-linux-gnu/bits/libio.h’
‘/usr/include/aarch64-linux-gnu/bits/_G_config.h’
‘/usr/include/aarch64-linux-gnu/bits/types/__mbstate_t.h’
‘/usr/lib/gcc/aarch64-linux-gnu/7/include/stdarg.h’
‘/usr/include/aarch64-linux-gnu/bits/stdio_lim.h’
‘/usr/include/aarch64-linux-gnu/bits/sys_errlist.h’
‘/usr/include/aarch64-linux-gnu/bits/stdio.h’
‘/usr/include/aarch64-linux-gnu/bits/stdio2.h’
‘/usr/lib/gcc/aarch64-linux-gnu/7/include/stdint.h’
‘/usr/include/stdint.h’
‘/usr/include/aarch64-linux-gnu/bits/wchar.h’
‘/usr/include/aarch64-linux-gnu/bits/stdint-uintn.h’
‘/usr/include/stdlib.h’
‘/usr/include/aarch64-linux-gnu/bits/waitflags.h’
‘/usr/include/aarch64-linux-gnu/bits/waitstatus.h’
‘/usr/include/aarch64-linux-gnu/bits/floatn.h’
‘/usr/include/aarch64-linux-gnu/bits/floatn-common.h’
‘/usr/include/aarch64-linux-gnu/bits/types/locale_t.h’
‘/usr/include/aarch64-linux-gnu/bits/types/__locale_t.h’
‘/usr/include/alloca.h’
‘/usr/include/aarch64-linux-gnu/bits/stdlib-bsearch.h’
‘/usr/include/aarch64-linux-gnu/bits/stdlib-float.h’
‘/usr/include/aarch64-linux-gnu/bits/stdlib.h’
‘/usr/include/string.h’
‘/usr/include/strings.h’
‘/usr/include/aarch64-linux-gnu/bits/strings_fortified.h’
‘/usr/include/aarch64-linux-gnu/bits/string_fortified.h’
‘/usr/include/time.h’
‘/usr/include/aarch64-linux-gnu/bits/time.h’
‘/usr/include/aarch64-linux-gnu/bits/timex.h’
‘/usr/include/aarch64-linux-gnu/bits/types/struct_tm.h’
‘/usr/include/aarch64-linux-gnu/bits/types/struct_itimerspec.h’
‘/usr/lib/gcc/aarch64-linux-gnu/7/include-fixed/limits.h’
‘/usr/lib/gcc/aarch64-linux-gnu/7/include-fixed/syslimits.h’
‘/usr/include/limits.h’
‘/usr/include/aarch64-linux-gnu/bits/posix1_lim.h’
‘/usr/include/aarch64-linux-gnu/bits/local_lim.h’
‘/usr/include/linux/limits.h’
‘/usr/include/aarch64-linux-gnu/bits/posix2_lim.h’
‘/usr/include/aarch64-linux-gnu/bits/xopen_lim.h’
‘/usr/include/aarch64-linux-gnu/bits/uio_lim.h’
‘/usr/include/unistd.h’
‘/usr/include/aarch64-linux-gnu/bits/posix_opt.h’
‘/usr/include/aarch64-linux-gnu/bits/environments.h’
‘/usr/include/aarch64-linux-gnu/bits/confname.h’
‘/usr/include/aarch64-linux-gnu/bits/getopt_posix.h’
‘/usr/include/aarch64-linux-gnu/bits/getopt_core.h’
‘/usr/include/aarch64-linux-gnu/bits/unistd.h’
‘/usr/include/errno.h’
‘/usr/include/aarch64-linux-gnu/bits/errno.h’
‘/usr/include/linux/errno.h’
‘/usr/include/aarch64-linux-gnu/asm/errno.h’
‘/usr/include/asm-generic/errno.h’
‘/usr/include/asm-generic/errno-base.h’
‘/usr/include/inttypes.h’
‘/usr/include/pthread.h’
‘/usr/include/sched.h’
‘/usr/include/aarch64-linux-gnu/bits/sched.h’
‘/usr/include/aarch64-linux-gnu/bits/cpu-set.h’
‘/usr/include/aarch64-linux-gnu/bits/setjmp.h’
‘/usr/include/syslog.h’
‘/usr/include/aarch64-linux-gnu/sys/syslog.h’
‘/usr/include/aarch64-linux-gnu/bits/syslog-path.h’
‘/usr/include/aarch64-linux-gnu/bits/syslog.h’
‘/usr/include/netinet/in.h’
‘/usr/include/aarch64-linux-gnu/sys/socket.h’
‘/usr/include/aarch64-linux-gnu/bits/types/struct_iovec.h’
‘/usr/include/aarch64-linux-gnu/bits/socket.h’
‘/usr/include/aarch64-linux-gnu/bits/socket_type.h’
‘/usr/include/aarch64-linux-gnu/bits/sockaddr.h’
‘/usr/include/aarch64-linux-gnu/asm/socket.h’
‘/usr/include/asm-generic/socket.h’
‘/usr/include/aarch64-linux-gnu/asm/sockios.h’
‘/usr/include/asm-generic/sockios.h’
‘/usr/include/aarch64-linux-gnu/bits/types/struct_osockaddr.h’
‘/usr/include/aarch64-linux-gnu/bits/socket2.h’
‘/usr/include/aarch64-linux-gnu/bits/in.h’
‘/usr/include/signal.h’
‘/usr/include/aarch64-linux-gnu/bits/signum.h’
‘/usr/include/aarch64-linux-gnu/bits/signum-generic.h’
‘/usr/include/aarch64-linux-gnu/bits/types/sig_atomic_t.h’
‘/usr/include/aarch64-linux-gnu/bits/types/siginfo_t.h’
‘/usr/include/aarch64-linux-gnu/bits/types/__sigval_t.h’
‘/usr/include/aarch64-linux-gnu/bits/siginfo-arch.h’
‘/usr/include/aarch64-linux-gnu/bits/siginfo-consts.h’
‘/usr/include/aarch64-linux-gnu/bits/siginfo-consts-arch.h’
‘/usr/include/aarch64-linux-gnu/bits/types/sigval_t.h’
‘/usr/include/aarch64-linux-gnu/bits/types/sigevent_t.h’
‘/usr/include/aarch64-linux-gnu/bits/sigevent-consts.h’
‘/usr/include/aarch64-linux-gnu/bits/sigaction.h’
‘/usr/include/aarch64-linux-gnu/bits/sigcontext.h’
‘/usr/include/aarch64-linux-gnu/asm/sigcontext.h’
‘/usr/include/linux/types.h’
‘/usr/include/aarch64-linux-gnu/asm/types.h’
‘/usr/include/asm-generic/types.h’
‘/usr/include/asm-generic/int-ll64.h’
‘/usr/include/aarch64-linux-gnu/asm/bitsperlong.h’
‘/usr/include/asm-generic/bitsperlong.h’
‘/usr/include/linux/posix_types.h’
‘/usr/include/linux/stddef.h’
‘/usr/include/aarch64-linux-gnu/asm/posix_types.h’
‘/usr/include/asm-generic/posix_types.h’
‘/usr/include/aarch64-linux-gnu/bits/types/stack_t.h’
‘/usr/include/aarch64-linux-gnu/sys/ucontext.h’
‘/usr/include/aarch64-linux-gnu/sys/procfs.h’
‘/usr/include/aarch64-linux-gnu/sys/time.h’
‘/usr/include/aarch64-linux-gnu/sys/user.h’
‘/usr/include/aarch64-linux-gnu/bits/sigstack.h’
‘/usr/include/aarch64-linux-gnu/bits/ss_flags.h’
‘/usr/include/aarch64-linux-gnu/bits/types/struct_sigstack.h’
‘/usr/include/aarch64-linux-gnu/bits/sigthread.h’
‘/usr/include/malloc.h’
"

Many variations of the same error keep repeating throughout the build process. The only thing that changes is here: ‘external/redis/src/different for each error here’. It appears to be relating to bazel which I had to manually install from this repository: GitHub - jkjung-avt/jetson_nano: This repository is a collection of scripts/programs I use to set up the software development environment on my Jetson Nano, TX2, and Xavier NX.. I had to install it manually because the Isaac SDK install script didn’t appear to install it for me when I ran it.

I started with a fresh install of Jetpack 5.4.1 on a Jetson Nano 4GB as instructed in the Isaac SDK documentation (Setup — ISAAC 2021.1 documentation). The bazel version I installed was 3.1.0 as instructed. Whatever is causing these errors is preventing me from using the Isaac SDK since nothing is able to build properly. How can I fix this? Thanks.

Isaac SDK is meant to be compiled on x86 (using bazel) for deployment to a Jetson (using the engine/engine/build/deploy.sh script). You will not be able to build/compile Isaac SDK applications directly on the Jetson itself.