ros-navigation / navigation2

ROS 2 Navigation Framework and System
https://nav2.org/
Other
2.63k stars 1.31k forks source link

Fix missing dependency on nav2_costmap_2d #4742

Closed Ryanf55 closed 3 weeks ago

Ryanf55 commented 3 weeks ago

Basic Info

Info Please fill out this column
Primary OS tested on Ubuntu 24

Description of contribution in a few bullet points

--- stderr: nav2_controller                                                                                                                                                                
CMake Error at CMakeLists.txt:35 (target_link_libraries):
  Target "controller_server_core" links to:

    nav2_costmap_2d::nav2_costmap_2d_core

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

CMake Error at CMakeLists.txt:113 (target_link_libraries):
  Target "simple_goal_checker" links to:

    nav2_costmap_2d::nav2_costmap_2d_core

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

CMake Error at CMakeLists.txt:134 (target_link_libraries):
  Target "stopped_goal_checker" links to:

    nav2_costmap_2d::nav2_costmap_2d_core

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

For Maintainers:

codecov[bot] commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

see 1 file with indirect coverage changes