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

Cmake This workspace contains non-catkin packages in it

asked 2019-05-31 03:17:13 -0500

sergioma gravatar image

updated 2023-06-18 09:48:01 -0500

lucasw gravatar image

I started to install mavros, an error happens when i use catkin_make. I have searched on the website for this but have no results yet. Did anyone have this kind of problem before?

CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkin_workspace.cmake:95 (message):
  This workspace contains non-catkin packages in it, and catkin cannot build
  a non-homogeneous workspace without isolation.  Try the
  'catkin_make_isolated' command instead.
Call Stack (most recent call first):
  CMakeLists.txt:63 (catkin_workspace)


-- Configuring incomplete, errors occurred!
See also "/home/sergio/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/sergio/catkin_ws/build/CMakeFiles/CMakeError.log".
Makefile:2460: fallo en las instrucciones para el objetivo 'cmake_check_build_system'
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-05-31 05:12:34 -0500

gvdhoorn gravatar image

updated 2019-05-31 05:13:10 -0500

First: please make sure you actually need to build it from sources.

mavros (and related packages) have been released for Indigo, Kinetic, Lunar and Melodic. See wiki/mavros.

If you just want to use the packages, use sudo apt install ros-kinetic-mavros instead of building from source.

As to the error message: if you're following the source build installation instructions it actually tells you to use catkin build, not catkin_make.

catkin_make cannot build workspaces with non-Catkin packages in it. catkin_tools can.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-05-31 03:17:13 -0500

Seen: 5,745 times

Last updated: May 31 '19