/opt/Qt5.6.2/5.6/gcc_64/include/QtGui/qopengl.h:120: error: GL/gl.h: No such file or directory

操作系统 linux mint

Qt5.6.2 

使用Qt5.6.2 编译时, 出现/opt/Qt5.6.2/5.6/gcc_64/include/QtGui/qopengl.h:120: error: GL/gl.h: No such file or directory

 

解决办法:

  sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev 

 

posted on 2018-06-09 12:45  牛大黑  阅读(744)  评论(0编辑  收藏  举报

导航