10.4 Cartographer介绍与安装 中 编译出错
-
-
@小鱼 在 提问前必看!一定要看!必须看一下! 中说:
个好的提问不仅能够帮助自己理清楚问题,还有助于别人快速帮助到你。——提问的智慧
问题一定要描述清楚,终端打印一定复制粘贴(你可以在linux系统上打开浏览器进社区)
基本的Markdown语法一定要学习下,有的小伙伴图片代码一团糟
提问时一定要提供尽可能多的信息,包括你的目的,比如你其实想装装某个库遇到问题,不要只说这个问题,因为可能有更好的替代方案
先搜索再提问,很多问题其实都有解决方案,确保你自己对自己的问题有一定了解再提问
尽量一句话说完,不要把社区当微信聊天一样用,每一个回复都尽量提供更多的的信息。 -
Starting >>> cartographer
Starting >>> cartographer_ros_msgs
--- stderr: cartographer
CMake Error at /lib/cmake/Ceres/CeresConfig.cmake:88 (message):
Failed to find Ceres - Ceres install root: /, determined from relative path
from CeresConfig.cmake install location: /lib/cmake/Ceres, does not contain
Ceres headers. Either the install directory was deleted, or the install
tree was only partially relocated outside of CMake after Ceres was built.
Call Stack (most recent call first):
/lib/cmake/Ceres/CeresConfig.cmake:149 (ceres_report_not_found)
CMakeLists.txt:32 (find_package)CMake Error at CMakeLists.txt:32 (find_package):
Found package configuration file:/lib/cmake/Ceres/CeresConfig.cmake
but it set Ceres_FOUND to FALSE so package "Ceres" is considered to be NOT
FOUND.
Failed <<< cartographer [0.77s, exited with code 1]
Aborted <<< cartographer_ros_msgs [1.64s]Summary: 0 packages finished [1.86s]
1 package failed: cartographer
1 package aborted: cartographer_ros_msgs
1 package had stderr output: cartographer
1 package not processed
这是报错提示,请大家帮忙看看怎么解决 -
@744063846 系统版本,ros版本,源码分支log记录,前置操作
-
@小鱼 Ubuntu20.04 ros2 foxy
-
@744063846 代码是那个分支的?
-
@小鱼 按步骤一步步来的
-
@744063846 可以在工作空间下使用git branch -a指令查看分支,默认的分支是humble版本的,感觉你是搞错了分支