NVIDIA-ISAAC-ROS / isaac_ros_image_pipeline

NVIDIA-accelerated ROS2 packages for camera image processing.
https://developer.nvidia.com/isaac-ros-gems
Apache License 2.0
121 stars 25 forks source link

the target was not found when colcon build gxf_issac_image_flip #48

Open willSapgreen opened 3 months ago

willSapgreen commented 3 months ago

To whom it may concern, executing colcon build in ROS2 humble environment, I have the following build error message

23.13 CMake Error at /opt/ros/humble/share/ament_cmake_auto/cmake/ament_auto_add_library.cmake:66 (add_library): 23.13 Target "gxf_isaac_image_flip" links to target "magic_enum::magic_enum" but 23.13 the target was not found. Perhaps a find_package() call is missing for an 23.13 IMPORTED target, or an ALIAS target is missing? 23.13 Call Stack (most recent call first): 23.13 CMakeLists.txt:33 (ament_auto_add_library)

Thank you for your precious time on this matter, and please let me know if any questions or suggestions.

HappySamuel commented 3 months ago

Hi @willSapgreen

Have you found a solution to this? As i faced similar issue too, currently stuck at gxf_isaac_image_flip When i do colcon build --symlink-install, received following errors:

/home/agx-orin/workspaces/isaac_ros-dev/src/isaac_ros_image_pipeline/isaac_ros_gxf_extensions/gxf_isaac_image_flip/gxf/image_flip_extension.cpp:19:10: fatal error: gxf/core/gxf.h: No such file or directory
   19 | #include "gxf/core/gxf.h"
/home/agx-orin/workspaces/isaac_ros-dev/src/isaac_ros_image_pipeline/isaac_ros_gxf_extensions/gxf_isaac_image_flip/gxf/image_flip.hpp:24:10: fatal error: gxf/core/entity.hpp: No such file or directory
   24 | #include "gxf/core/entity.hpp"

I checked those 2 files, they're well located inside the directory /home/agx-orin/workspaces/isaac_ros-dev/install/isaac_ros_gxf/share/isaac_ros_gxf/gxf/include/gxf/core

Best Samuel