Ask Your Question
0

Cmake This workspace contains non-catkin packages in it

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

sergioma gravatar image

updated 2019-05-31 05:10:14 -0600

gvdhoorn 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 -0600

gvdhoorn gravatar image

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

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

Seen: 231 times

Last updated: May 31