ORBSLAM运行时错误

ORBSLAM 2 编译运行时出现的问题
1、opencv的问题,
经过我的测试,使用opencv2.4.13.6版本,经过bug修改后没有问题,适配SLAM
2运行时的错误
在建立完地图或者还没有建立完地图后报错退出
Start processing sequence …
Images in the sequence: 723

Framebuffer with requested attributes not available. Using available framebuffer. You may see visual artifacts.init done
opengl support available
New Map created with 118 points
段错误(核心已转储)

第2个问题我在https://github.com/raulmur/ORB_SLAM2/issues/341 找到了解决方案
I bypassed it by going in the g2o cmakelists and the orb slam cmakelists and removing -march=native. Hope it works for you too.
删除掉ORBSLAM的cmakelists中的 -march=native 以及 g2o 的cmakelists中的-march=native
重新执行ORBSLAM目录下的./build.sh 后就可以正常跑了

你可能感兴趣的:(ORBSLAM)