Closed ikhann closed 1 year ago
Our container is built and run using the run_dev.sh
script in Isaac ROS Common, which includes arguments to the docker run
command here to mount the relevant header file into the container.
Since you're attempting to build the packages within an intermediate Dockerfile layer, the header file isn't available yet, and thus compilation fails.
One potential solution may be to explicitly copy over the relevant header files as part of your custom Dockerfile, while removing the corresponding bind mounts from run_dev.sh
.
Our container is built and run using the
run_dev.sh
script in Isaac ROS Common, which includes arguments to thedocker run
command here to mount the relevant header file into the container.Since you're attempting to build the packages within an intermediate Dockerfile layer, the header file isn't available yet, and thus compilation fails.
One potential solution may be to explicitly copy over the relevant header files as part of your custom Dockerfile, while removing the corresponding bind mounts from
run_dev.sh
.
Thanks! It works. I added two lines in Dockerfile:
COPY ./rc_ws/libs/nvToolsExt.h /usr/local/cuda-11.4/targets/aarch64-linux/include/nvToolsExt.h
COPY ./rc_ws/libs/libnvToolsExt.so /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnvToolsExt.so
Hi,
My System: Jetson Orin NX Ubuntu 20.04 Jetpack 5.1
I need to build Ros Isaac Nodes during a Dockerfile building on the Jetson. I added some layers in Dockerfile.user after "INSTALL ISAAC ROS" comment:
But, I get the errors about missing the header file
nvToolsExt.h
:I saw that the Isaac ROS Dev container adds /usr/local/cuda-11.4/targets/aarch64-linux/lib to LD_LIBRARY_PATH, but it looks like the system doesn't see Nsight library directories.
Could you please help me to solve this issue? This has been my headache for a couple of weeks now. I will be very grateful to you.