fedora安装Qt5.0编译失败:can not find -IGL 的解决方法
来源:互联网 发布:合肥万户网络怎么样 编辑:程序博客网 时间:2024/04/20 09:31
- fedora17安装Qt5.0.0遇到/usr/bin/ld:cannot find -lGL的解决方法
fedora17安装Qt5.0.0遇到/usr/bin/ld:cannot find -lGL的解决方法
如果是fedora17安装Qt5.0.0的话,安装完成以后运行项目会出现:
/usr/bin/ld: cannot find -lGL
-I :说明找不到对应的库文件
www.2cto.com
解决方法:
以下操作都在root权限下进行!
1.按照提示安装对应的库文件,fedora安装库件的格式:yum install libxxx(你要装的库),如果已经安装GL库,会显示已经安装
Ps:如果提示的库文件名是大写的,yum安装的时候也一定要大写,否则是找不到对应库的
2.安装完库文件以后,还不能马上运行,如果没有库的头文件,编译器是检测不到库的,还需要安装库的头文件,fedora安装库头文件的格式:yum install libxxx-devel,还是该大写就大写
做完以上步骤,就OK了
附上完整的命令:
[plain]
yum install libGL libGL-devel
0 0
- fedora安装Qt5.0编译失败:can not find -IGL 的解决方法
- 解决方法:Ubuntu12.04安装Qt5.0后,首次运行,编译失败,提示 can`t find -Igl
- QT5提示can not find -lGL的解决方法
- qt5错误can not find -lGL的解决方法
- QT5提示can not find -lGL的解决方法
- QT5提示can not find -lGL的解决方法
- QT5提示can not find -lGL的解决方法
- QT5提示can not find -lGL的解决方法
- QT5提示can not find -lGL的解决方法
- QT5提示can not find -lGL的解决方法
- linux下Qt5 编译出现cannot find -IGL问题修复
- linux下Qt5 编译出现cannot find -IGL问题修复
- linux cannot find -IGL错误的解决方法
- Fedora 17安装Qt5.0.0遇到/usr/bin/ld: cannot find -lGL的解决方法
- 如何排查can not find symbol的编译错误
- can not find xxx.json file,或者文件读取失败,请检查后重新编译。
- ubuntu下qt5提示can not find -lGL
- 错误提示:/usr/bin/ld:can not find -lqte 的解决方法
- Nyoj733----C/C++中pow函数与sqrt函数(大数开方数取巧)
- 断言的实现方法
- 输出完数
- EditText无法获取焦点
- HUST 1632 Sheep’s Toy I(计算几何 正方形旋转覆盖面积)
- fedora安装Qt5.0编译失败:can not find -IGL 的解决方法
- requestWindowFeature使用详解
- 【指针】,指向数组的指针,指向指针的指针--(课堂例)
- 【linux+C】神器 vim + 指针相关客串
- 优秀程序员不得不知道的20个位运算技巧
- Jquery的表单插件 jquery.form.js
- fbi树
- Spring中bean的实例化方式
- 分层设计软件