打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
运行Pangolin时出现的问题



Using on virtual machines people are getting the following error:

terminate called after throwing an instance of 'std::runtime_error'what(): Pangolin X11: Unable to retrieve framebuffer options


=============================================================



Are you running ORB-SLAM2 in VMWare @lucasmedino ? It seems the issue stems from running Ubuntu using virtualisation software since I have managed to get it up and running on a dedicated build without any issue. Here is how I solved it (the solution is provided at stevenlovegrove/Pangolin#81) as the push which apparently fixed it didn't work for me.

Find the device directory:
cd Pangolin/src/display/device/

Open display_x11.cpp:
gedit display_x11.cpp

Comment out the following lines as such (Lines 123-124):

        //GLX_SAMPLE_BUFFERS  , glx_sample_buffers,        //GLX_SAMPLES         , glx_sample_buffers > 0 ? glx_samples : 0,

Save the file, cd to the Pangolin build directory then rebuild:

cmake -DCPP11_NO_BOOST=1 ..make -j

Try running a sequence afterwards and hopefully the runtime error has disappeared...hope this helps.

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
编译cuda-7.0 samples出现error:cannot find lnvcuvid
ERROR: node with name “rabbit“ already running 踩坑
AndroidStudio:Error running app: Default Activity Not Found
[SOLVED] lighttpd 404 error
ffmpeg音频重采样分析
VB同时连接两个USB摄像头1
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服