Fedora 17安装Qt5.0.0遇到/usr/bin/ld: cannot find -lGL的解决方法
来源:互联网 发布:土耳其旅游 知乎 编辑:程序博客网 时间:2024/04/28 03:57
如果是Fedora 17安装Qt5.0.0的话,安装完成以后运行项目会出现:
/usr/bin/ld: cannot find -lGL
-I :说明找不到对应的库文件
解决方法:
以下操作都在root权限下进行!
1.按照提示安装对应的库文件,fedora安装库件的格式:yum install libxxx(你要装的库),如果已经安装GL库,会显示已经安装
Ps:如果提示的库文件名是大写的,yum安装的时候也一定要大写,否则是找不到对应库的
2.安装完库文件以后,还不能马上运行,如果没有库的头文件,编译器是检测不到库的,还需要安装库的头文件,fedora安装库头文件的格式:yum install libxxx-devel,还是该大写就大写
做完以上步骤,就OK了
附上完整的命令:
yum install libGL libGL-devel
- Fedora 17安装Qt5.0.0遇到/usr/bin/ld: cannot find -lGL的解决方法
- fedora17安装Qt5.0.0遇到/usr/bin/ld: cannot find -lGL的解决方法
- 安装Qt5.0.0遇到/usr/bin/ld:cannot find -lGL的解决方法
- /usr/bin/ld:cannot find -lGL的解决方法
- QT5 Deepin 12.06 /usr/bin/ld: cannot find -lGL
- 解决Qt5 安装Opengl后依然出现/usr/bin/ld: cannot find lGL
- /usr/bin/ld: cannot find -lGL
- qt /usr/bin/ld: cannot find -lGL
- /usr/bin/ld: error: cannot find -lGL
- /usr/bin/ld: error: cannot find -lGL
- /usr/bin/ld: error: cannot find -lGL
- /usr/bin/ld: error: cannot find -lGL
- QT /usr/bin/ld: cannot find -lGL
- Qt编译遇到/usr/bin/ld: cannot find -lGL问题的解决方案
- Qt编译遇到/usr/bin/ld: cannot find -lGL问题的解决方案
- Qt编译遇到/usr/bin/ld: cannot find -lGL问题的解决方案
- Ubuntu下Qt5编译提示/usr/bin/ld: error: cannot find -lGL
- 遇到usr/bin/ld: cannot find -lcufft解决方法。
- 学习英语的历史性转折
- SQL Server 如何比较日期的大小
- 提高APP的销售情况
- Pomodoro Technique
- 阿里巴巴2014校园招聘安全工程师笔试题
- Fedora 17安装Qt5.0.0遇到/usr/bin/ld: cannot find -lGL的解决方法
- 嵌入式linux交叉编译jrtplib库
- 阿里巴巴笔试题 2014 武汉
- 求两个单向链表的交点
- 5点钟起床,疯了吗?
- .NET(C#):获取进程的CPU使用状况
- iOS多线程GCD
- leetcode_question_121 Best Time to Buy and Sell Stock
- log file switch and log file sync