ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

CMake Error: Could not find module Findcatkin_simple.cmake

asked 2016-08-01 02:26:41 -0500

percy_liu gravatar image

I downloaded the whole project from BitBucket and didn't change anything before I compiled the project. The error was

CMake Error at ocs_control_system/type_moveit/CMakeLists.txt:4 (find_package): 
Could not find module Findcatkin_simple.cmake or a configuration file for package catkin_simples.

Adjust CMAKE_MODULE_PATH to find Findcatkin_simple.cmake or set catkin_simple_DIR to the directory containing a CMake configuration file for catkin_simple. The file will have one of the following names:

 catkin_simpleConfig.cmake
 catkin_simple-config.cmake


CMake Error at ocs_control_system/type_moveit/CMakeLists.txt:6 (catkin_simple):
Unknown CMake command "catkin_simple".

-- Configuring incomplete, errors occurred!
Invoking "cmake" failed

The CMakeLists.txt mentioned was

cmake_minimum_required(VERSION 2.8.3)
project(type_moveit)

find_package(catkin_simple REQUIRED)

catkin_simple()

cs_install()
install(DIRECTORY launch DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
install(DIRECTORY config DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})

cs_export()

How could I solve this problem? Thanks a lot!

edit retag flag offensive close merge delete

Comments

I downloaded the whole project from BitBucket and didn't change anything before I compiled the project

if that was all you did, you're missing a few steps.

See #q252478 for an example workflow.

gvdhoorn gravatar image gvdhoorn  ( 2021-04-05 06:00:09 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-04-05 01:25:50 -0500

mohamed ahmed gravatar image

Clone this repo into your workspace/src directory and it should work

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-08-01 02:26:41 -0500

Seen: 1,594 times

Last updated: Apr 05 '21