Robotics StackExchange | Archived questions

CMake Error: Could not find module Findcatkin_simple.cmake

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!

Asked by percy_liu on 2016-08-01 02:26:41 UTC

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.

Asked by gvdhoorn on 2021-04-05 06:00:09 UTC

Answers

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

Asked by mohamed ahmed on 2021-04-05 01:25:50 UTC

Comments