ubuntu-学习slam常见问题

xiaoxiao2021-02-28  74

更新源或者安装软件的时候提示, 0% [Connecting to archive.ubuntu.com

解决方法:

sudo vim /etc/gai.conf uncomment #precedence ::ffff:0:0/96 100

参考 http://blog.csdn.net/u010578251/article/details/52169608

装g2o时,运行g2o_viewer,报错 *** Error in `./g2o_viewer': realloc(): invalid pointer: 0x00007f73ad5e3820 ***

解决方案:

sudo apt-get install libqglviewer-dev-qt4

修改文件 g2o/cmake_modules/FindQGLViewer.cmake:

find_library(QGLVIEWER_LIBRARY_RELEASE 删除该行 NAMES qglviewer-qt4 qglviewer QGLViewer QGLViewer2 增加该行 NAMES qglviewer-qt4 QGLViewer-qt4 qglviewer QGLViewer QGLViewer2

参考连接:https://github.com/RainerKuemmerle/g2o/issues/133

转载请注明原文地址: https://www.6miu.com/read-1950074.html

最新回复(0)