错误1

Snipaste_2023-03-08_20-43-16

错误2

Snipaste_2023-03-10_14-51-48

错误3

Snipaste_2023-03-10_15-04-42

https://blog.csdn.net/qq_38204686/article/details/123444765

sudo gedit /etc/hosts 

image-20230325100726120

错误4

Snipaste_2023-03-10_15-37-33

这里的报错无所谓,因为在安装ROS已经安装了相关的文件

错误5

Snipaste_2023-03-10_15-37-45

错误6

Snipaste_2023-03-10_15-37-55

[(4条消息) 解决“cartographer: libabsl-dev] defined as “not available“ for OS version [bionic]”问题_放纵&任性的博客-CSDN博客

需要删除或者注释在cartographer 包下package.xml文件里的(libabsl-dev) 。并且在src/cartographer/scripts/install_abseil.sh文件目录下运行install_abseil.sh这个sh文件来下载abseil安装。这样应该就能解决这个报错问题

运行./install_abseil.sh时报错

Snipaste_2023-03-10_15-51-24

缺少依赖

错误7

#执行下面命令报错
catkin_make_isolated --install --use-ninja

Snipaste_2023-03-10_16-16-31

报错8

Snipaste_2023-03-11_19-48-33

依赖

$ sudo apt-get install -y google-mock libboost-all-dev libeigen3-dev libgflags-dev libgoogle-glog-dev liblua5.2-dev libprotobuf-dev libsuitesparse-dev libwebp-dev ninja-build protobuf-cormpiler python-sphinx ros-indigo-tf2-eigen libatlas-base-dev libsuitesparse-dev liblapack-dev

mkdir build $ $ cmake ..$make $ sudo make Install安装cartographer:$ cd ~/carto $ git clone https://github.com/hitcm/cartographer.git$ cd cartographer

最后修改:2023 年 11 月 10 日
如果觉得我的文章对你有用,请随意赞赏