Skip to content

Comments

Fix missing ROS2MedkitCompat.cmake in turtlebot3_integration Dockerfile#31

Merged
bburda merged 1 commit intoselfpatch:mainfrom
victorsolaz:fix/turtlebot3-missing-cmake-module
Feb 19, 2026
Merged

Fix missing ROS2MedkitCompat.cmake in turtlebot3_integration Dockerfile#31
bburda merged 1 commit intoselfpatch:mainfrom
victorsolaz:fix/turtlebot3-missing-cmake-module

Conversation

@victorsolaz
Copy link
Contributor

Description

Preserve ROS2MedkitCompat.cmake from the ros2_medkit clone before deleting it in the turtlebot3_integration Dockerfile. Without this, colcon build fails because ros2_medkit_serialization (and other packages) cannot resolve their ../../cmake/ROS2MedkitCompat.cmake include path.

Same root cause as #28 / #29, but affecting a different demo.

The fix adds a single line to copy the shared CMake module to ${COLCON_WS}/cmake/ — the exact location the relative paths resolve to from packages under ${COLCON_WS}/src/.

Related Issue

Closes #30

Checklist

  • Tested locally
  • README updated (if needed)

Preserve the shared CMake module from the ros2_medkit clone before
deleting it. Without this, colcon build fails because
ros2_medkit_serialization (and other packages) cannot resolve
their ../../cmake/ROS2MedkitCompat.cmake include path.

Fixes selfpatch#30
@bburda bburda self-requested a review February 19, 2026 16:06
Copy link
Contributor

@bburda bburda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@victorsolaz Thanks for this! +1

@bburda bburda merged commit 4067887 into selfpatch:main Feb 19, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

turtlebot3_integration: Docker build fails — missing ROS2MedkitCompat.cmake

2 participants