cmakelist.txt — Configuring incomplete, errors occurred

asked 2017-03-17 15:21:43 -0500

Tamercan gravatar image

I get the following error although I have installed ROS.i cloned this project from github

this is CmakeList.txt following.

cmake_minimum_required(VERSION 2.8.3)

# Load catkin and all dependencies required for this package
find_package(catkin REQUIRED COMPONENTS

Sorry for my English.

-- Detecting CXX compile features - done
        CMake Error at CMakeLists.txt:5 (find_package):
          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:


          Add the installation prefix of "catkin" to CMAKE_PREFIX_PATH or set
edit retag flag offensive close merge delete


How did you install ROS, and what were the exact commands you used that resulted in the output you posted? Have you sourced the correct setup.bash before trying to build?

gvdhoorn gravatar image gvdhoorn  ( 2017-03-18 05:56:26 -0500 )edit

i have followed this video video

Tamercan gravatar image Tamercan  ( 2017-03-18 06:28:25 -0500 )edit

Could you please summarise it by adding the commands you used? I don't have the time to watch your video.

gvdhoorn gravatar image gvdhoorn  ( 2017-03-18 08:03:10 -0500 )edit

i have followed these commands

sudo apt-get install ros-indigo-desktop-full
sudo rosdep init
rosdep update
echo "source /opt/ros/indigo/setup.bash" >> ~/.bashrc
source ~/.bashrc
sudo apt-get install python-rosinstall
sudo apt-get install python-catkin-tools
Tamercan gravatar image Tamercan  ( 2017-03-18 08:16:52 -0500 )edit

Please Help Me

Tamercan gravatar image Tamercan  ( 2017-03-19 05:41:44 -0500 )edit

When I had this issue in the past, it meant that whatever CMake was struggling with was not installed, so I would recommend to install catkin. This should already be installed, so you should try reinstalling ROS with the tutorials located here:

corcorant gravatar image corcorant  ( 2017-03-21 11:39:18 -0500 )edit