I am trying to install the ROS2 docker container on my AGX-NX and the install is failing. I am using jetpack 4.5.1 on the NX.
Things go ok until it starts building orcoos_kdl. At this point I consistently get the following error:
Starting >>> ament_cmake_google_benchmark Finished <<< ament_cmake_google_benchmark [4.29s] Starting >>> orocos_kdl --- stderr: cyclonedds You have called ADD_LIBRARY for library ddsc without any source files. This typically indicates a problem with your CMakeLists.txt file WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte,int,int,java.security.ProtectionDomain) WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release make: *** [src/idlc/target/idlc-jar-with-dependencies.jar] Error 1 make: *** [src/idlc/CMakeFiles/idlc.dir/all] Error 2 make: *** [all] Error 2 Failed <<< cyclonedds [2min 52s, exited with code 2] [Processing: cyclonedds, foonathan_memory_vendor, orocos_kdl, uncrustify_vendor, yaml_cpp_vendor, zstd_vendor]
I have also tried to install this container on a TX2 and get the same error. Has anyone been able to install the current ROS2 container, if so did you have to resolve this build error?