1. ceres版本导致的问题:开始用的ceres 2.0的版本,在catkin_make的时候会报关于ceres/interger/...的错误,见下图。然后换成ceres 1.4的版本,顺利解决这个问题;记录编译Vins-mono中踩的坑
  2. 关于gflags的问题,报错如下图所示:记录编译Vins-mono中踩的坑

错误:/usr/bin/ld: /usr/local/lib/libgflags.a(gflags.cc.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC。

解决方法参考:https://blog.csdn.net/weixin_44003563/article/details/103612472,附一张截图:

记录编译Vins-mono中踩的坑

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-04
  • 2022-12-23
  • 2021-08-16
  • 2021-06-27
  • 2021-11-18
  • 2021-10-18
猜你喜欢
  • 2021-05-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-17
相关资源
相似解决方案