- 更新源或者安装软件的时候提示,
0% [Connecting to archive.ubuntu.com
解决方法:
sudo vim /etc/gai.conf
uncomment #precedence ::ffff:0:0/96 100
参考 http://blog.youkuaiyun.com/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