Skip to content

Broken catkin build and debian package 3.8.0 for ROS noetic #478

@rcp1-beg

Description

@rcp1-beg

Hi,

the released version 3.8.0 for ROS 1 noetic (20.04) broke the catkin build by providing two cmake files with the same name:

lib/cmake/behaviortree_cpp_v3/behaviortree_cpp_v3Config.cmake <-- Generated by cmake configure_package_config_file
share/behaviortree_cpp_v3/cmake/behaviortree_cpp_v3Config.cmake <-- Generated by catkin

Catkin will find for dependent packages the first one, detect that behaviortree_cpp_v3 is not a proper catkin package and does not provide the standardized package variables. Thus, one needs to manually link BT::behaviortree_cpp_v3 with this release.

The problem was introduced with #379 as far as I can tell. One could wrap the manual configure_package_config_file in the CMakeLists.txt with if(NOT catkin_FOUND) as simplistic fix.

Thanks for looking into it!

Metadata

Metadata

Assignees

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