/home/lww/sotf/code/robot_hmi/CMakeLists.txt:14: error: By not providing "Findcatkin.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "catkin", but CMake did not find one. Could not find a package configuration file provided by "catkin" with any of the following names: catkinConfig.cmake catkin-config.cmake Add the installation prefix of "catkin" to CMAKE_PREFIX_PATH or set "catkin_DIR" to a directory containing one of the above files. If "catkin" provides a separate development package or SDK, be sure it has been installed.
时间: 2023-11-30 07:03:49 浏览: 417
基于STM32 的RGB5050 控制器原理图+gerber文件+BOM-电路方案
5星 · 资源好评率100%
这个问题看起来是在编译你的代码时现的错误。它似乎是由于找不到 "catkin" 软件包导致的。你需要检查是否已经安装了 catkin 软件包,或者是否将其安装路径添加到 CMAKE_PREFIX_PATH 变量中。你可以尝试执行以下命令:`sudo apt-get install ros-<distro>-catkin`,其中 `<distro>` 是你正在使用的 ROS 版本。如果已经安装了 catkin 软件包,那么你需要确保 CMAKE_MODULE_PATH 变量包含了能够找到 catkinConfig.cmake 或 catkin-config.cmake 文件的路径。
阅读全文