Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keep getting catkin cannot build a non-homogeneous workspace without isolation after running CMake(onROS noetic) #13

Open
passafer opened this issue Mar 14, 2022 · 3 comments

Comments

@passafer
Copy link

traversing 20 packages in topological order:
-- ~~ - cartographer (plain cmake)
-- ~~ - otter_slam
-- ~~ - nmea_navsat_driver
-- ~~ - cartographer_ros_msgs
-- ~~ - usv_msgs
-- ~~ - mr_obs_connector
-- ~~ - rplidar_ros
-- ~~ - coverage_boustrophedon
-- ~~ - coverage_binn
-- ~~ - guidance
-- ~~ - otter_control
-- ~~ - cartographer_ros
-- ~~ - cartographer_rviz
-- ~~ - usv_gazebo_plugins
-- ~~ - otter_description
-- ~~ - otter_gazebo
-- ~~ - usv_worlds
-- ~~ - xsens_driver
-- ~~ - map_inflating
-- ~~ - sensors
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CMake Error at /opt/ros/noetic/share/catkin/cmake/catkin_workspace.cmake:100 (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:69 (catkin_workspace)

-- Configuring incomplete, errors occurred!
See also "/home/ubuntu/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/ubuntu/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed

@passafer passafer changed the title keep getting catkin cannot build a non-homogeneous workspace without isolation after running CMake keep getting catkin cannot build a non-homogeneous workspace without isolation after running CMake(onROS noetic) Mar 14, 2022
@jhlenes
Copy link
Owner

jhlenes commented Mar 16, 2022

I think this is because you have cartographer in your workspace.

As I say here, I recommend building cartographer in its own workspace, and then overlaying the workspace containing the complete_coverage package. See http://wiki.ros.org/catkin/Tutorials/workspace_overlaying

For example, you can build and install cartographer in ~/cartographer_ws. Then you should be able to build the complete_coverage package in ~/catkin_ws if you first source ~/cartographer_ws/install_isolated/setup.bash

@passafer
Copy link
Author

i built cartographer in cartographer_ws
sourced ~/cartographer_ws/install_isolated/setup.bash
now i started getting this after catkin_make
Invoking "make -j8 -l8" failed
some help please

@passafer
Copy link
Author

can you please send me an email ,i am doing a project using your code and i really need your help
[email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants