Robotics StackExchange | Archived questions

Update Cmake for ROS

Hello everyone, i am trying to catkin_make a workspace relating to V-REP. However, the system required to update Cmake. I am using cmake 3.10.2 and i want to update to cmake 3.18. I have tried to update cmake according to this question link text And I checked by cmake --version and the cmake was updated to 3.18.

cmake version 3.18.4

CMake suite maintained and supported by Kitware (kitware.com/cmake)

However, when i catkin_make the workspace again, the problem was still unchanged.

CMake Error at sim_ros_interface/CMakeLists.txt:1 (cmake_minimum_required):
  CMake 3.16 or higher is required.  You are running version 3.10.2

-- Configuring incomplete, errors occurred!
See also "/home/huy/ros_vrep_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/huy/ros_vrep_ws/build/CMakeFiles/CMakeError.log".
Makefile:320: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed

Can you help me to solve this problem, please! Thanks in advance !

Asked by N.N.Huy on 2020-10-25 08:06:41 UTC

Comments

Have you tried out this solution from #q293119?

Asked by abhishek47 on 2021-03-31 01:36:14 UTC

Answers