》Ubuntu编译运行
github:https://github.com/raulmur/ORB_SLAM2
参考2. Prerequisites预装依赖包,gcc、g++可以不用装,用默认的,ros也可以不装,
其中有个问题如下,编译完后,运行会报类似:pangolin x11 display error;
需要做2个动作:1 确认/etc/ssh/ssh_config (sshd_config) Forwardx11 yes 2 注释掉pangolin 源代码,src/display/device/display_x11.cpp line 110,static int visual_attribs[] =倒数第2.3行的初始化数据;