Problem:
/usr/lib/x86_64-linux-gnu/libGL.so: undefined reference to `xcb_dri3_buffers_from_pixmap
Analysis:
1. libGL.so not working
2. xcb not working
Solution:
1. check if libGL.so is working
ldd /usr/lib/x86_64-linux-gnu/libGL.so
if working: go to step 2
if not: install opengl
2. add -lxcb -lxcb-dri3
Note that we need to add all libs in the target makefile or qt pro file. Actually, I fix this with this solution.
3. sudo apt-get update
add -lxcb -lxcb-dri3
No comments:
Post a Comment