Error Running bazel build //apps/samples/stereo_dummy

Hello Everyone!

I am trying to install Isaac SDK 2019.3 but its not possible for me I am currently using ubuntu 19.10 because it works better with my hardware but I am not sure if its that (hopefully not!)
This is my hardware:

Lenovo p53:

Xeon E-2276
64 GB Ram
Quadro RTX 5000

and here are the versions of the dependencies that I am using:

emtechiot@emtechiot:~/Isaac$ python3 --version
Python 3.7.5
emtechiot@emtechiot:~/Isaac$ python --version
Python 2.7.17
emtechiot@emtechiot:~/Isaac$ python3 -c ‘import tensorflow as tf; print(tf.version)’
2.0.0
emtechiot@emtechiot:~/Isaac$ python -c ‘import tensorflow as tf; print(tf.version)’
Traceback (most recent call last):
File “”, line 1, in
ImportError: No module named tensorflow
emtechiot@emtechiot:~/Isaac$ bazel version
Build label: 2.0.0
Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Thu Dec 19 12:30:18 2019 (1576758618)
Build timestamp: 1576758618
Build timestamp as int: 1576758618

the first errors that I am getting are this ones (here is a link for the whole list of errors that I am getting ( https://drive.google.com/open?id=16xi43_aKYEfuAFvZUMq9p6r6AYr7uvlI ):

emtechiot@emtechiot:~/Isaac$ sudo bazel build //apps/samples/stereo_dummy
WARNING: /home/emtechiot/Isaac/packages/viewers/BUILD:14:12: in srcs attribute of cc_binary rule //packages/viewers:libviewers_module.so: please do not import ‘//packages_x86_64/viewers:libviewers_module.so’ directly. You should either move the file to this package or depend on an appropriate rule there
INFO: Analysed target //apps/samples/stereo_dummy:stereo_dummy (0 packages loaded, 0 targets configured).
INFO: Found 1 target…
ERROR: /root/.cache/bazel/_bazel_root/2a61a6a4ef36adb8d9f83ad3fb74d7f6/external/libjpeg/BUILD.bazel:29:1: Couldn’t build file external/libjpeg/_objs/jpeg/jidctfst.pic.o: undeclared inclusion(s) in rule ‘@libjpeg//:jpeg’:
this rule is missing dependency declarations for the following files included by ‘external/libjpeg/jidctfst.c’:
‘/usr/lib/gcc/x86_64-linux-gnu/9/include/stddef.h’
‘/usr/lib/gcc/x86_64-linux-gnu/9/include/stdarg.h’
ERROR: /root/.cache/bazel/_bazel_root/2a61a6a4ef36adb8d9f83ad3fb74d7f6/external/capnproto/BUILD.bazel:59:1: Couldn’t build file external/capnproto/_objs/kj_heavy/refcount.o: undeclared inclusion(s) in rule ‘@capnproto//:kj_heavy’:
this rule is missing dependency declarations for the following files included by ‘external/capnproto/c++/src/kj/refcount.c++’:
‘/usr/lib/gcc/x86_64-linux-gnu/9/include/stddef.h’
ERROR: /root/.cache/bazel/_bazel_root/2a61a6a4ef36adb8d9f83ad3fb74d7f6/external/capnproto/BUILD.bazel:20:1: Couldn’t build file external/capnproto/_objs/kj_lite/string-tree.pic.o: undeclared inclusion(s) in rule ‘@capnproto//:kj_lite’:
this rule is missing dependency declarations for the following files included by ‘external/capnproto/c++/src/kj/string-tree.c++’:
‘/usr/lib/gcc/x86_64-linux-gnu/9/include/stddef.h’
ERROR: /home/emtechiot/Isaac/engine/core/tensor/BUILD:13:1: Couldn’t build file engine/core/tensor/_objs/element_type/element_type.pic.o: undeclared inclusion(s) in rule ‘//engine/core/tensor:element_type’:
this rule is missing dependency declarations for the following files included by ‘engine/core/tensor/element_type.cpp’:
‘/usr/lib/gcc/x86_64-linux-gnu/9/include/stdint.h’
‘/usr/lib/gcc/x86_64-linux-gnu/9/include/stddef.h’
‘/usr/lib/gcc/x86_64-linux-gnu/9/include/stdarg.h’
ERROR: /root/.cache/bazel/_bazel_root/2a61a6a4ef36adb8d9f83ad3fb74d7f6/external/capnproto/BUILD.bazel:20:1: Couldn’t build file external/capnproto/_objs/kj_lite/memory.o: undeclared inclusion(s) in rule ‘@capnproto//:kj_lite’:
this rule is missing dependency declarations for the following files included by ‘external/capnproto/c++/src/kj/memory.c++’:
‘/usr/lib/gcc/x86_64-linux-gnu/9/include/stddef.h’
ERROR: /root/.cache/bazel/_bazel_root/2a61a6a4ef36adb8d9f83ad3fb74d7f6/external/capnproto/BUILD.bazel:20:1: Couldn’t build file external/capnproto/_objs/kj_lite/test-helpers.o: undeclared inclusion(s) in rule ‘@capnproto//:kj_lite’:
this rule is missing dependency declarations for the following files included by ‘external/capnproto/c++/src/kj/test-helpers.c++’:
‘/usr/lib/gcc/x86_64-linux-gnu/9/include/stddef.h’
ERROR: /root/.cache/bazel/_bazel_root/2a61a6a4ef36adb8d9f83ad3fb74d7f6/external/capnproto/BUILD.bazel:59:1: Couldn’t build file external/capnproto/_objs/kj_heavy/string-tree.o: undeclared inclusion(s) in rule ‘@capnproto//:kj_heavy’:
this rule is missing dependency declarations for the following files included by ‘external/capnproto/c++/src/kj/string-tree.c++’:
‘/usr/lib/gcc/x86_64-linux-gnu/9/include/stddef.h’
ERROR: /root/.cache/bazel/_bazel_root/2a61a6a4ef36adb8d9f83ad3fb74d7f6/external/capnproto/BUILD.bazel:88:1: Couldn’t build file external/capnproto/_objs/capnp_lite/serialize.o: undeclared inclusion(s) in rule ‘@capnproto//:capnp_lite’:
this rule is missing dependency declarations for the following files included by ‘external/capnproto/c++/src/capnp/serialize.c++’:
‘/usr/lib/gcc/x86_64-linux-gnu/9/include/stddef.h’
‘/usr/lib/gcc/x86_64-linux-gnu/9/include/stdint.h’

Thank you very much for your time!!

This does look like an issue with GCC/Ubuntu version. Isaac SDK is based on Ubuntu 18.04/GCC 7.4.0, to match JetPack/L4T software version. Note, the version of TensorFlow installed on your system is also not the one indicated as supported in the Isaac documentation.

The best option to fix this would be to use a clean Ubuntu 18.04 LTS installation on the workstation setup for robotics development. Alternatively, a docker container could be used for development - see https://docs.nvidia.com/isaac/isaac/engine/build/docker/doc/docker.html?highlight=docker