colcon build 错误 / Ubuntu22.04 humble ros2

作者: h1natq创建于 2024年2月26日更新于 2025年11月19日

我在 colcon 编译 cartographer_ros_msgs 时出现了错误,如下所示。'CMake Error at CMakeLists.txt:24 (find_package): 由于未在 CMAKE_MODULE_PATH 中提供 "Findcatkin.cmake",本项目要求 CMake 找到由 "catkin" 提供的包配置文件,但 CMake 没有找到。

内容来源: cartographer-project/cartographer