小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
树莓派4b一键安装完cartographer后使用catkin_make_isolated失败
-
cindy@cindy-desktop:~/carto$ wget http://fishros.com/install -O fishros && . fishros
--2024-04-16 22:11:49-- http://fishros.com/install
正在解析主机 fishros.com (fishros.com)... 47.119.165.169
正在连接 fishros.com (fishros.com)|47.119.165.169|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 301 Moved Permanently
位置:http://fishros.com/install/ [跟随至新的 URL]
--2024-04-16 22:11:49-- http://fishros.com/install/
再次使用存在的到 fishros.com:80 的连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度: 579 [application/octet-stream]
正在保存至: “fishros”fishros 100%[===========================================================>] 579 --.-KB/s 用时 0s
2024-04-16 22:11:49 (28.1 MB/s) - 已保存 “fishros” [579/579])
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
python3-distro 已经是最新版 (1.4.0-1)。
python3-yaml 已经是最新版 (5.3.1-1ubuntu0.1)。
下列软件包是自动安装的并且现在不需要了:
apt-clone archdetect-deb dctrl-tools dpkg-repack gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 grub-common libdebian-installer4
libfile-readbackwards-perl libpython2-dev libpython2.7 libpython2.7-dev libtimezonemap-data libtimezonemap1 libwiringpi2 os-prober
python2-dev python2.7-dev python3-icu python3-pam rdate
使用'sudo apt autoremove'来卸载它(它们)。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 945 个软件包未被升级。
--2024-04-16 22:11:52-- http://mirror.fishros.com/install/tools/base.py
正在解析主机 mirror.fishros.com (mirror.fishros.com)... 47.119.165.169
正在连接 mirror.fishros.com (mirror.fishros.com)|47.119.165.169|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度: 44656 (44K) [application/octet-stream]
正在保存至: “/tmp/fishinstall/tools/base.py”/tmp/fishinstall/tools/base.py 100%[===========================================================>] 43.61K --.-KB/s 用时 0.1s
2024-04-16 22:11:53 (406 KB/s) - 已保存 “/tmp/fishinstall/tools/base.py” [44656/44656])
Run CMD Task:[dpkg --print-architecture]
[-]Result:successRun CMD Task:[wget https://fishros.org.cn/forum/topic/1733 -O /tmp/t1733 -q && rm -rf /tmp/t1733]
[-]Result:success基础检查通过...
======欢迎使用一键安装工具,人生苦短,三省吾身,省时省力省心!=======
======一键安装已开源,请放心使用:https://github.com/fishros/install =======.-~~~~~~~~~-._ _.-~~~~~~~~~-. __.' ~. .~ `.__ .'// 开卷有益 \./ 书山有路 \ `. .'// 可以多看看小鱼的文章 | 关注公众号鱼香ROS \ `. .'// .-~'''''''''~~~~-._ | _,-~~~~'''''''[-. \`. .'//.-" `-. | .-' "-.\`. .'//______.============-.. \ | / ..-============.______\`. .'______________________________\|/______________________________` ----------------------------------------------------------------------
RUN Choose Task:[请输入括号内的数字]
---众多工具,等君来用---
ROS相关:
[1]:一键安装(推荐):ROS(支持ROS/ROS2,树莓派Jetson)
[3]:一键安装:rosdep(小鱼的rosdepc,又快又好用)
[4]:一键配置:ROS环境(快速更新ROS环境设置,自动生成环境选择)
[9]:一键安装:Cartographer(18 20测试通过,16未测. updateTime 20240125)
[11]:一键安装:ROS Docker版(支持所有版本ROS/ROS2)
[16]:一键安装:系统自带ROS (!!警告!!仅供特殊情况下使用)常用软件:
[2]:一键安装:github桌面版(小鱼常用的github客户端)
[6]:一键安装:NodeJS环境
[7]:一键安装:VsCode开发工具
[8]:一键安装:Docker
[10]:一键安装:微信(可以在Linux上使用的微信)
[12]:一键安装:PlateformIO MicroROS开发环境(支持Fishbot)
[14]:一键安装:科学上网代理工具
[15]:一键安装:QQ for Linux配置工具:
[5]:一键配置:系统源(更换系统源,支持全版本Ubuntu系统)
[13]:一键配置:python国内源请输入[]内的数字以选择:9
--2024-04-16 22:12:01-- http://mirror.fishros.com/install/tools/tool_install_cartographer.py
正在解析主机 mirror.fishros.com (mirror.fishros.com)... 47.119.165.169
正在连接 mirror.fishros.com (mirror.fishros.com)|47.119.165.169|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度: 2885 (2.8K) [application/octet-stream]
正在保存至: “/tmp/fishinstall/tools/tool_install_cartographer.py”/tmp/fishinstall/tools/tool_insta 100%[===========================================================>] 2.82K --.-KB/s 用时 0.003s
2024-04-16 22:12:02 (887 KB/s) - 已保存 “/tmp/fishinstall/tools/tool_install_cartographer.py” [2885/2885])
--2024-04-16 22:12:02-- http://mirror.fishros.com/install/tools/tool_config_rosdep.py
正在解析主机 mirror.fishros.com (mirror.fishros.com)... 47.119.165.169
正在连接 mirror.fishros.com (mirror.fishros.com)|47.119.165.169|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度: 857 [application/octet-stream]
正在保存至: “/tmp/fishinstall/tools/tool_config_rosdep.py”/tmp/fishinstall/tools/tool_confi 100%[===========================================================>] 857 --.-KB/s 用时 0s
2024-04-16 22:12:02 (40.9 MB/s) - 已保存 “/tmp/fishinstall/tools/tool_config_rosdep.py” [857/857])
欢迎使用一键安装Cartographer,本工具由作者catalpa提供
欢迎使用一键编译安装Cartographer,该工具将会以当前目录作为工作区,创建src文件夹并进行cartographer的编译安装
使用一键安装前,若未安装ROS或出现错误,可以使用一键安装ROS
检测到您的系统版ROS版本为:noetic
Run CMD Task:[sudo apt update]
[-]Result:success --upgradable’ 来查看它们。easee,685 B]Run CMD Task:[sudo apt install ninja-build stow git -y]
[-]Result:success .卸载 0 个软件包,有 945 个软件包未被升级。Run CMD Task:[mkdir -p cartographer_ws/src]
[-]Result:successRun CMD Task:[git clone https://gitee.com/yuzi99url/cartographer_ros.git]
[-]Result:successRun CMD Task:[git clone https://gitee.com/yuzi99url/cartographer.git]
[-]Result:successRun CMD Task:[sudo apt-get install libamd2 libatlas3-base libbtf1 libcamd2 libccolamd2 libceres-dev libceres1 libcholmod3 libcxsparse3 libgflags-dev libgflags2.2 libgoogle-glog-dev libgoogle-glog0v5 libklu1 libldl2 liblua5.2-0 liblua5.2-dev libmetis5 libncurses5 libncursesw5 librbio2 libreadline-dev libspqr2 libsuitesparse-dev libtinfo-dev libtinfo5 libtool-bin libumfpack5 -y]
[-]Result:success .卸载 0 个软件包,有 945 个软件包未被升级。Run CMD Task:[sudo apt-get remove ros-noetic-abseil-cpp -y]
[-]Result:code:100Run CMD Task:[bash src/cartographer/scripts/install_abseil.sh]
[][22/184] Building CXX object absl/container/CMakeFiles/hashtablez_sampler.dir/internal/hashtablez_sampler_force_weak_definition.cc.[-]Result:success kgconfig/absl_utility.pcs.access.pccl.pclper.pc_util.pce.hh.occ.os.cc.oon.cc.ost_util.cc.oRun CMD Task:[catkin_make_isolated --install --use-ninja]
[-]Result:code:127Run CMD Task:[sudo chmod -R 777 cartographer_ws]
[-]Result:success欢迎加入机器人学习交流QQ群:438144612(入群口令:一键安装)
鱼香小铺正式开业,最低499可入手一台能建图会导航的移动机器人,淘宝搜店:鱼香ROS 或打开链接查看:https://item.taobao.com/item.htm?id=696573635888
如在使用过程中遇到问题,请打开:https://fishros.org.cn/forum 进行反馈
cindy@cindy-desktop:~/carto$ ls
cartographer_ws
cindy@cindy-desktop:~/carto$ cd cartographer_ws/
cindy@cindy-desktop:~/carto/cartographer_ws$ ls
abseil-cpp src
cindy@cindy-desktop:~/carto/cartographer_ws$ catkin_make_isolated --install --use-ninja
Base path: /home/cindy/carto/cartographer_ws
Source space: /home/cindy/carto/cartographer_ws/src
Build space: /home/cindy/carto/cartographer_ws/build_isolated
Devel space: /home/cindy/carto/cartographer_ws/devel_isolated
Install space: /home/cindy/carto/cartographer_ws/install_isolated~~ traversing 4 packages in topological order: ~~ - cartographer (plain cmake) ~~ - cartographer_ros_msgs ~~ - cartographer_ros ~~ - cartographer_rviz
The packages or cmake arguments have changed, forcing cmake invocation
==> Processing plain cmake package: 'cartographer'
==> Creating build directory: 'build_isolated/cartographer/install'
==> cmake /home/cindy/carto/cartographer_ws/src/cartographer -DCMAKE_INSTALL_PREFIX=/home/cindy/carto/cartographer_ws/install_isolated -G Ninja in '/home/cindy/carto/cartographer_ws/build_isolated/cartographer/install'
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Build type: Release
文件 /home/cindy/carto/cartographer_ws/build_isolated/cartographer/install/AllFiles.cmake 和 - 不同
CMake Warning at /usr/src/googletest/googlemock/CMakeLists.txt:43 (project):
VERSION keyword not followed by a value or was followed by a value that
expanded to nothing.CMake Warning at /usr/src/googletest/googletest/CMakeLists.txt:54 (project):
VERSION keyword not followed by a value or was followed by a value that
expanded to nothing.-- Found PythonInterp: /usr/bin/python (found version "2.7.18")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found GMock: gmock_main;-lpthread
-- Found Boost: /usr/local/lib/cmake/Boost-1.78.0/BoostConfig.cmake (found version "1.78.0") found components: iostreams
CMake Error at /usr/local/lib/cmake/Ceres/CeresConfig.cmake:85 (message):
Failed to find Ceres - Found Eigen dependency, but the version of Eigen
found (3.4.0) does not exactly match the version of Eigen Ceres was
compiled with (3.3.7). This can cause subtle bugs by triggering violations
of the One Definition Rule. See the Wikipedia article
http://en.wikipedia.org/wiki/One_Definition_Rule for more details
Call Stack (most recent call first):
/usr/local/lib/cmake/Ceres/CeresConfig.cmake:200 (ceres_report_not_found)
CMakeLists.txt:39 (find_package)CMake Error at CMakeLists.txt:39 (find_package):
Found package configuration file:/usr/local/lib/cmake/Ceres/CeresConfig.cmake
but it set Ceres_FOUND to FALSE so package "Ceres" is considered to be NOT
FOUND.-- Configuring incomplete, errors occurred!
See also "/home/cindy/carto/cartographer_ws/build_isolated/cartographer/install/CMakeFiles/CMakeOutput.log".
See also "/home/cindy/carto/cartographer_ws/build_isolated/cartographer/install/CMakeFiles/CMakeError.log".
<== Failed to process package 'cartographer':
Command '['cmake', '/home/cindy/carto/cartographer_ws/src/cartographer', '-DCMAKE_INSTALL_PREFIX=/home/cindy/carto/cartographer_ws/install_isolated', '-G', 'Ninja']' returned non-zero exit status 1.Reproduce this error by running:
==> cd /home/cindy/carto/cartographer_ws/build_isolated/cartographer && cmake /home/cindy/carto/cartographer_ws/src/cartographer -DCMAKE_INSTALL_PREFIX=/home/cindy/carto/cartographer_ws/install_isolated -G NinjaCommand failed, exiting.