现实没有自私 2021-03-29 11:07 采纳率: 0%
浏览 201

ROB-SLAM2遇到的问题

使用./build.sh编译时出现

/usr/include/c++/8/bits/stl_map.h:122:21: error: static assertion failed: std::map must have the same value_type as its allocator
       static_assert(is_same<typename _Alloc::value_type, value_type>::value,
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CMakeFiles/ORB_SLAM2.dir/build.make:134: recipe for target 'CMakeFiles/ORB_SLAM2.dir/src/LoopClosing.cc.o' failed

这个错误

具体为build.sh里面的主目录下的cmake ..

有没有哪个大佬知道这个问题怎么解决。

  • 写回答

1条回答 默认 最新

  • 现实没有自私 2021-03-29 11:11
    关注

    参考https://www.freesion.com/article/96671072666/     make -j出现的问题。 

    评论

报告相同问题?

悬赏问题

  • ¥15 AVL fire DVI中的Design Explorer里面的Run的Status为什么总是Terminated?哪里出问题了?需要修改哪里?
  • ¥15 有二开IOT平台code的来搞钱了。
  • ¥15 求lingo语言编程以下内容
  • ¥15 cannot import name '_MissingValues' from 'sklearn.utils._param_validation'引用smoke
  • ¥15 shiro springboot集成问题
  • ¥15 求PHP跨站免登录技术
  • ¥15 AVL fire DVI中的Design Explorer里面的Objectives /Constraints的scale应该怎么设置
  • ¥15 qml如何绘制三维笛卡尔坐标系并向其中添加折线?
  • ¥15 treelib库有读取树数据方法吗?
  • ¥15 咨询一个PYTHON的问题