cmake error in robot_localization
Hi there,
I got a Cmake error when trying to build the robot_localization package on Noetic.
Your help would be much appreciated.
Below are the output in the terminal
yuxiang@yuxiang:~/catkinws$ catkinmake
Base path: /home/yuxiang/catkin_ws
Source space: /home/yuxiang/catkin_ws/src
Build space: /home/yuxiang/catkin_ws/build
Devel space: /home/yuxiang/catkin_ws/devel
Install space: /home/yuxiang/catkin_ws/install
####
#### Running command: "cmake /home/yuxiang/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/yuxiang/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/yuxiang/catkin_ws/install -G Unix Makefiles" in "/home/yuxiang/catkin_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/yuxiang/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/yuxiang/catkin_ws/devel;/home/yuxiang/ydlidar_ws/devel;/opt/ros/noetic
-- This workspace overlays: /home/yuxiang/catkin_ws/devel;/home/yuxiang/ydlidar_ws/devel;/opt/ros/noetic
-- Using PYTHON_EXECUTABLE: /usr/bin/python3
-- Using Debian Python package layout
-- Using empy: /usr/lib/python3/dist-packages/em.py
-- Using CATKIN_ENABLE_TESTING: False
-- catkin 0.8.10
-- BUILD_SHARED_LIBS is on
-- BUILD_SHARED_LIBS is on
-- Using CATKIN_WHITELIST_PACKAGES: gps_waypoint_nav;robot_localization;tf2;tf2_eigen;tf2_geometry_msgs;tf2_msgs;tf2_py;tf2_ros
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 7 packages in topological order:
-- ~~ - tf2_msgs
-- ~~ - tf2
-- ~~ - tf2_eigen
-- ~~ - tf2_py
-- ~~ - tf2_ros
-- ~~ - tf2_geometry_msgs
-- ~~ - robot_localization (plain cmake)
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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/yuxiang/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/yuxiang/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed
yuxiang@yuxiang:~/catkinws$ catkinmake_isolated
Base path: /home/yuxiang/catkin_ws
Source space: /home/yuxiang/catkin_ws/src
Build space: /home/yuxiang/catkin_ws/build_isolated
Devel space: /home/yuxiang/catkin_ws/devel_isolated
> Install space:
> /home/yuxiang/catkin_ws/install_isolated
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~~ traversing 94 packages in
> topological order: ~~ -
> beginner_tutorials ~~ -
> costmap_cspace_msgs ~~ -
> ddynamic_reconfigure ~~ -
> delta_description ~~ -
> delta_viz_server ~~ - exploration ~~
> - exploration_msgs ~~ - followbot ~~ - geometry2 ~~ - learning_tf ~~ - map_organizer_msgs ~~ - my_camera ~~
> - navigation ~~ - neonavigation ~~ - neonavigation_common ~~ -
> joystick_interrupt ~~ -
> neonavigation_launch ~~ -
> neonavigation_msgs ~~ -
> neonavigation_rviz_plugins ~~ -
> nmea_navsat_driver ~~ -
> obj_to_pointcloud ~~ -
> obstacle-avoidance-turtlebot ~~ -
> planner_cspace_msgs ~~ -
> realsense2_camera ~~ -
> realsense2_description ~~ -
> robot_gui_bridge ~~ -
> ros_autonomous_slam ~~ -
> rviz_camera_stream ~~ -
> safety_limiter_msgs ~~ - tf2_msgs ~~
> - tf2 ~~ - map_server ~~ - tf2_bullet ~~ - tf2_eigen ~~ -
> tf2_py ~~ - tf2_ros ~~ -
> tf2_geometry_msgs ~~ - amcl ~~ -
> fake_localization ~~ -
> interactive_markers ~~ -
> map_organizer ~~ -
> multirobot_map_merge ~~ -
> robot_localization (unknown) ~~ -
> tf2_kdl ~~ - test_tf2 ~~ -
> tf2_sensor_msgs ~~ - costmap_cspace
> ~~ - safety_limiter ~~ - tf2_tools
> ~~ - tf2_web_republisher ~~ -
> track_odometry ~~ -
> trajectory_tracker_msgs ~~ -
> trajectory_tracker ~~ -
> planner_cspace ~~ -
> trajectory_tracker_rviz_plugins ~~ -
> turtlebot3 ~~ -
> turtlebot3_autorace_2020 ~~ -
> turtlebot3_autorace_camera ~~ -
> turtlebot3_autorace_core ~~ -
> turtlebot3_autorace_detect ~~ -
> turtlebot3_autorace_msgs ~~ -
> turtlebot3_autorace_driving ~~ -
> turtlebot3_description ~~ -
> turtlebot3_gazebo ~~ -
> turtlebot3_msgs ~~ -
> turtlebot3_bringup ~~ -
> turtlebot3_example ~~ -
> turtlebot3_fake ~~ -
> turtlebot3_navigation ~~ -
> turtlebot3_simulations ~~ -
> turtlebot3_slam ~~ -
> turtlebot3_teleop ~~ - tutorial_one
> ~~ - vision_msgs ~~ -
> depthai_ros_msgs ~~ - depthai_bridge
> ~~ - depthai_examples ~~ -
> voxel_grid ~~ - costmap_2d ~~ -
> explore_lite ~~ - nav_core ~~ -
> base_local_planner ~~ -
> carrot_planner ~~ -
> clear_costmap_recovery ~~ -
> dwa_local_planner ~~ -
> move_slow_and_clear ~~ - navfn ~~ -
> global_planner ~~ - polygon_layer ~~
> - exploration_server ~~ - frontier_exploration ~~ -
> rotate_recovery ~~ - move_base ~~ -
> rtabmap_ros
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Error: Packages with unknown build
> types exist Can not build workspace
> with packages of unknown build_type
> yuxiang@yuxiang:~/catkin_ws$
Asked by noname on 2022-07-17 21:17:04 UTC
Comments
Hey, I am having same error, can you suggest how did you resolved it? Thanks
Asked by divi@04 on 2022-12-10 15:11:29 UTC
Hey, try sudo apt-get install ros-neotic-robot-localization
Asked by noname on 2022-12-11 15:14:47 UTC