Cmake This workspace contains non-catkin packages in it
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
Asked by sergioma on 2019-05-31 03:17:13 UTC
Answers
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.
Asked by gvdhoorn on 2019-05-31 05:12:34 UTC
Comments