解决 Pangolin X11: Unable to retrieve framebuffer options

In the "visual SLAM fourteen stresses" the third chapter of the code, compile and run slambook-master \ ch3 \ when visualizeGeometry example,
met Pangolin X11: Unable to retrieve framebuffer options in question.
The solution is commented L123-L124 Pangolin source src / display / device / display_x11.cpp, i.e.

`
/ * Desired Attributes * /
static int visual_attribs [] =
{
GLX_X_RENDERABLE, True,
GLX_DRAWABLE_TYPE, GLX_WINDOW_BIT,
GLX_RENDER_TYPE, GLX_RGBA_BIT,
GLX_X_VISUAL_TYPE, GLX_TRUE_COLOR,
GLX_RED_SIZE,. 8,
GLX_GREEN_SIZE,. 8,
GLX_BLUE_SIZE,. 8,
GLX_ALPHA_SIZE,. 8,
GLX_DEPTH_SIZE, 24,
GLX_STENCIL_SIZE, 8,
gLX_DOUBLEBUFFER, glx_doublebuffer True: False,?
// gLX_SAMPLE_BUFFERS, glx_sample_buffers,
// GLX_SAMPLES, glx_sample_buffers> 0 glx_samples: 0,?
None
};
time to find a solution to this problem on the internet, some people are running ORB- SLAM will encounter when library.

Released six original articles · won praise 26 · views 80000 +

Guess you like

Origin blog.csdn.net/qq_33683032/article/details/98068000