Skip to content

Colcon build Error 1 package failed: ros2_actions #19

@TriKnight

Description

@TriKnight

I tried to clone branch humble and following your introduction, but when I built my workspace, I got the following error, even I added the move_group_interface_improved.h in /opt/ros/humble/include/moveit/move_group_interface.

--- stderr: ros2_actions
/usr/bin/ld: CMakeFiles/moveL_action.dir/scripts/moveL_action.cpp.o: in function `ActionServer::execute(std::shared_ptr<rclcpp_action::ServerGoalHandle<ros2_data::action::MoveL> >)':
moveL_action.cpp:(.text._ZN12ActionServer7executeESt10shared_ptrIN13rclcpp_action16ServerGoalHandleIN9ros2_data6action5MoveLEEEE[_ZN12ActionServer7executeESt10shared_ptrIN13rclcpp_action16ServerGoalHandleIN9ros2_data6action5MoveLEEEE]+0x55e): undefined reference to `moveit::planning_interface::MoveGroupInterface::execute(moveit_msgs::msg::RobotTrajectory_<std::allocator<void> > const&)'
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/moveL_action.dir/build.make:364: moveL_action] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:261: CMakeFiles/moveL_action.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
---
Failed   <<< ros2_actions [0.92s, exited with code 2]

Thanks for your support

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions