Cartographer_ros: BUILD ERROR: the following packages/stacks could not have their rosdep keys resolved

Created on 16 Aug 2017  路  5Comments  路  Source: cartographer-project/cartographer_ros

ubuntu 16.04, kinetic

$ rosdep install --from-paths src --ignore-src --rosdistro=${ROS_DISTRO} -y
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
ceres-solver: No definition of [eigen] for OS version []
cartographer: No definition of [eigen] for OS version []

How to resolve it ?
Thanks

Most helpful comment

I resolved it

$ rosdep install --from-paths src --ignore-src --rosdistro=${ROS_DISTRO} -y --os=ubuntu:xenial
#All required rosdeps installed successfully

Please write it to your wiki. Thanks

All 5 comments

I resolved it

$ rosdep install --from-paths src --ignore-src --rosdistro=${ROS_DISTRO} -y --os=ubuntu:xenial
#All required rosdeps installed successfully

Please write it to your wiki. Thanks

This does not seem like a Cartographer ROS issue. Please re-open if you think this is incorrect. Adding --os=ubuntu:xenial should not be necessary. It is also only correct if you use xenial.

Your issue seems related to rosdep, e.g. see https://answers.ros.org/question/40081/rosdep-doesnt-recognize-os/ and https://github.com/ros-infrastructure/rosdep/issues/10 and references.

Had this issue for ubuntu: focal with ROS2 Foxy, came to say this solved my issue as well.

Putting this here for reference, had this happen again on a different computer and had already forgot. rosdep install --from-paths ros2-linux/share --ignore-src --rosdistro foxy -y --skip-keys "console_bridge fastcdr fastrtps osrf_testing_tools_cpp poco_vendor rmw_connext_cpp rosidl_typesupport_connext_c rosidl_typesupport_connext_cpp rti-connext-dds-5.3.1 tinyxml_vendor tinyxml2_vendor urdfdom urdfdom_headers" ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies: rosidl_adapter: No definition of [python3-empy] for OS version [] rcl_logging_noop: No definition of [python3-empy] for OS version [] tf2_eigen: No definition of [eigen] for OS version [] rcutils: No definition of [python3-empy] for OS version [] ament_clang_tidy: No definition of [clang-tidy] for OS version [] tf2_sensor_msgs: No definition of [eigen] for OS version [] launch: No definition of [python3-lark-parser] for OS version [] ament_pep257: No definition of [pydocstyle] for OS version [] laser_geometry: No definition of [eigen] for OS version [] rmw_cyclonedds_cpp: No definition of [cyclonedds] for OS [debian] ros2pkg: No definition of [python3-empy] for OS version [] ament_clang_format: No definition of [clang-format] for OS version [] rosidl_parser: No definition of [python3-lark-parser] for OS version [] ros2doctor: No definition of [python3-ifcfg] for OS version [] ament_flake8: No definition of [python3-flake8] for OS version [] ament_mypy: No definition of [python3-mypy] for OS version [] ament_package: No definition of [python3-flake8] for OS version [] rcl_logging_log4cxx: No definition of [log4cxx] for OS version [] rviz_rendering: No definition of [eigen] for OS version [] orocos_kdl: No definition of [eigen] for OS version []

I'm still seeing this with ROS 2 foxy. How did you solve this? @samhoff20

Was this page helpful?
0 / 5 - 0 ratings