NVIDIA-ISAAC-ROS / NVIDIA-ISAAC-ROS/isaac_ros_nitros
Colcon Build Failure due to Missing of several dependencies
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 220
- Forks
- 55
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported colcon build --symlink-install command and CMakeLists.txt:48, then inspect the build output for the missing magic_enum::magic_enum target and nvcv/Tensor.hpp include. The work is complete when the affected isaac_ros_nitros packages build successfully without these dependency errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, cpp
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100