基于ROS2/DDS的代码编译ament_target_dependencies报错
-
使用colcon build出现下面错误,请教一下应该如何定位问题并解决?
Starting >>> shape_communication
--- stderr: shape_communication
CMake Error at /opt/ros/humble/share/ament_cmake_target_dependencies/cmake/ament_target_dependencies.cmake:77 (message):
ament_target_dependencies() the passed package name 'shape_communication'
was not found before
Call Stack (most recent call first):
CMakeLists.txt:42 (ament_target_dependencies)
Failed <<< shape_communication [5.47s, exited with code 1]
Summary: 0 packages finished [6.61s]
1 package failed: shape_communication
1 package had stderr output: shape_communication