cmakelist.txt — Configuring incomplete, errors occurred
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)
project(ardrone_autonomy)
# Load catkin and all dependencies required for this package
find_package(catkin REQUIRED COMPONENTS
roscpp
image_transport
sensor_msgs
std_srvs
tf
camera_info_manager
message_generation
roslint
)
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:
catkinConfig.cmake
catkin-config.cmake
Add the installation prefix of "catkin" to CMAKE_PREFIX_PATH or set
Asked by Tamercan on 2017-03-17 15:21:43 UTC
Comments
How did you install ROS, and what were the exact commands you used that resulted in the output you posted? Have you
source
d the correctsetup.bash
before trying to build?Asked by gvdhoorn on 2017-03-18 05:56:26 UTC
i have followed this video video
Asked by Tamercan on 2017-03-18 06:28:25 UTC
Could you please summarise it by adding the commands you used? I don't have the time to watch your video.
Asked by gvdhoorn on 2017-03-18 08:03:10 UTC
i have followed these commands
Asked by Tamercan on 2017-03-18 08:16:52 UTC
Please Help Me
Asked by Tamercan on 2017-03-19 05:41:44 UTC
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:
http://wiki.ros.org/ROS/Installation
Asked by corcorant on 2017-03-21 11:39:18 UTC