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?
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).It's likely that @saito is trying to build the
melodic-devel
branch on Indigo.thank you. The link of ros.org was wrong. Correctly it was https://github.com/ros-planning/navig... . Then it went well. Thank you.