| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
The package.xml had two <package> root elements which is invalid XML. This caused colcon to fail to parse it, preventing ROS2 builds from finding the reactor-cpp package. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Points to lf-lang/reactor-cpp#80 which fixes the malformed package.xml that was causing ROS2 colcon builds to fail. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Detect ament during ROS2 builds and export targets so reactor-cpp is discoverable by ament_target_dependencies.
Use a standard target export name so ament generates reactor-cppConfig.cmake for downstream find_package calls.
When using ament, ament_package() should handle installing the export files and generating the Config.cmake. The explicit install(EXPORT ...) was interfering with this, causing find_package(reactor-cpp) to fail in downstream packages. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The ament_package() generated Config.cmake includes the export targets file, so we need to install it. The previous fix incorrectly removed this when using ament. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Match the pattern used by rclcpp and other ROS2 packages: - Use PROJECT_NAME as export name instead of PROJECT_NAME + Targets - Add ament_export_libraries for legacy CMake compatibility Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Clean up debug output that was added during ROS2/ament build troubleshooting. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
| Back | FazBrowse Home | New Git URL |
Summary
Test plan
🤖 Generated with Claude Code