Open Aruen24 opened 4 months ago
I had another error with colcon build but maybe it is related. I am building using the dev container based on this tutorial: https://nvidia-isaac-ros.github.io/repositories_and_packages/isaac_ros_dnn_stereo_depth/isaac_ros_ess/index.html
Seems like a bunch of files are missing for package gxf_isaac_video_buffer_utils: extensions/gxf_helpers/parameter_parser_isaac.hpp gems/cuda_utils/launch_utils.hpp
here is my compiler output:
In file included from /workspaces/isaac_ros-dev/src/isaac_ros_dnn_stereo_depth/gxf_isaac_video_buffer_utils/gxf/extensions/video_buffer_utils/video_buffer_thresholder_extension.cpp:18:
/workspaces/isaac_ros-dev/src/isaac_ros_dnn_stereo_depth/gxf_isaac_video_buffer_utils/gxf/extensions/video_buffer_utils/components/video_buffer_thresholder.hpp:22:10: fatal error: extensions/gxf_helpers/parameter_parser_isaac.hpp: No such file or directory
22 | #include "extensions/gxf_helpers/parameter_parser_isaac.hpp"
| ^~~~~~~~~~~
compilation terminated.
gmake[2]: *** [CMakeFiles/gxf_isaac_video_buffer_utils.dir/build.make:90: CMakeFiles/gxf_isaac_video_buffer_utils.dir/gxf/extensions/video_buffer_utils/components/video_buffer_thresholder.cpp.o] Error 1
/workspaces/isaac_ros-dev/src/isaac_ros_dnn_stereo_depth/gxf_isaac_video_buffer_utils/gxf/extensions/video_buffer_utils/gems/video_buffer_thresholder.cu.cpp:26:10: fatal error: gems/cuda_utils/launch_utils.hpp: No such file or directory
26 | #include "gems/cuda_utils/launch_utils.hpp"
| ^~~~~~~~~~
compilation terminated.
I had another error with colcon build but maybe it is related. I am building using the dev container based on this tutorial: https://nvidia-isaac-ros.github.io/repositories_and_packages/isaac_ros_dnn_stereo_depth/isaac_ros_ess/index.html
Seems like a bunch of files are missing for package gxf_isaac_video_buffer_utils: extensions/gxf_helpers/parameter_parser_isaac.hpp gems/cuda_utils/launch_utils.hpp
here is my compiler output: In file included from /workspaces/isaac_ros-dev/src/isaac_ros_dnn_stereo_depth/gxf_isaac_video_buffer_utils/gxf/extensions/video_buffer_utils/video_buffer_thresholder_extension.cpp:18: /workspaces/isaac_ros-dev/src/isaac_ros_dnn_stereo_depth/gxf_isaac_video_buffer_utils/gxf/extensions/video_buffer_utils/components/video_buffer_thresholder.hpp:22:10: fatal error: extensions/gxf_helpers/parameter_parser_isaac.hpp: No such file or directory 22 | #include "extensions/gxf_helpers/parameter_parser_isaac.hpp" | ^
~~~~~~~~~~compilation terminated.gmake[2]: *** [CMakeFiles/gxf_isaac_video_buffer_utils.dir/build.make:90: CMakeFiles/gxf_isaac_video_buffer_utils.dir/gxf/extensions/video_buffer_utils/components/video_buffer_thresholder.cpp.o] Error 1 /workspaces/isaac_ros-dev/src/isaac_ros_dnn_stereo_depth/gxf_isaac_video_buffer_utils/gxf/extensions/video_buffer_utils/gems/video_buffer_thresholder.cu.cpp:26:10: fatal error: gems/cuda_utils/launch_utils.hpp: No such file or directory 26 | #include "gems/cuda_utils/launch_utils.hpp" | ^
~~~~~~~~~ compilation terminated.
You the Docker container using the run_dev.sh script?
@Aruen24 yes, I am am using run_dev.sh from https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_common.git to build and run the container
@Aruen24 yes, I am am using run_dev.sh from https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_common.git to build and run the container
Do you try build isaac_ros_ess with binary package? Launch the Docker container using the run_dev.sh script:
cd ${ISAAC_ROS_WS}/src/isaac_ros_common && \ ./scripts/run_dev.sh Install the prebuilt Debian package:
sudo apt-get install -y ros-humble-isaac-ros-ess && \ sudo apt-get install -y ros-humble-isaac-ros-ess-models-install Download and install the pre-trained ESS model files:
ros2 run isaac_ros_ess_models_install install_ess_models.sh --eula
@Aruen24 I tried building it from source. But got the errors mentioned above. I removed all gfx packages and then I could build it.
But my results look strange
Failed <<< isaac_ros_ess [0.34s, exited with code 2]
Summary: 2 packages finished [1.52s] 1 package failed: isaac_ros_ess 1 package had stderr output: isaac_ros_ess
rosdep install --from-paths ./src/isaac_ros_dnn_stereo_depth --ignore-src -y ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies: gxf_isaac_video_buffer_utils: Cannot locate rosdep definition for [gxf_isaac_tensorops] isaac_ros_ess: Cannot locate rosdep definition for [gxf_isaac_messages_throttler] gxf_isaac_ess: Cannot locate rosdep definition for [gxf_isaac_tensorops]
colcon build --packages-up-to isaac_ros_ess --- stderr: isaac_ros_ess_models_install gmake[2]: [CMakeFiles/install_ess_models.dir/build.make:74: isaac_ros_assets/models/dnn_stereo_disparity/dnn_stereo_disparity_v4.0.0/ess.engine] Error 1 gmake[1]: [CMakeFiles/Makefile2:137: CMakeFiles/install_ess_models.dir/all] Error 2 gmake: *** [Makefile:146: all] Error 2
Failed <<< isaac_ros_ess_models_install [0.97s, exited with code 2] Aborted <<< gxf_isaac_ess [1.01s] Aborted <<< gxf_isaac_video_buffer_utils [2.26s]
Summary: 2 packages finished [5.69s] 1 package failed: isaac_ros_ess_models_install 2 packages aborted: gxf_isaac_ess gxf_isaac_video_buffer_utils 1 package had stderr output: isaac_ros_ess_models_install 1 package not processed