在安装cartographer的依赖时,报了这个错
-
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
cartographer_rviz: [libabsl-dev] defined as "not available" for OS version [focal]
cartographer: [libabsl-dev] defined as "not available" for OS version [focal]
cartographer_ros: [libabsl-dev] defined as "not available" for OS version [focal]
Continuing to install resolvable dependencies...
#All required rosdeps installed successfully -
@Zln4ever 用了rosdepc install -r --from-paths src --ignore-src --rosdistro $ROS_DISTRO -y这条指令 教程里的
-
@Zln4ever 请提供ros版本,系统版本,代码前后操作
-
@小鱼 foxy版本
1.rodepc update
2.rosdepc install -r --from-paths src --ignore-src --rosdistro $ROS_DISTRO -y 第一次好像没有报错 3.然后colcon build --packages-up-to cartographer_ros编译报错 CMake Error at CMakeLists.txt:32 (find_package):
By not providing "Findabsl.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "absl", but
CMake did not find one.4.又回到第一步
-
@Zln4ever 根据我的判断,foxy版本并不依赖absl,所以应该是你代码版本搞错了,你是不是看了humble版本的教程,如果是,请右上角跳转至foxy版本。
-
@小鱼 谢鱼哥 真是麻烦你了
-
@小鱼 自己系统是 ubuntu18.04 [amd64:bionic],ROS 版本是 melodic。在操作安装 cartographer 时, rosdepc install -r --from-paths src --ignore-src --rosdistro melodic -y 命令后 出现 error:
ERROR: the following packages/stacks could not have their rosdepc keys resolved to system dependencies: cartographer: [libabsl-dev] defined as "not available" for OS version [bionic]
自己看了该板块内容,依旧没有思路,还请指点一下,感谢。
-
@Gene ubuntu18估计你要自己手动下载libabsl的源码进行安装了