QT5.3.1编译出错,如何解决?cannot find -lGL 且libGL库已经安装。
2014-10-10 17:29
405 查看
平台:麒麟64+Qt5.3.1
且libGL库已经安装。
___________________________________
原因找到了,就是没有创建libGL.so这个连接。编译的时候编译器找不到这个库。
找到这个库所在目录
find / -name *libGL*
再改目录下,手动创建连接
ln -s <span style="color: rgb(51, 51, 51); font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 24px; background-color: rgb(245, 245, 245);">libGL.so.0.0.1 <span style="color: rgb(51, 51, 51); font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 24px; background-color: rgb(245, 245, 245);">libGL.so</span></span>
相关文章推荐
- CentOS安装Qt编译错误以及无法调试的问题解决( /usr/bin/ld:cannot find –lGL 和 Debugginghas failed)
- 解决Linux下Qt编译出现"cannot find -lGL"以及无法安装libgl1-mesa-dev的问题
- 解决Qt在openSUSE上编译出现“cannot find -lGL”错误
- 解决CentOS遇到Qt编译(error: cannot find -lGL)
- 编译Qt时出现 cannot find -lGL解决方法
- 解决CentOS遇到Qt编译(error: cannot find -lGL)
- Fedora 17安装Qt5.0.0遇到/usr/bin/ld: cannot find -lGL的解决方法
- 关于 编译QT项目时报错: error: cannot find -lGL 的解决方法
- Ubuntu 安装 QT;常见错误的解决;When executing step 'Make' ;cannot find -lgl
- ubuntu下使用Qt 编译时cannot find -lGL错误解决
- Ubuntu安装完Qt后报错error: cannot find -lGL解决办法
- ubuntu 12.04安装qt5.4 编译程序cannot find -lGL问题
- fedora17安装Qt5.0.0遇到/usr/bin/ld: cannot find -lGL的解决方法
- Linux_ubuntu环境下Qt无法编译代码显示-1: error: cannot find -lGL错误的解决方法
- 安装qtceator后无法启动help插件 Qt编译错误:cannot find -lGL 解决办法
- 解决Linux下Qt编译出现"cannot find -lGL"以及无法安装libgl1-mesa-dev的问题
- 关于解决Qt OpenGL编译/usr/bin/ld: cannot find -lGL 问题的方法
- 解决CentOS遇到Qt编译(error: cannot find -lGL)
- ubuntu16.04 安装完Qt后,编译项目出现cannot find -lGL
- 嵌入式平台arm linux 之qt 4.5交叉编译到webkit时出错解决方法