2021-02-24

在尝试安装Cartographer时遇到了构建错误,具体表现为'ninja build.ninja'过程中返回了非零退出状态1,导致cartographer包处理失败。错误详细信息指出有多个规则生成abseil/src/abseil-build/absl/synchronization/libabsl_synchronization.a,建议检查cmake配置或者更新相关依赖库。
摘要由CSDN通过智能技术生成

==> Processing plain cmake package: 'cartographer'
==> Building with env: '/home/tx/cartographer_ws/install_isolated/env.sh'
build.ninja exists, skipping explicit cmake invocation...
==> ninja build.ninja in '/home/tx/cartographer_ws/build_isolated/cartographer/install'
ninja: error: build.ninja:5081: multiple rules generate abseil/src/abseil-build/absl/synchronization/libabsl_synchronization.a [-w dupbuild=err]

<== Failed to process package 'cartographer':
  Command '['/home/tx/cartographer_ws/install_isolated/env.sh', 'ninja', 'build.ninja']' returned non-zero exit status 1.

Reproduce this error by running:
==> cd /home/tx/cartographer_ws/build_isolated/cartographer && /home/tx/cartographer_ws/install_isolated/env.sh ninja build.ninja

Command failed, exiting.

 

安装cartographer遇到这种情况应该怎么办,已经卡了两天了,请大佬们救救孩子吧(泪目)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值