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

运行第二条,安装教学所需的依赖包报错 #6

Closed
chall1123 opened this issue Jun 25, 2018 · 4 comments
Closed

运行第二条,安装教学所需的依赖包报错 #6

chall1123 opened this issue Jun 25, 2018 · 4 comments

Comments

@chall1123
Copy link

rosdep install --from-paths src --ignore-src --rosdistro=kinetic -y
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
slam_sim_demo: No definition of [hector_mapping] for OS [debian]

编译报错
ROS-Academy-for-Beginners/slam_sim_demo/CMakeLists.txt:3 (find_package)

-- Could not find the required component 'slam_karto'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by "slam_karto" with
any of the following names:

slam_kartoConfig.cmake
slam_karto-config.cmake

Add the installation prefix of "slam_karto" to CMAKE_PREFIX_PATH or set
"slam_karto_DIR" to a directory containing one of the above files. If
"slam_karto" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
ROS-Academy-for-Beginners/slam_sim_demo/CMakeLists.txt:3 (find_package)

@lazyparser
Copy link
Member

Could not find the required component 'slam_karto'.

这个依赖关系安装了么?

@anchuanxu
Copy link
Collaborator

尝试运行 $ rosdep install --from-paths src --ignore-src --rosdistro=${ROS_DISTRO} -y --os=ubuntu:xenial l另外有问题欢迎来机器人开发社区https://q.droid.ac.cn/提问

@lazyparser
Copy link
Member

关闭没有后续反馈的 issues

@LeehanLee
Copy link

用的ubuntu18.04,尝试catkin_make也报这个错误,安装以下两个包后成功编译:
sudo apt-get install ros-melodic-slam-karto -y
sudo apt-get install ros-melodic-hector-mapping -y
但是,场景模型出不来。。。
图片

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

No branches or pull requests

4 participants