Skip to content

Colcon Build Failure due to Missing of several dependenciesΒ #44

@HappySamuel

Description

@HappySamuel

Hi

I faced the following error when colcon build --symlink-install the isaac_ros_nitros and bumps into several errors. Some of them already found the solution, but some still unresolved. Help needed

Error 1: Missing of magic_enum

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

CMake Generate step failed.  Build files cannot be regenerated correctly.
---

Error 2: Missing of nvcv/Tensor.hpp

--- stderr: custom_nitros_dnn_image_encoder                                   
In file included from /home/agx-orin/workspaces3.0.1/isaac_ros-dev/src/isaac_ros_nitros/isaac_ros_managed_nitros_examples/custom_nitros_dnn_image_encoder/src/image_encoder_node.cpp:18:
/home/agx-orin/workspaces3.0.1/isaac_ros-dev/src/isaac_ros_nitros/isaac_ros_managed_nitros_examples/custom_nitros_dnn_image_encoder/include/custom_nitros_dnn_image_encoder/image_encoder_node.hpp:30:10: fatal error: nvcv/Tensor.hpp: No such file or directory
   30 | #include <nvcv/Tensor.hpp>
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:146: all] Error 2
---

Best
Samuel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions