更换新pc,重新安装了Ubuntu12.04,Qt5.1,编译shanbaydict过程,出现错误,这是由于You aremissing the OpenGL include files. Install the mesa-common-devpackage,
../../Qt5.1.0/5.1.0/gcc_64/include/QtGui/qopengl.h:110:21: fatalerror: GL/gl.h: No such file or directory
执行
sudo apt-get install mesa-common-dev
编译出现如下错误提示:
/usr/bin/ld: cannot find -lGL
执行下面命令解决:
sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。