Ubuntu环境QT出现:-1: error: cannot find -lGL(已解决)
2017-09-15 15:48
591 查看
然后使用 $ locate libGL.so 发现
/usr/lib/i386-linux-gnu/mesa/libGL.so.1
/usr/lib/i386-linux-gnu/mesa/libGL.so.1.2.0
再使用 sudo apt-get install libgl1-mesa-dev 安装成功后即可使用。
/usr/lib/i386-linux-gnu/mesa/libGL.so.1
/usr/lib/i386-linux-gnu/mesa/libGL.so.1.2.0
再使用 sudo apt-get install libgl1-mesa-dev 安装成功后即可使用。
相关文章推荐
- Ubuntu环境QT出现:-1: error: cannot find -lGL(已解决)
- Ubuntu环境QT出现:-1: error: cannot find -lGL(已解决)
- Linux_ubuntu环境下Qt无法编译代码显示-1: error: cannot find -lGL错误的解决方法
- 在Ubuntu 12.04 alternate 64位 中开发Qt程序出现/usr/bin/ld: error: cannot find -lGL
- Ubuntu安装完Qt后报错error: cannot find -lGL解决办法
- Ubuntu Qt出现cannot find -lGL解决
- ubuntu下QT出现cannot find -lGL错误的解决办法
- Qt 之 运行Qt Creator出现cannot find -lGL的问题的两种解决
- ubuntu下使用Qt 编译时cannot find -lGL错误解决
- ubuntu 下 Qt 编译出现 cannot find -lGL错误
- linux下运行Qt出现cannot find -lGL和collect2: ld returned 1 exit status解决方法
- 解决CentOS遇到Qt编译(error: cannot find -lGL)
- Ubuntu 16.04 下Qt编译出现"cannot find -lGL"问题解决
- 编译Qt时出现 cannot find -lGL解决方法
- 解决CentOS遇到Qt编译(error: cannot find -lGL)
- ubuntu Qt creator 编译错误:-1: error: cannot find -lGL解决办法
- 解决Qt在openSUSE上编译出现“cannot find -lGL”错误
- 解决Linux下Qt编译出现"cannot find -lGL"以及无法安装libgl1-mesa-dev的问题
- 关于 编译QT项目时报错: error: cannot find -lGL 的解决方法
- Ubuntu15.04 QT5编译出现cannot find -lGL 和 collect2:error:ld returned 1 exit status 错误