ERR:window system does not support openGL

在VNC上使用opencv显示窗口的时候报错:window system does not support openGL


解决方法参考:

https://raspberrypi.stackexchange.com/questions/40438/opencv-display-image-window-system-doesnt-support-opengl

http://blog.csdn.net/stack_moon/article/details/78681406

依次输入下列指令

sudo apt-get update  

sudo apt-get install libgl1-mesa-dri

sudo apt-get install libgl1-mesa-dev 

sudo apt-get install libglu1-mesa-dev 

sudo apt-get install libgl1-mesa-swx11


你可能感兴趣的:(环境配置)