Upgrade cmake
Hello. I am a ROS beginner. I am doing SLAM of turtlebot 2 in the ubuntu 14.04, ros (indigo) personal computer environment.
when,building,the error is occured.
CMake Error at navigation/amcl/CMakeLists.txt:1 (cmake_minimum_required):
CMake 3.1 or higher is required. You are running version 2.8.12.2
so,I upgraded CMake at cmake version 3.8.2 With reference to this.
then,when I input the command "cmake --version","cmake version 3.8.2" is showed.
however,when I try building,The same error is displayed.
I think that I made a mistake at link number 6. How can I do it?
Asked by saito on 2018-11-26 03:18:29 UTC
Comments
Are you trying to build from source or have you installed the package
amcl
withsudo apt-get
? For indigo in the CMake there is the linecmake_minimum_required(VERSION 2.8.3)
but it's set toVERSION 3.1
in melodic (which is your error and shouldn't be the case).Asked by Delb on 2018-11-26 03:37:32 UTC
It's likely that @saito is trying to build the
melodic-devel
branch on Indigo.Asked by gvdhoorn on 2018-11-26 03:46:25 UTC
thank you. The link of ros.org was wrong. Correctly it was https://github.com/ros-planning/navigation/tree/indigo-devel. Then it went well. Thank you.
Asked by saito on 2018-11-26 05:33:46 UTC