LNK1104:Cannot open file 'glut32.lib'
2016-08-10 11:17
411 查看
前言:好久没有写CSDN的blog了,刚刚写blog的时候,我还是一个hello world的水平。真可谓“条条大路通CS”,花了一年时间,从EE专业自学到了CS了。也当是小有所成。希望,一起在路上的朋友,我们一起加油!
1. 电脑中没有这个文件
2. 有这个文件,但是工程找不到
将这个文件放在(参考)
路径下,再将路径添加到系统环境变量PATH中去。
问题背景
在使用QT开发window应用程序的时候,需要使用到OpenGL的库来绘制3D地球。问题详细
使用QT creator这个IDE,在build项目的时候,报下面的错误LNK1104:Cannot open file 'glut32/lib'
问题分析
出现这个问题有两个可能1. 电脑中没有这个文件
2. 有这个文件,但是工程找不到
解决办法
去这里下载这个文件将这个文件放在(参考)
D:\Qt\Qt5.5.0\5.5\msvc2013_64\lib
路径下,再将路径添加到系统环境变量PATH中去。
相关文章推荐
- [QT开发小结]LNK1104: cannot open file ‘gdi32.lib’ 解决方法
- VS2013 error LNK1104: cannot open file " .lib"
- Visual Studio 2013 error LNK1104: cannot open file 'kernel32.lib'
- error LNK1104: cannot open file 'atlthunk.lib'
- error LNK1104: cannot open file 'Spromeps_Win64.lib'
- Debug 版的 C/C++ Python 扩展模块链接错误:Error LNK1104 cannot open file 'python35_d.lib'
- FreeGLUT Tips: Resolve compile issue: error LNK1104: cannot open file 'freeglutd.lib'
- Qt|LNK1104: cannot open file ‘gdi32.lib’ 解决方法
- error LNK1104: cannot open file "xx.exe"
- LNK1104: cannot open file 'LIBC.lib'
- error LNK1104: cannot open file 错误解决方案
- LINK : fatal error LNK: cannot open file "uafxcw.lib"的解决方法
- ubuntu解决libstdc++.so.6: cannot open shared object file: No such file or directory:问题
- c1xx fatal error C1083 Cannot open source file...
- error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or dir
- 解决 libstdc++.so.5: cannot open shared object file: No such file or directory 问题
- error while loading shared libraries: libcudart.so.7.5: cannot open shared object file: No such file
- error while loading shared libraries| cannot open shared object file
- CentOS 运行 Java的图形出错: libXtst.so.6: cannot open shared object file: No such file or directory
- 初学C++:编译器报错“Cannot open include file: 'iostream.h': No such file or directory”的解决方法