小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
一键安装cartographer未安装成功
-
使用一键安装cartographer之后没有出现报错,以下是使用一键安装一次后又一次安装后的反馈
检测到您的系统版ROS版本为:noetic Run CMD Task:[sudo apt update] [|]Get:6 https://mirrors.ustc.edu.cn/ubuntu focal-updates/main amd64 Packages [3[-]Get:7 https://mirrors.ustc.edu.cn/ubuntu focal-updates/main i386 Packages [98[/]Get:8 https://mirrors.ustc.edu.cn/ubuntu focal-updates/universe i386 Packages[\]Get:9 https://mirrors.ustc.edu.cn/ubuntu focal-updates/universe amd64 Package[|]Get:10 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu focal InRelease [4,685[-]Result:success n/ros/ubuntu focal Release Run CMD Task:[sudo apt install ninja-build stow git -y] [-]Result:success e and 0 not upgraded. Run CMD Task:[mkdir -p cartographer_ws/src] [-]Result:success Run CMD Task:[git clone https://gitee.com/yuzi99url/cartographer_ros.git] [-]Result:code:128 Run CMD Task:[git clone https://gitee.com/yuzi99url/cartographer.git] [-]Result:code:128 Run 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 e and 0 not upgraded..... Run CMD Task:[sudo apt-get remove ros-noetic-abseil-cpp -y] [-]Result:code:100 Run CMD Task:[bash src/cartographer/scripts/install_abseil.sh] [-]Result:code:128 Run CMD Task:[catkin_make_isolated --install --use-ninja] [-]Result:code:127 Run CMD Task:[sudo chmod -R 777 cartographer_ws] [-]Result:success
由于第一次安装没有记录,也不知道怎么移除,就再使用了一次,我记得第一次也是显示安装成功。
但是安装后发现cartographer并没有正确build,因为文件结构为下面这样~/cartographer_ws$ tree -L 2 . ├── abseil-cpp │ ├── ABSEIL_ISSUE_TEMPLATE.md │ ├── absl │ ├── AUTHORS │ ├── build │ ├── BUILD.bazel │ ├── ci │ ├── CMake │ ├── CMakeLists.txt │ ├── conanfile.py │ ├── CONTRIBUTING.md │ ├── create_lts.py │ ├── FAQ.md │ ├── LICENSE │ ├── README.md │ ├── UPGRADES.md │ └── WORKSPACE └── src ├── cartographer └── cartographer_ros
使用的系统为ubuntu 20.04,ros noetic+ros2 humble
-
从您提供的反馈来看,一键安装cartographer的过程中遇到了几个问题。尽管有些步骤成功执行了,但是有一些步骤返回了错误代码。以下是针对您遇到的问题的中文回答:
-
Git Clone失败(错误码:128):
Run CMD Task:[git clone https://gitee.com/yuzi99url/cartographer_ros.git] [-]Result:code:128 Run CMD Task:[git clone https://gitee.com/yuzi99url/cartographer.git] [-]Result:code:128
错误码128通常表示git命令执行失败。可能的原因包括网络问题、URL错误或仓库不存在。请检查您是否有正确的仓库地址,以及您的网络连接是否正常。您可以尝试手动执行
git clone
命令来查看具体的错误信息。 -
移除ros-noetic-abseil-cpp失败(错误码:100):
Run CMD Task:[sudo apt-get remove ros-noetic-abseil-cpp -y] [-]Result:code:100
错误码100通常不是一个标准的apt-get返回码。可能是脚本在解析命令输出时出现了错误。请确保ros-noetic-abseil-cpp这个包是否真实存在以及是否需要移除。
-
安装Abseil失败(错误码:128):
Run CMD Task:[bash src/cartographer/scripts/install_abseil.sh] [-]Result:code:128
这个错误可能意味着
install_abseil.sh
脚本执行失败。请检查该脚本的内容,确保它适用于您的系统和环境。您可能需要手动运行这个脚本来查看具体的错误信息。 -
catkin_make_isolated失败(错误码:127):
Run CMD Task:[catkin_make_isolated --install --use-ninja] [-]Result:code:127
错误码127通常表示找不到命令。这意味着
catkin_make_isolated
命令可能没有被正确安装或不在您的PATH中。请确保您已经安装了catkin_tools
,并且您的环境变量设置正确。
建议:
- 检查您的网络连接,确保可以正常访问gitee仓库。
- 手动运行那些失败的命令,以获取更详细的错误信息。
- 确认
catkin_tools
已正确安装,并且您的ROS环境变量设置正确。 - 如果之前安装过cartographer,可能需要先清理之前的构建文件(如
catkin_make clean
)或完全移除cartographer的工作空间然后重新开始。
如果您已经尝试过多次安装并且依然失败,建议完全清理环境(包括删除
cartographer_ws
工作空间、~/.ros
目录下的相关缓存等),然后重新按照官方文档或可靠的安装指南进行安装。最后,请注意,ROS Noetic和ROS 2 Humble是不同版本的ROS,它们不兼容,您不需要在同一个系统上同时安装它们,除非您正在进行特殊的开发或测试。如果只是为了运行cartographer,只需要安装Noetic版本的相关包即可。
以上为生成回答,仅供参考~
-
-
确实,我将cartographer_ws文件夹删除后,重新使用一键安装,确实在build时出错,以下是报错信息
使用一键安装前,若未安装ROS或出现错误,可以使用一键安装ROS 检测到您的系统版ROS版本为:noetic Run CMD Task:[sudo apt update] [|]Get:2 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu focal InRelease [4,685 [-]Result:success focal-security InReleasee Run CMD Task:[sudo apt install ninja-build stow git -y] [-]Result:success e and 0 not upgraded. Run CMD Task:[mkdir -p cartographer_ws/src] [-]Result:success Run CMD Task:[git clone https://gitee.com/yuzi99url/cartographer_ros.git] [-]Result:success Run CMD Task:[git clone https://gitee.com/yuzi99url/cartographer.git] [-]Result:success Run 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 e and 0 not upgraded..... Run CMD Task:[sudo apt-get remove ros-noetic-abseil-cpp -y] [-]Result:code:100 Run CMD Task:[bash src/cartographer/scripts/install_abseil.sh] [-]-- Build files have been written to: /home/ubuntu3/cartographer_ws/abseil-cpp[/][1/184] Building CXX object absl/base/CMakeFiles/base.dir/internal/unscaledcy[\][2/184] Building CXX object absl/base/CMakeFiles/base.dir/internal/cycleclock[|][3/184] Building CXX object absl/base/CMakeFiles/spinlock_wait.dir/internal/s[/][5/184] Building CXX object absl/base/CMakeFiles/strerror.dir/internal/strerr[\][6/184] Building CXX object absl/base/CMakeFiles/log_severity.dir/log_severit[-][8/184] Building CXX object absl/base/CMakeFiles/raw_logging_internal.dir/int[\][10/184] Building CXX object absl/base/CMakeFiles/scoped_set_env.dir/internal[-][12/184] Building CXX object absl/base/CMakeFiles/base.dir/internal/spinlock.[/][13/184] Building CXX object absl/debugging/CMakeFiles/leak_check.dir/leak_ch[|][15/184] Building CXX object absl/base/CMakeFiles/base.dir/internal/thread_id[-][16/184] Building CXX object absl/base/CMakeFiles/throw_delegate.dir/internal[|][19/184] Building CXX object absl/debugging/CMakeFiles/leak_check_disable.dir[-][20/184] Building CXX object absl/debugging/CMakeFiles/stacktrace.dir/stacktr[/][21/184] Building CXX object absl/base/CMakeFiles/malloc_internal.dir/interna[\][22/184] Linking CXX static library absl/debugging/libabsl_leak_check_disable[|][23/184] Building CXX object absl/base/CMakeFiles/base.dir/internal/sysinfo.c[/][25/184] Building CXX object absl/debugging/CMakeFiles/examine_stack.dir/inte[|][27/184] Building CXX object absl/container/CMakeFiles/hashtablez_sampler.dir[-][28/184] Building CXX object absl/flags/CMakeFiles/flags_commandlineflag_inte[/][29/184] Linking CXX static library absl/flags/libabsl_flags_commandlineflag_[\][30/184] Building CXX object absl/container/CMakeFiles/raw_hash_set.dir/inter[|][31/184] Building CXX object absl/debugging/CMakeFiles/debugging_internal.dir[-][32/184] Building CXX object absl/container/CMakeFiles/hashtablez_sampler.dir[/][33/184] Building CXX object absl/debugging/CMakeFiles/debugging_internal.dir[\][34/184] Building CXX object absl/debugging/CMakeFiles/debugging_internal.dir[|][35/184] Linking CXX static library absl/debugging/libabsl_debugging_internal[-][36/184] Building CXX object absl/debugging/CMakeFiles/failure_signal_handler[|][39/184] Building CXX object absl/debugging/CMakeFiles/demangle_internal.dir/[-][40/184] Building CXX object absl/debugging/CMakeFiles/symbolize.dir/symboliz[/][41/184] Building CXX object absl/flags/CMakeFiles/flags_private_handle_acces[\][42/184] Linking CXX static library absl/debugging/libabsl_demangle_internal.[|][43/184] Building CXX object absl/flags/CMakeFiles/flags_commandlineflag.dir/[-][44/184] Building CXX object absl/synchronization/CMakeFiles/synchronization.[/][45/184] Building CXX object absl/synchronization/CMakeFiles/synchronization.[\][46/184] Building CXX object absl/flags/CMakeFiles/flags_program_name.dir/int[|][47/184] Building CXX object absl/profiling/CMakeFiles/periodic_sampler.dir/i[-][48/184] Building CXX object absl/flags/CMakeFiles/flags_config.dir/usage_con[/][49/184] Building CXX object absl/random/CMakeFiles/random_internal_randen_hw[\][50/184] Building CXX object absl/hash/CMakeFiles/low_level_hash.dir/internal[|][51/184] Building CXX object absl/profiling/CMakeFiles/exponential_biased.dir[-][52/184] Linking CXX static library absl/profiling/libabsl_exponential_biased[-][56/184] Building CXX object absl/random/CMakeFiles/random_seed_gen_exception[\][58/184] Linking CXX static library absl/random/libabsl_random_seed_gen_excep[/][61/184] Building CXX object absl/random/CMakeFiles/random_internal_randen_sl[-][64/184] Building CXX object absl/flags/CMakeFiles/flags_internal.dir/interna[/][65/184] Building CXX object absl/flags/CMakeFiles/flags_marshalling.dir/mars[\][66/184] Building CXX object absl/random/CMakeFiles/random_internal_pool_urbg[|][67/184] Building CXX object absl/random/CMakeFiles/random_internal_platform.[-][68/184] Building CXX object absl/random/CMakeFiles/random_distributions.dir/[/][69/184] Linking CXX static library absl/random/libabsl_random_internal_platf[\][70/184] Linking CXX static library absl/random/libabsl_random_internal_rande[|][71/184] Building CXX object absl/random/CMakeFiles/random_internal_seed_mate[-][72/184] Building CXX object absl/random/CMakeFiles/random_internal_randen.di[/][73/184] Building CXX object absl/random/CMakeFiles/random_distributions.dir/[\][74/184] Building CXX object absl/random/CMakeFiles/random_seed_sequences.dir[|][75/184] Building CXX object absl/random/CMakeFiles/random_internal_distribut[-][76/184] Building CXX object absl/random/CMakeFiles/random_internal_randen_hw[/][77/184] Linking CXX static library absl/random/libabsl_random_internal_rande[|][79/184] Linking CXX static library absl/random/libabsl_random_internal_rande[-][80/184] Linking CXX static library absl/random/libabsl_random_internal_rande[/][81/184] Building CXX object absl/random/CMakeFiles/random_internal_distribut[\][82/184] Building CXX object absl/flags/CMakeFiles/flags_usage_internal.dir/i[|][83/184] Building CXX object absl/status/CMakeFiles/statusor.dir/statusor.cc.[-][84/184] Building CXX object absl/status/CMakeFiles/status.dir/status_payload[\][86/184] Building CXX object absl/strings/CMakeFiles/strings.dir/internal/cha[|][87/184] Building CXX object absl/strings/CMakeFiles/strings.dir/internal/mem[-][88/184] Building CXX object absl/strings/CMakeFiles/strings.dir/charconv.cc.[/][89/184] Building CXX object absl/strings/CMakeFiles/strings_internal.dir/int[\][90/184] Building CXX object absl/flags/CMakeFiles/flags_reflection.dir/refle[|][91/184] Building CXX object absl/strings/CMakeFiles/strings_internal.dir/int[-][92/184] Building CXX object absl/strings/CMakeFiles/strings.dir/str_replace.[/][93/184] Building CXX object absl/strings/CMakeFiles/strings.dir/string_view.[\][94/184] Building CXX object absl/strings/CMakeFiles/strings.dir/escaping.cc.[|][95/184] Building CXX object absl/strings/CMakeFiles/strings.dir/str_split.cc[\][98/184] Building CXX object absl/strings/CMakeFiles/strings.dir/internal/cha[|][99/184] Building CXX object absl/strings/CMakeFiles/strings_internal.dir/int[-][100/184] Building CXX object absl/strings/CMakeFiles/cordz_functions.dir/int[|][103/184] Building CXX object absl/strings/CMakeFiles/strings.dir/substitute.[-][104/184] Building CXX object absl/strings/CMakeFiles/strings.dir/numbers.cc.[-][108/184] Building CXX object absl/strings/CMakeFiles/cord_internal.dir/inter[/][109/184] Building CXX object absl/strings/CMakeFiles/str_format_internal.dir[\][110/184] Linking CXX static library absl/debugging/libabsl_failure_signal_ha[|][111/184] Building CXX object absl/strings/CMakeFiles/str_format_internal.dir[-][112/184] Linking CXX static library absl/random/libabsl_random_distributions[/][113/184] Building CXX object absl/strings/CMakeFiles/cord_internal.dir/inter[\][114/184] Building CXX object absl/flags/CMakeFiles/flags_parse.dir/parse.cc.[|][115/184] Building CXX object absl/strings/CMakeFiles/cord_internal.dir/inter[-][116/184] Building CXX object absl/strings/CMakeFiles/cord_internal.dir/inter[/][117/184] Building CXX object absl/strings/CMakeFiles/cordz_info.dir/internal[\][118/184] Building CXX object absl/strings/CMakeFiles/str_format_internal.dir[|][119/184] Building CXX object absl/strings/CMakeFiles/cordz_sample_token.dir/[-][120/184] Building CXX object absl/strings/CMakeFiles/str_format_internal.dir[/][121/184] Building CXX object absl/synchronization/CMakeFiles/synchronization[\][122/184] Building CXX object absl/synchronization/CMakeFiles/synchronization[|][123/184] Building CXX object absl/strings/CMakeFiles/cord_internal.dir/inter[-][124/184] Building CXX object absl/synchronization/CMakeFiles/synchronization[/][125/184] Building CXX object absl/strings/CMakeFiles/cordz_handle.dir/intern[\][126/184] Building CXX object absl/synchronization/CMakeFiles/synchronization[|][127/184] Building CXX object absl/strings/CMakeFiles/str_format_internal.dir[-][128/184] Building CXX object absl/strings/CMakeFiles/str_format_internal.dir[/][129/184] Linking CXX static library absl/strings/libabsl_str_format_internal[\][130/184] Building CXX object absl/time/CMakeFiles/time_zone.dir/internal/cct[-][132/184] Linking CXX static library absl/random/libabsl_random_internal_dist[/][133/184] Building CXX object absl/time/CMakeFiles/time_zone.dir/internal/cct[\][134/184] Building CXX object absl/time/CMakeFiles/time_zone.dir/internal/cct[|][135/184] Building CXX object absl/synchronization/CMakeFiles/graphcycles_int[-][136/184] Building CXX object absl/time/CMakeFiles/time_zone.dir/internal/cct[/][137/184] Linking CXX static library absl/synchronization/libabsl_graphcycles[\][138/184] Building CXX object absl/time/CMakeFiles/time_zone.dir/internal/cct[|][139/184] Building CXX object absl/strings/CMakeFiles/cord_internal.dir/inter[-][140/184] Building CXX object absl/time/CMakeFiles/time_zone.dir/internal/cct[\][142/184] Building CXX object absl/time/CMakeFiles/time_zone.dir/internal/cct[|][143/184] Building CXX object absl/synchronization/CMakeFiles/synchronization[-][144/184] Building CXX object absl/time/CMakeFiles/civil_time.dir/internal/cc[/][145/184] Building CXX object absl/types/CMakeFiles/bad_any_cast_impl.dir/bad[/][149/184] Building CXX object absl/types/CMakeFiles/bad_optional_access.dir/b[|][151/184] Linking CXX static library absl/flags/libabsl_flags_commandlineflag[-][152/184] Linking CXX static library absl/random/libabsl_random_internal_seed[/][153/184] Linking CXX static library absl/flags/libabsl_flags_private_handle_[\][154/184] Building CXX object absl/types/CMakeFiles/bad_variant_access.dir/ba[|][155/184] Linking CXX static library absl/random/libabsl_random_internal_pool[/][157/184] Linking CXX static library absl/random/libabsl_random_seed_sequence[-][160/184] Building CXX object absl/time/CMakeFiles/time_zone.dir/internal/cct[-][164/184] Building CXX object absl/time/CMakeFiles/time_zone.dir/internal/cct[|][167/184] Linking CXX static library absl/synchronization/libabsl_synchroniza[\][170/184] Linking CXX static library absl/container/libabsl_hashtablez_sample[\][174/184] Linking CXX static library absl/strings/libabsl_cordz_sample_token.[\][182/184] Linking CXX static library absl/flags/libabsl_flags_usage_internal.[\]-- Installing: /usr/local/stow/absl/include/absl/types/internal/transform_arg[|]-- Installing: /usr/local/stow/absl/include/absl/types/internal/conformance_t[\]-- Installing: /usr/local/stow/absl/include/absl/types/internal/conformance_a[|]-- Installing: /usr/local/stow/absl/include/absl/types/internal/conformance_t[-]-- Installing: /usr/local/stow/absl/include/absl/types/internal/conformance_p[/]-- Installing: /usr/local/stow/absl/include/absl/types/internal/conformance_a[|]-- Installing: /usr/local/stow/absl/include/absl/random/poisson_distribution.[-]-- Installing: /usr/local/stow/absl/include/absl/random/gaussian_distribution[\]-- Installing: /usr/local/stow/absl/include/absl/random/internal/randen_slow.[/]-- Installing: /usr/local/stow/absl/include/absl/random/internal/randen_trait[\]-- Installing: /usr/local/stow/absl/include/absl/random/internal/sequence_urb[|]-- Installing: /usr/local/stow/absl/include/absl/random/internal/nonsecure_ba[/]-- Installing: /usr/local/stow/absl/include/absl/random/internal/explicit_see[|]-- Installing: /usr/local/stow/absl/include/absl/random/internal/salted_seed_[-]-- Installing: /usr/local/stow/absl/include/absl/random/internal/fast_uniform[/]-- Installing: /usr/local/stow/absl/include/absl/random/internal/uniform_help[\]-- Installing: /usr/local/stow/absl/include/absl/random/internal/distribution[|]-- Installing: /usr/local/stow/absl/include/absl/random/internal/randen_engin[-]-- Installing: /usr/local/stow/absl/include/absl/random/internal/distribution[/]-- Installing: /usr/local/stow/absl/include/absl/random/internal/seed_materia[\]-- Installing: /usr/local/stow/absl/include/absl/random/internal/mock_helpers[/]-- Installing: /usr/local/stow/absl/include/absl/random/internal/randen_hwaes[\]-- Installing: /usr/local/stow/absl/include/absl/random/internal/nanobenchmar[|]-- Installing: /usr/local/stow/absl/include/absl/random/internal/mock_overloa[-]-- Installing: /usr/local/stow/absl/include/absl/random/internal/wide_multipl[/]-- Installing: /usr/local/stow/absl/include/absl/random/internal/generate_rea[\]-- Installing: /usr/local/stow/absl/include/absl/random/internal/iostream_sta[|]-- Installing: /usr/local/stow/absl/include/absl/random/internal/randen_detec[/]-- Installing: /usr/local/stow/absl/include/absl/random/bernoulli_distributio[\]-- Installing: /usr/local/stow/absl/include/absl/random/uniform_int_distribut[-]-- Installing: /usr/local/stow/absl/include/absl/random/uniform_real_distribu[/]-- Installing: /usr/local/stow/absl/include/absl/random/log_uniform_int_distr[-]-- Installing: /usr/local/stow/absl/include/absl/random/discrete_distribution[\]-- Installing: /usr/local/stow/absl/include/absl/random/exponential_distribut[|]-- Installing: /usr/local/stow/absl/include/absl/functional/internal/front_bi[-]-- Installing: /usr/local/stow/absl/include/absl/functional/internal/function[-]-- Installing: /usr/local/stow/absl/include/absl/profiling/internal/sample_re[/]-- Installing: /usr/local/stow/absl/include/absl/profiling/internal/exponenti[\]-- Installing: /usr/local/stow/absl/include/absl/profiling/internal/periodic_[|]-- Installing: /usr/local/stow/absl/include/absl/time/internal/get_current_ti[-]-- Installing: /usr/local/stow/absl/include/absl/time/internal/get_current_ti[/]-- Installing: /usr/local/stow/absl/include/absl/time/internal/cctz/src/time_[\]-- Installing: /usr/local/stow/absl/include/absl/time/internal/cctz/src/tzfil[|]-- Installing: /usr/local/stow/absl/include/absl/time/internal/cctz/src/time_[-]-- Installing: /usr/local/stow/absl/include/absl/time/internal/cctz/src/time_[/]-- Installing: /usr/local/stow/absl/include/absl/time/internal/cctz/src/time_[\]-- Installing: /usr/local/stow/absl/include/absl/time/internal/cctz/src/time_[|]-- Installing: /usr/local/stow/absl/include/absl/time/internal/cctz/src/time_[/]-- Up-to-date: /usr/local/stow/absl/include/absl/time/internal/cctz/include/c[\]-- Installing: /usr/local/stow/absl/include/absl/time/internal/cctz/include/c[|]-- Installing: /usr/local/stow/absl/include/absl/time/internal/cctz/include/c[-]-- Installing: /usr/local/stow/absl/include/absl/time/internal/cctz/include/c[/]-- Installing: /usr/local/stow/absl/include/absl/time/internal/cctz/include/c[\]-- Installing: /usr/local/stow/absl/include/absl/base/internal/per_thread_tls[/]-- Installing: /usr/local/stow/absl/include/absl/base/internal/spinlock_wait.[\]-- Installing: /usr/local/stow/absl/include/absl/base/internal/atomic_hook_te[|]-- Installing: /usr/local/stow/absl/include/absl/base/internal/scheduling_mod[-]-- Installing: /usr/local/stow/absl/include/absl/base/internal/throw_delegate[/]-- Installing: /usr/local/stow/absl/include/absl/base/internal/spinlock_win32[\]-- Installing: /usr/local/stow/absl/include/absl/base/internal/scoped_set_env[|]-- Installing: /usr/local/stow/absl/include/absl/base/internal/unaligned_acce[\]-- Installing: /usr/local/stow/absl/include/absl/base/internal/inline_variabl[|]-- Installing: /usr/local/stow/absl/include/absl/base/internal/unscaledcyclec[-]-- Installing: /usr/local/stow/absl/include/absl/base/internal/low_level_sche[-]-- Installing: /usr/local/stow/absl/include/absl/base/internal/thread_identit[/]-- Installing: /usr/local/stow/absl/include/absl/base/internal/dynamic_annota[\]-- Installing: /usr/local/stow/absl/include/absl/base/internal/exception_safe[|]-- Installing: /usr/local/stow/absl/include/absl/base/internal/low_level_allo[/]-- Installing: /usr/local/stow/absl/include/absl/base/internal/thread_annotat[\]-- Installing: /usr/local/stow/absl/include/absl/base/internal/tsan_mutex_int[\]-- Installing: /usr/local/stow/absl/include/absl/base/internal/inline_variabl[-]-- Installing: /usr/local/stow/absl/include/absl/base/internal/spinlock_akaro[/]-- Installing: /usr/local/stow/absl/include/absl/base/internal/spinlock_linux[\]-- Installing: /usr/local/stow/absl/include/absl/base/internal/pretty_functio[|]-- Installing: /usr/local/stow/absl/include/absl/base/internal/spinlock_posix[/]-- Installing: /usr/local/stow/absl/include/absl/base/internal/exception_test[/]-- Installing: /usr/local/stow/absl/include/absl/flags/internal/program_name.[\]-- Installing: /usr/local/stow/absl/include/absl/flags/internal/sequence_lock[-]-- Installing: /usr/local/stow/absl/include/absl/flags/internal/commandlinefl[/]-- Installing: /usr/local/stow/absl/include/absl/flags/internal/private_handl[\]-- Installing: /usr/local/stow/absl/include/absl/hash/internal/low_level_hash[-]-- Installing: /usr/local/stow/absl/include/absl/hash/internal/spy_hash_state[|]-- Installing: /usr/local/stow/absl/include/absl/container/internal/have_sse.[/]-- Installing: /usr/local/stow/absl/include/absl/container/internal/btree_con[\]-- Installing: /usr/local/stow/absl/include/absl/container/internal/counting_[|]-- Installing: /usr/local/stow/absl/include/absl/container/internal/hash_gene[-]-- Installing: /usr/local/stow/absl/include/absl/container/internal/hashtable[/]-- Installing: /usr/local/stow/absl/include/absl/container/internal/raw_hash_[\]-- Installing: /usr/local/stow/absl/include/absl/container/internal/test_inst[|]-- Installing: /usr/local/stow/absl/include/absl/container/internal/unordered[-]-- Installing: /usr/local/stow/absl/include/absl/container/internal/unordered[/]-- Installing: /usr/local/stow/absl/include/absl/container/internal/container[\]-- Installing: /usr/local/stow/absl/include/absl/container/internal/unordered[|]-- Installing: /usr/local/stow/absl/include/absl/container/internal/hash_poli[-]-- Installing: /usr/local/stow/absl/include/absl/container/internal/unordered[\]-- Installing: /usr/local/stow/absl/include/absl/container/internal/inlined_v[|]-- Installing: /usr/local/stow/absl/include/absl/container/internal/hashtable[-]-- Installing: /usr/local/stow/absl/include/absl/container/internal/raw_hash_[/]-- Installing: /usr/local/stow/absl/include/absl/container/internal/unordered[\]-- Installing: /usr/local/stow/absl/include/absl/container/internal/hash_poli[|]-- Installing: /usr/local/stow/absl/include/absl/container/internal/compresse[-]-- Installing: /usr/local/stow/absl/include/absl/container/internal/unordered[/]-- Installing: /usr/local/stow/absl/include/absl/container/internal/node_hash[\]-- Installing: /usr/local/stow/absl/include/absl/container/internal/hash_func[|]-- Installing: /usr/local/stow/absl/include/absl/container/internal/hashtable[\]-- Installing: /usr/local/stow/absl/include/absl/container/internal/unordered[|]-- Installing: /usr/local/stow/absl/include/absl/container/internal/unordered[-]-- Installing: /usr/local/stow/absl/include/absl/synchronization/blocking_cou[\]-- Installing: /usr/local/stow/absl/include/absl/synchronization/internal/per[|]-- Installing: /usr/local/stow/absl/include/absl/synchronization/internal/thr[-]-- Installing: /usr/local/stow/absl/include/absl/synchronization/internal/fut[/]-- Installing: /usr/local/stow/absl/include/absl/synchronization/internal/ker[\]-- Installing: /usr/local/stow/absl/include/absl/synchronization/internal/wai[|]-- Installing: /usr/local/stow/absl/include/absl/synchronization/internal/gra[-]-- Installing: /usr/local/stow/absl/include/absl/synchronization/internal/cre[/]-- Installing: /usr/local/stow/absl/include/absl/synchronization/notification[/]-- Installing: /usr/local/stow/absl/include/absl/numeric/int128_have_intrinsi[|]-- Installing: /usr/local/stow/absl/include/absl/numeric/internal/representat[\]-- Installing: /usr/local/stow/absl/include/absl/numeric/int128_no_intrinsic.[\]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/cord_rep_te[|]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/cordz_updat[-]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/cord_intern[/]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/cordz_funct[\]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/cord_rep_ri[/]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/charconv_pa[\]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/cord_rep_ri[|]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/numbers_tes[-]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/cord_rep_co[/]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/cord_rep_bt[|]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/ostringstre[-]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/escaping_te[/]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/resize_unin[\]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/cord_rep_fl[|]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/cord_rep_bt[-]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/str_split_i[/]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/string_cons[\]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/str_join_in[-]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/pow10_helpe[/]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/stl_type_tr[|]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/str_format/[-]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/str_format/[/]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/str_format/[\]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/str_format/[|]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/str_format/[-]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/str_format/[/]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/str_format/[\]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/cord_rep_bt[|]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/cordz_handl[-]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/cordz_sampl[/]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/cordz_info.[\]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/cordz_stati[|]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/cordz_updat[-]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/charconv_bi[\]-- Installing: /usr/local/stow/absl/include/absl/status/internal/status_inter[|]-- Installing: /usr/local/stow/absl/include/absl/status/internal/statusor_int[-]-- Installing: /usr/local/stow/absl/include/absl/status/status_payload_printe[-]-- Installing: /usr/local/stow/absl/include/absl/debugging/symbolize_unimplem[/]-- Installing: /usr/local/stow/absl/include/absl/debugging/symbolize_darwin.i[-]-- Installing: /usr/local/stow/absl/include/absl/debugging/internal/stack_con[/]-- Installing: /usr/local/stow/absl/include/absl/debugging/internal/stacktrac[\]-- Installing: /usr/local/stow/absl/include/absl/debugging/internal/stacktrac[|]-- Installing: /usr/local/stow/absl/include/absl/debugging/internal/vdso_supp[-]-- Installing: /usr/local/stow/absl/include/absl/debugging/internal/address_i[/]-- Installing: /usr/local/stow/absl/include/absl/debugging/internal/stacktrac[\]-- Installing: /usr/local/stow/absl/include/absl/debugging/internal/stacktrac[|]-- Installing: /usr/local/stow/absl/include/absl/debugging/internal/stacktrac[-]-- Installing: /usr/local/stow/absl/include/absl/debugging/internal/symbolize[/]-- Installing: /usr/local/stow/absl/include/absl/debugging/internal/stacktrac[\]-- Installing: /usr/local/stow/absl/include/absl/debugging/internal/demangle.[|]-- Installing: /usr/local/stow/absl/include/absl/debugging/internal/stacktrac[-]-- Installing: /usr/local/stow/absl/include/absl/debugging/internal/elf_mem_i[/]-- Installing: /usr/local/stow/absl/include/absl/debugging/internal/stacktrac[\]-- Installing: /usr/local/stow/absl/include/absl/debugging/internal/examine_s[|]-- Installing: /usr/local/stow/absl/include/absl/debugging/internal/stacktrac[-]-- Installing: /usr/local/stow/absl/include/absl/debugging/internal/stacktrac[/]-- Installing: /usr/local/stow/absl/include/absl/debugging/symbolize_emscript[-]-- Installing: /usr/local/stow/absl/include/absl/debugging/failure_signal_han[/]-- Installing: /usr/local/stow/absl/include/absl/debugging/symbolize_win32.in[|]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_raw_logging_internal.p[|]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_inlined_vector_interna[|]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_hash_function_defaults[-]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_hashtable_debug_hooks.[\]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_failure_signal_handler[-]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_flags_commandlineflag_[/]-- Installing: /usr/local/stow/absl/lib/libabsl_flags_commandlineflag_interna[\]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_flags_commandlineflag.[-]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_flags_private_handle_a[/]-- Installing: /usr/local/stow/absl/lib/libabsl_flags_private_handle_accessor[-]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_flags_usage_internal.p[/]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_numeric_representation[/]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_mock_h[\]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_distributions.p[-]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_seed_gen_except[\]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_seed_sequences.[-]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_traits[/]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_distri[\]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_fast_u[|]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_seed_m[-]-- Installing: /usr/local/stow/absl/lib/libabsl_random_internal_seed_material[/]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_pool_u[|]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_salted[-]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_iostre[/]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_genera[\]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_wide_m[|]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_fastma[-]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_nonsec[/]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_pcg_en[\]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_randen[|]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_platfo[/]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_randen[|]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_randen[/]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_randen[\]-- Installing: /usr/local/stow/absl/lib/libabsl_random_internal_randen_hwaes.[|]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_randen[-]-- Installing: /usr/local/stow/absl/lib/libabsl_random_internal_randen_hwaes_[/]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_distri[\]-- Installing: /usr/local/stow/absl/lib/libabsl_random_internal_distribution_[|]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_unifor[/]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_cordz_update_tracker.p[\]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_graphcycles_internal.p[-]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_kernel_timeout_interna[-]Result:success kgconfig/absl_utility.pcs.access.pcc Run CMD Task:[catkin_make_isolated --install --use-ninja] [-]Result:code:127 Run CMD Task:[sudo chmod -R 777 cartographer_ws] [-]Result:success
顺带一提,我之前手动安装时执行这个命令好像也报错过,但是我忘记当时是怎么解决的了。
-
@2429148505 在 一键安装cartographer未安装成功 中说:
确实,我将cartographer_ws文件夹删除后,重新使用一键安装,确实在build时出错,以下是报错信息
使用一键安装前,若未安装ROS或出现错误,可以使用一键安装ROS 检测到您的系统版ROS版本为:noetic Run CMD Task:[sudo apt update] [|]Get:2 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu focal InRelease [4,685 [-]Result:success focal-security InReleasee Run CMD Task:[sudo apt install ninja-build stow git -y] [-]Result:success e and 0 not upgraded. Run CMD Task:[mkdir -p cartographer_ws/src] [-]Result:success Run CMD Task:[git clone https://gitee.com/yuzi99url/cartographer_ros.git] [-]Result:success Run CMD Task:[git clone https://gitee.com/yuzi99url/cartographer.git] [-]Result:success Run 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 e and 0 not upgraded..... Run CMD Task:[sudo apt-get remove ros-noetic-abseil-cpp -y] [-]Result:code:100 Run CMD Task:[bash src/cartographer/scripts/install_abseil.sh] [-]-- Build files have been written to: /home/ubuntu3/cartographer_ws/abseil-cpp[/][1/184] Building CXX object absl/base/CMakeFiles/base.dir/internal/unscaledcy[\][2/184] Building CXX object absl/base/CMakeFiles/base.dir/internal/cycleclock[|][3/184] Building CXX object absl/base/CMakeFiles/spinlock_wait.dir/internal/s[/][5/184] Building CXX object absl/base/CMakeFiles/strerror.dir/internal/strerr[\][6/184] Building CXX object absl/base/CMakeFiles/log_severity.dir/log_severit[-][8/184] Building CXX object absl/base/CMakeFiles/raw_logging_internal.dir/int[\][10/184] Building CXX object absl/base/CMakeFiles/scoped_set_env.dir/internal[-][12/184] Building CXX object absl/base/CMakeFiles/base.dir/internal/spinlock.[/][13/184] Building CXX object absl/debugging/CMakeFiles/leak_check.dir/leak_ch[|][15/184] Building CXX object absl/base/CMakeFiles/base.dir/internal/thread_id[-][16/184] Building CXX object absl/base/CMakeFiles/throw_delegate.dir/internal[|][19/184] Building CXX object absl/debugging/CMakeFiles/leak_check_disable.dir[-][20/184] Building CXX object absl/debugging/CMakeFiles/stacktrace.dir/stacktr[/][21/184] Building CXX object absl/base/CMakeFiles/malloc_internal.dir/interna[\][22/184] Linking CXX static library absl/debugging/libabsl_leak_check_disable[|][23/184] Building CXX object absl/base/CMakeFiles/base.dir/internal/sysinfo.c[/][25/184] Building CXX object absl/debugging/CMakeFiles/examine_stack.dir/inte[|][27/184] Building CXX object absl/container/CMakeFiles/hashtablez_sampler.dir[-][28/184] Building CXX object absl/flags/CMakeFiles/flags_commandlineflag_inte[/][29/184] Linking CXX static library absl/flags/libabsl_flags_commandlineflag_[\][30/184] Building CXX object absl/container/CMakeFiles/raw_hash_set.dir/inter[|][31/184] Building CXX object absl/debugging/CMakeFiles/debugging_internal.dir[-][32/184] Building CXX object absl/container/CMakeFiles/hashtablez_sampler.dir[/][33/184] Building CXX object absl/debugging/CMakeFiles/debugging_internal.dir[\][34/184] Building CXX object absl/debugging/CMakeFiles/debugging_internal.dir[|][35/184] Linking CXX static library absl/debugging/libabsl_debugging_internal[-][36/184] Building CXX object absl/debugging/CMakeFiles/failure_signal_handler[|][39/184] Building CXX object absl/debugging/CMakeFiles/demangle_internal.dir/[-][40/184] Building CXX object absl/debugging/CMakeFiles/symbolize.dir/symboliz[/][41/184] Building CXX object absl/flags/CMakeFiles/flags_private_handle_acces[\][42/184] Linking CXX static library absl/debugging/libabsl_demangle_internal.[|][43/184] Building CXX object absl/flags/CMakeFiles/flags_commandlineflag.dir/[-][44/184] Building CXX object absl/synchronization/CMakeFiles/synchronization.[/][45/184] Building CXX object absl/synchronization/CMakeFiles/synchronization.[\][46/184] Building CXX object absl/flags/CMakeFiles/flags_program_name.dir/int[|][47/184] Building CXX object absl/profiling/CMakeFiles/periodic_sampler.dir/i[-][48/184] Building CXX object absl/flags/CMakeFiles/flags_config.dir/usage_con[/][49/184] Building CXX object absl/random/CMakeFiles/random_internal_randen_hw[\][50/184] Building CXX object absl/hash/CMakeFiles/low_level_hash.dir/internal[|][51/184] Building CXX object absl/profiling/CMakeFiles/exponential_biased.dir[-][52/184] Linking CXX static library absl/profiling/libabsl_exponential_biased[-][56/184] Building CXX object absl/random/CMakeFiles/random_seed_gen_exception[\][58/184] Linking CXX static library absl/random/libabsl_random_seed_gen_excep[/][61/184] Building CXX object absl/random/CMakeFiles/random_internal_randen_sl[-][64/184] Building CXX object absl/flags/CMakeFiles/flags_internal.dir/interna[/][65/184] Building CXX object absl/flags/CMakeFiles/flags_marshalling.dir/mars[\][66/184] Building CXX object absl/random/CMakeFiles/random_internal_pool_urbg[|][67/184] Building CXX object absl/random/CMakeFiles/random_internal_platform.[-][68/184] Building CXX object absl/random/CMakeFiles/random_distributions.dir/[/][69/184] Linking CXX static library absl/random/libabsl_random_internal_platf[\][70/184] Linking CXX static library absl/random/libabsl_random_internal_rande[|][71/184] Building CXX object absl/random/CMakeFiles/random_internal_seed_mate[-][72/184] Building CXX object absl/random/CMakeFiles/random_internal_randen.di[/][73/184] Building CXX object absl/random/CMakeFiles/random_distributions.dir/[\][74/184] Building CXX object absl/random/CMakeFiles/random_seed_sequences.dir[|][75/184] Building CXX object absl/random/CMakeFiles/random_internal_distribut[-][76/184] Building CXX object absl/random/CMakeFiles/random_internal_randen_hw[/][77/184] Linking CXX static library absl/random/libabsl_random_internal_rande[|][79/184] Linking CXX static library absl/random/libabsl_random_internal_rande[-][80/184] Linking CXX static library absl/random/libabsl_random_internal_rande[/][81/184] Building CXX object absl/random/CMakeFiles/random_internal_distribut[\][82/184] Building CXX object absl/flags/CMakeFiles/flags_usage_internal.dir/i[|][83/184] Building CXX object absl/status/CMakeFiles/statusor.dir/statusor.cc.[-][84/184] Building CXX object absl/status/CMakeFiles/status.dir/status_payload[\][86/184] Building CXX object absl/strings/CMakeFiles/strings.dir/internal/cha[|][87/184] Building CXX object absl/strings/CMakeFiles/strings.dir/internal/mem[-][88/184] Building CXX object absl/strings/CMakeFiles/strings.dir/charconv.cc.[/][89/184] Building CXX object absl/strings/CMakeFiles/strings_internal.dir/int[\][90/184] Building CXX object absl/flags/CMakeFiles/flags_reflection.dir/refle[|][91/184] Building CXX object absl/strings/CMakeFiles/strings_internal.dir/int[-][92/184] Building CXX object absl/strings/CMakeFiles/strings.dir/str_replace.[/][93/184] Building CXX object absl/strings/CMakeFiles/strings.dir/string_view.[\][94/184] Building CXX object absl/strings/CMakeFiles/strings.dir/escaping.cc.[|][95/184] Building CXX object absl/strings/CMakeFiles/strings.dir/str_split.cc[\][98/184] Building CXX object absl/strings/CMakeFiles/strings.dir/internal/cha[|][99/184] Building CXX object absl/strings/CMakeFiles/strings_internal.dir/int[-][100/184] Building CXX object absl/strings/CMakeFiles/cordz_functions.dir/int[|][103/184] Building CXX object absl/strings/CMakeFiles/strings.dir/substitute.[-][104/184] Building CXX object absl/strings/CMakeFiles/strings.dir/numbers.cc.[-][108/184] Building CXX object absl/strings/CMakeFiles/cord_internal.dir/inter[/][109/184] Building CXX object absl/strings/CMakeFiles/str_format_internal.dir[\][110/184] Linking CXX static library absl/debugging/libabsl_failure_signal_ha[|][111/184] Building CXX object absl/strings/CMakeFiles/str_format_internal.dir[-][112/184] Linking CXX static library absl/random/libabsl_random_distributions[/][113/184] Building CXX object absl/strings/CMakeFiles/cord_internal.dir/inter[\][114/184] Building CXX object absl/flags/CMakeFiles/flags_parse.dir/parse.cc.[|][115/184] Building CXX object absl/strings/CMakeFiles/cord_internal.dir/inter[-][116/184] Building CXX object absl/strings/CMakeFiles/cord_internal.dir/inter[/][117/184] Building CXX object absl/strings/CMakeFiles/cordz_info.dir/internal[\][118/184] Building CXX object absl/strings/CMakeFiles/str_format_internal.dir[|][119/184] Building CXX object absl/strings/CMakeFiles/cordz_sample_token.dir/[-][120/184] Building CXX object absl/strings/CMakeFiles/str_format_internal.dir[/][121/184] Building CXX object absl/synchronization/CMakeFiles/synchronization[\][122/184] Building CXX object absl/synchronization/CMakeFiles/synchronization[|][123/184] Building CXX object absl/strings/CMakeFiles/cord_internal.dir/inter[-][124/184] Building CXX object absl/synchronization/CMakeFiles/synchronization[/][125/184] Building CXX object absl/strings/CMakeFiles/cordz_handle.dir/intern[\][126/184] Building CXX object absl/synchronization/CMakeFiles/synchronization[|][127/184] Building CXX object absl/strings/CMakeFiles/str_format_internal.dir[-][128/184] Building CXX object absl/strings/CMakeFiles/str_format_internal.dir[/][129/184] Linking CXX static library absl/strings/libabsl_str_format_internal[\][130/184] Building CXX object absl/time/CMakeFiles/time_zone.dir/internal/cct[-][132/184] Linking CXX static library absl/random/libabsl_random_internal_dist[/][133/184] Building CXX object absl/time/CMakeFiles/time_zone.dir/internal/cct[\][134/184] Building CXX object absl/time/CMakeFiles/time_zone.dir/internal/cct[|][135/184] Building CXX object absl/synchronization/CMakeFiles/graphcycles_int[-][136/184] Building CXX object absl/time/CMakeFiles/time_zone.dir/internal/cct[/][137/184] Linking CXX static library absl/synchronization/libabsl_graphcycles[\][138/184] Building CXX object absl/time/CMakeFiles/time_zone.dir/internal/cct[|][139/184] Building CXX object absl/strings/CMakeFiles/cord_internal.dir/inter[-][140/184] Building CXX object absl/time/CMakeFiles/time_zone.dir/internal/cct[\][142/184] Building CXX object absl/time/CMakeFiles/time_zone.dir/internal/cct[|][143/184] Building CXX object absl/synchronization/CMakeFiles/synchronization[-][144/184] Building CXX object absl/time/CMakeFiles/civil_time.dir/internal/cc[/][145/184] Building CXX object absl/types/CMakeFiles/bad_any_cast_impl.dir/bad[/][149/184] Building CXX object absl/types/CMakeFiles/bad_optional_access.dir/b[|][151/184] Linking CXX static library absl/flags/libabsl_flags_commandlineflag[-][152/184] Linking CXX static library absl/random/libabsl_random_internal_seed[/][153/184] Linking CXX static library absl/flags/libabsl_flags_private_handle_[\][154/184] Building CXX object absl/types/CMakeFiles/bad_variant_access.dir/ba[|][155/184] Linking CXX static library absl/random/libabsl_random_internal_pool[/][157/184] Linking CXX static library absl/random/libabsl_random_seed_sequence[-][160/184] Building CXX object absl/time/CMakeFiles/time_zone.dir/internal/cct[-][164/184] Building CXX object absl/time/CMakeFiles/time_zone.dir/internal/cct[|][167/184] Linking CXX static library absl/synchronization/libabsl_synchroniza[\][170/184] Linking CXX static library absl/container/libabsl_hashtablez_sample[\][174/184] Linking CXX static library absl/strings/libabsl_cordz_sample_token.[\][182/184] Linking CXX static library absl/flags/libabsl_flags_usage_internal.[\]-- Installing: /usr/local/stow/absl/include/absl/types/internal/transform_arg[|]-- Installing: /usr/local/stow/absl/include/absl/types/internal/conformance_t[\]-- Installing: /usr/local/stow/absl/include/absl/types/internal/conformance_a[|]-- Installing: /usr/local/stow/absl/include/absl/types/internal/conformance_t[-]-- Installing: /usr/local/stow/absl/include/absl/types/internal/conformance_p[/]-- Installing: /usr/local/stow/absl/include/absl/types/internal/conformance_a[|]-- Installing: /usr/local/stow/absl/include/absl/random/poisson_distribution.[-]-- Installing: /usr/local/stow/absl/include/absl/random/gaussian_distribution[\]-- Installing: /usr/local/stow/absl/include/absl/random/internal/randen_slow.[/]-- Installing: /usr/local/stow/absl/include/absl/random/internal/randen_trait[\]-- Installing: /usr/local/stow/absl/include/absl/random/internal/sequence_urb[|]-- Installing: /usr/local/stow/absl/include/absl/random/internal/nonsecure_ba[/]-- Installing: /usr/local/stow/absl/include/absl/random/internal/explicit_see[|]-- Installing: /usr/local/stow/absl/include/absl/random/internal/salted_seed_[-]-- Installing: /usr/local/stow/absl/include/absl/random/internal/fast_uniform[/]-- Installing: /usr/local/stow/absl/include/absl/random/internal/uniform_help[\]-- Installing: /usr/local/stow/absl/include/absl/random/internal/distribution[|]-- Installing: /usr/local/stow/absl/include/absl/random/internal/randen_engin[-]-- Installing: /usr/local/stow/absl/include/absl/random/internal/distribution[/]-- Installing: /usr/local/stow/absl/include/absl/random/internal/seed_materia[\]-- Installing: /usr/local/stow/absl/include/absl/random/internal/mock_helpers[/]-- Installing: /usr/local/stow/absl/include/absl/random/internal/randen_hwaes[\]-- Installing: /usr/local/stow/absl/include/absl/random/internal/nanobenchmar[|]-- Installing: /usr/local/stow/absl/include/absl/random/internal/mock_overloa[-]-- Installing: /usr/local/stow/absl/include/absl/random/internal/wide_multipl[/]-- Installing: /usr/local/stow/absl/include/absl/random/internal/generate_rea[\]-- Installing: /usr/local/stow/absl/include/absl/random/internal/iostream_sta[|]-- Installing: /usr/local/stow/absl/include/absl/random/internal/randen_detec[/]-- Installing: /usr/local/stow/absl/include/absl/random/bernoulli_distributio[\]-- Installing: /usr/local/stow/absl/include/absl/random/uniform_int_distribut[-]-- Installing: /usr/local/stow/absl/include/absl/random/uniform_real_distribu[/]-- Installing: /usr/local/stow/absl/include/absl/random/log_uniform_int_distr[-]-- Installing: /usr/local/stow/absl/include/absl/random/discrete_distribution[\]-- Installing: /usr/local/stow/absl/include/absl/random/exponential_distribut[|]-- Installing: /usr/local/stow/absl/include/absl/functional/internal/front_bi[-]-- Installing: /usr/local/stow/absl/include/absl/functional/internal/function[-]-- Installing: /usr/local/stow/absl/include/absl/profiling/internal/sample_re[/]-- Installing: /usr/local/stow/absl/include/absl/profiling/internal/exponenti[\]-- Installing: /usr/local/stow/absl/include/absl/profiling/internal/periodic_[|]-- Installing: /usr/local/stow/absl/include/absl/time/internal/get_current_ti[-]-- Installing: /usr/local/stow/absl/include/absl/time/internal/get_current_ti[/]-- Installing: /usr/local/stow/absl/include/absl/time/internal/cctz/src/time_[\]-- Installing: /usr/local/stow/absl/include/absl/time/internal/cctz/src/tzfil[|]-- Installing: /usr/local/stow/absl/include/absl/time/internal/cctz/src/time_[-]-- Installing: /usr/local/stow/absl/include/absl/time/internal/cctz/src/time_[/]-- Installing: /usr/local/stow/absl/include/absl/time/internal/cctz/src/time_[\]-- Installing: /usr/local/stow/absl/include/absl/time/internal/cctz/src/time_[|]-- Installing: /usr/local/stow/absl/include/absl/time/internal/cctz/src/time_[/]-- Up-to-date: /usr/local/stow/absl/include/absl/time/internal/cctz/include/c[\]-- Installing: /usr/local/stow/absl/include/absl/time/internal/cctz/include/c[|]-- Installing: /usr/local/stow/absl/include/absl/time/internal/cctz/include/c[-]-- Installing: /usr/local/stow/absl/include/absl/time/internal/cctz/include/c[/]-- Installing: /usr/local/stow/absl/include/absl/time/internal/cctz/include/c[\]-- Installing: /usr/local/stow/absl/include/absl/base/internal/per_thread_tls[/]-- Installing: /usr/local/stow/absl/include/absl/base/internal/spinlock_wait.[\]-- Installing: /usr/local/stow/absl/include/absl/base/internal/atomic_hook_te[|]-- Installing: /usr/local/stow/absl/include/absl/base/internal/scheduling_mod[-]-- Installing: /usr/local/stow/absl/include/absl/base/internal/throw_delegate[/]-- Installing: /usr/local/stow/absl/include/absl/base/internal/spinlock_win32[\]-- Installing: /usr/local/stow/absl/include/absl/base/internal/scoped_set_env[|]-- Installing: /usr/local/stow/absl/include/absl/base/internal/unaligned_acce[\]-- Installing: /usr/local/stow/absl/include/absl/base/internal/inline_variabl[|]-- Installing: /usr/local/stow/absl/include/absl/base/internal/unscaledcyclec[-]-- Installing: /usr/local/stow/absl/include/absl/base/internal/low_level_sche[-]-- Installing: /usr/local/stow/absl/include/absl/base/internal/thread_identit[/]-- Installing: /usr/local/stow/absl/include/absl/base/internal/dynamic_annota[\]-- Installing: /usr/local/stow/absl/include/absl/base/internal/exception_safe[|]-- Installing: /usr/local/stow/absl/include/absl/base/internal/low_level_allo[/]-- Installing: /usr/local/stow/absl/include/absl/base/internal/thread_annotat[\]-- Installing: /usr/local/stow/absl/include/absl/base/internal/tsan_mutex_int[\]-- Installing: /usr/local/stow/absl/include/absl/base/internal/inline_variabl[-]-- Installing: /usr/local/stow/absl/include/absl/base/internal/spinlock_akaro[/]-- Installing: /usr/local/stow/absl/include/absl/base/internal/spinlock_linux[\]-- Installing: /usr/local/stow/absl/include/absl/base/internal/pretty_functio[|]-- Installing: /usr/local/stow/absl/include/absl/base/internal/spinlock_posix[/]-- Installing: /usr/local/stow/absl/include/absl/base/internal/exception_test[/]-- Installing: /usr/local/stow/absl/include/absl/flags/internal/program_name.[\]-- Installing: /usr/local/stow/absl/include/absl/flags/internal/sequence_lock[-]-- Installing: /usr/local/stow/absl/include/absl/flags/internal/commandlinefl[/]-- Installing: /usr/local/stow/absl/include/absl/flags/internal/private_handl[\]-- Installing: /usr/local/stow/absl/include/absl/hash/internal/low_level_hash[-]-- Installing: /usr/local/stow/absl/include/absl/hash/internal/spy_hash_state[|]-- Installing: /usr/local/stow/absl/include/absl/container/internal/have_sse.[/]-- Installing: /usr/local/stow/absl/include/absl/container/internal/btree_con[\]-- Installing: /usr/local/stow/absl/include/absl/container/internal/counting_[|]-- Installing: /usr/local/stow/absl/include/absl/container/internal/hash_gene[-]-- Installing: /usr/local/stow/absl/include/absl/container/internal/hashtable[/]-- Installing: /usr/local/stow/absl/include/absl/container/internal/raw_hash_[\]-- Installing: /usr/local/stow/absl/include/absl/container/internal/test_inst[|]-- Installing: /usr/local/stow/absl/include/absl/container/internal/unordered[-]-- Installing: /usr/local/stow/absl/include/absl/container/internal/unordered[/]-- Installing: /usr/local/stow/absl/include/absl/container/internal/container[\]-- Installing: /usr/local/stow/absl/include/absl/container/internal/unordered[|]-- Installing: /usr/local/stow/absl/include/absl/container/internal/hash_poli[-]-- Installing: /usr/local/stow/absl/include/absl/container/internal/unordered[\]-- Installing: /usr/local/stow/absl/include/absl/container/internal/inlined_v[|]-- Installing: /usr/local/stow/absl/include/absl/container/internal/hashtable[-]-- Installing: /usr/local/stow/absl/include/absl/container/internal/raw_hash_[/]-- Installing: /usr/local/stow/absl/include/absl/container/internal/unordered[\]-- Installing: /usr/local/stow/absl/include/absl/container/internal/hash_poli[|]-- Installing: /usr/local/stow/absl/include/absl/container/internal/compresse[-]-- Installing: /usr/local/stow/absl/include/absl/container/internal/unordered[/]-- Installing: /usr/local/stow/absl/include/absl/container/internal/node_hash[\]-- Installing: /usr/local/stow/absl/include/absl/container/internal/hash_func[|]-- Installing: /usr/local/stow/absl/include/absl/container/internal/hashtable[\]-- Installing: /usr/local/stow/absl/include/absl/container/internal/unordered[|]-- Installing: /usr/local/stow/absl/include/absl/container/internal/unordered[-]-- Installing: /usr/local/stow/absl/include/absl/synchronization/blocking_cou[\]-- Installing: /usr/local/stow/absl/include/absl/synchronization/internal/per[|]-- Installing: /usr/local/stow/absl/include/absl/synchronization/internal/thr[-]-- Installing: /usr/local/stow/absl/include/absl/synchronization/internal/fut[/]-- Installing: /usr/local/stow/absl/include/absl/synchronization/internal/ker[\]-- Installing: /usr/local/stow/absl/include/absl/synchronization/internal/wai[|]-- Installing: /usr/local/stow/absl/include/absl/synchronization/internal/gra[-]-- Installing: /usr/local/stow/absl/include/absl/synchronization/internal/cre[/]-- Installing: /usr/local/stow/absl/include/absl/synchronization/notification[/]-- Installing: /usr/local/stow/absl/include/absl/numeric/int128_have_intrinsi[|]-- Installing: /usr/local/stow/absl/include/absl/numeric/internal/representat[\]-- Installing: /usr/local/stow/absl/include/absl/numeric/int128_no_intrinsic.[\]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/cord_rep_te[|]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/cordz_updat[-]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/cord_intern[/]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/cordz_funct[\]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/cord_rep_ri[/]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/charconv_pa[\]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/cord_rep_ri[|]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/numbers_tes[-]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/cord_rep_co[/]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/cord_rep_bt[|]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/ostringstre[-]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/escaping_te[/]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/resize_unin[\]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/cord_rep_fl[|]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/cord_rep_bt[-]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/str_split_i[/]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/string_cons[\]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/str_join_in[-]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/pow10_helpe[/]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/stl_type_tr[|]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/str_format/[-]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/str_format/[/]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/str_format/[\]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/str_format/[|]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/str_format/[-]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/str_format/[/]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/str_format/[\]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/cord_rep_bt[|]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/cordz_handl[-]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/cordz_sampl[/]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/cordz_info.[\]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/cordz_stati[|]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/cordz_updat[-]-- Installing: /usr/local/stow/absl/include/absl/strings/internal/charconv_bi[\]-- Installing: /usr/local/stow/absl/include/absl/status/internal/status_inter[|]-- Installing: /usr/local/stow/absl/include/absl/status/internal/statusor_int[-]-- Installing: /usr/local/stow/absl/include/absl/status/status_payload_printe[-]-- Installing: /usr/local/stow/absl/include/absl/debugging/symbolize_unimplem[/]-- Installing: /usr/local/stow/absl/include/absl/debugging/symbolize_darwin.i[-]-- Installing: /usr/local/stow/absl/include/absl/debugging/internal/stack_con[/]-- Installing: /usr/local/stow/absl/include/absl/debugging/internal/stacktrac[\]-- Installing: /usr/local/stow/absl/include/absl/debugging/internal/stacktrac[|]-- Installing: /usr/local/stow/absl/include/absl/debugging/internal/vdso_supp[-]-- Installing: /usr/local/stow/absl/include/absl/debugging/internal/address_i[/]-- Installing: /usr/local/stow/absl/include/absl/debugging/internal/stacktrac[\]-- Installing: /usr/local/stow/absl/include/absl/debugging/internal/stacktrac[|]-- Installing: /usr/local/stow/absl/include/absl/debugging/internal/stacktrac[-]-- Installing: /usr/local/stow/absl/include/absl/debugging/internal/symbolize[/]-- Installing: /usr/local/stow/absl/include/absl/debugging/internal/stacktrac[\]-- Installing: /usr/local/stow/absl/include/absl/debugging/internal/demangle.[|]-- Installing: /usr/local/stow/absl/include/absl/debugging/internal/stacktrac[-]-- Installing: /usr/local/stow/absl/include/absl/debugging/internal/elf_mem_i[/]-- Installing: /usr/local/stow/absl/include/absl/debugging/internal/stacktrac[\]-- Installing: /usr/local/stow/absl/include/absl/debugging/internal/examine_s[|]-- Installing: /usr/local/stow/absl/include/absl/debugging/internal/stacktrac[-]-- Installing: /usr/local/stow/absl/include/absl/debugging/internal/stacktrac[/]-- Installing: /usr/local/stow/absl/include/absl/debugging/symbolize_emscript[-]-- Installing: /usr/local/stow/absl/include/absl/debugging/failure_signal_han[/]-- Installing: /usr/local/stow/absl/include/absl/debugging/symbolize_win32.in[|]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_raw_logging_internal.p[|]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_inlined_vector_interna[|]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_hash_function_defaults[-]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_hashtable_debug_hooks.[\]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_failure_signal_handler[-]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_flags_commandlineflag_[/]-- Installing: /usr/local/stow/absl/lib/libabsl_flags_commandlineflag_interna[\]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_flags_commandlineflag.[-]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_flags_private_handle_a[/]-- Installing: /usr/local/stow/absl/lib/libabsl_flags_private_handle_accessor[-]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_flags_usage_internal.p[/]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_numeric_representation[/]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_mock_h[\]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_distributions.p[-]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_seed_gen_except[\]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_seed_sequences.[-]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_traits[/]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_distri[\]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_fast_u[|]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_seed_m[-]-- Installing: /usr/local/stow/absl/lib/libabsl_random_internal_seed_material[/]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_pool_u[|]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_salted[-]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_iostre[/]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_genera[\]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_wide_m[|]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_fastma[-]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_nonsec[/]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_pcg_en[\]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_randen[|]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_platfo[/]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_randen[|]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_randen[/]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_randen[\]-- Installing: /usr/local/stow/absl/lib/libabsl_random_internal_randen_hwaes.[|]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_randen[-]-- Installing: /usr/local/stow/absl/lib/libabsl_random_internal_randen_hwaes_[/]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_distri[\]-- Installing: /usr/local/stow/absl/lib/libabsl_random_internal_distribution_[|]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_random_internal_unifor[/]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_cordz_update_tracker.p[\]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_graphcycles_internal.p[-]-- Installing: /usr/local/stow/absl/lib/pkgconfig/absl_kernel_timeout_interna[-]Result:success kgconfig/absl_utility.pcs.access.pcc Run CMD Task:[catkin_make_isolated --install --use-ninja] [-]Result:code:127 Run CMD Task:[sudo chmod -R 777 cartographer_ws] [-]Result:success
顺带一提,我之前手动安装时执行这个命令好像也报错过,但是我忘记当时是怎么解决的了。
手动执行该命令,结果能编译成功,不知道为什么使用脚本时失败
:~/cartographer_ws$ catkin_make_isolated --install --use-ninja
<== Finished processing package [4 of 4]: 'cartographer_rviz'
-
一键安装后查看文件缺少关键文件是什么原因呢?没有catkin_make_isolated这个文件