【发布时间】:2019-07-22 07:08:33
【问题描述】:
我正在尝试使用 catkin 在 ROS 中构建一些包。
当我在顶级目录中运行 catkin_make 时,我收到了关于 cmake 版本的投诉:
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/ignition-math4/ignition-math4-config.cmake:26 (cmake_minimum_required):
CMake 3.5.1 or higher is required. You are running version 3.3.2
然后我更新了我的 cmake 版本,还修改了路径。我验证现在cmake的版本是3.15:
~/catkin_ws$ cmake --version
cmake version 3.15.0
CMake suite maintained and supported by Kitware (kitware.com/cmake).
当我回去再次尝试 catkin_make 时,问题仍然存在。
我想 catkin 已经在某个地方定义了自己的路径或环境变量,并且正在使用来自不同地方的 cmake,但我不知道如何更改它。有什么建议么?提前致谢。
--凯文
【问题讨论】: