Qt|LNK1104: cannot open file ‘gdi32.lib’ 解决方法
2017-03-24 22:12
369 查看
http://www.cnblogs.com/lovepurple/p/3618568.html
1.环境变量 :
Path = C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Bin;(在Path环境变量前面添加)
添加变量:
INCLUDE = C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include;
LIB=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Lib
LIBPATH = C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\lib;
(上面三个环境变量都是在添加到系统环境变量中)
2.重启QT Creator
-------------------------------------------------------------------------------------------------------------------
另外,系统环境变量也会添加到VC的环境变量中。
1.环境变量 :
Path = C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Bin;(在Path环境变量前面添加)
添加变量:
INCLUDE = C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include;
LIB=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Lib
LIBPATH = C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\lib;
(上面三个环境变量都是在添加到系统环境变量中)
2.重启QT Creator
-------------------------------------------------------------------------------------------------------------------
另外,系统环境变量也会添加到VC的环境变量中。
相关文章推荐
- [QT开发小结]LNK1104: cannot open file ‘gdi32.lib’ 解决方法
- LINK : fatal error LNK: cannot open file "uafxcw.lib"的解决方法
- FreeGLUT Tips: Resolve compile issue: error LNK1104: cannot open file 'freeglutd.lib'
- 编译boost程序出现如下错误fatal error LNK1104: cannot open file 'libboost_system-vc100-mt-gd-1_54.lib'的解决方法
- LNK1104: cannot open file 'LIBC.lib'
- 编译boost程序出现如下错误fatal error LNK1104: cannot open file 'libboost_system-vc100-mt-gd-1_54.lib'的解决方法
- 编译boost程序出现如下错误fatal error LNK1104: cannot open file 'libboost_system-vc100-mt-gd-1_54.lib'的解决方法
- 〖Android〗arm-linux-androideabi-gdb报 libpython2.6.so.1.0: cannot open shared object file错误的解决方法
- error LNK1104: cannot open file 'atlthunk.lib'
- ORACLE RAC之libpthread.so.0: cannot open shared object file解决方法
- 编译boost程序出现如下错误fatal error LNK1104: cannot open file 'libboost_system-vc100-mt-gd-1_54.lib'的解决方法
- Debug 版的 C/C++ Python 扩展模块链接错误:Error LNK1104 cannot open file 'python35_d.lib'
- LINK : fatal error LNK1104: cannot open file 'LIBCD.lib' 解决办法
- RAC srvctl 命令报 libpthread.so.0 cannot open shared object file No such file or directory 解决方法
- fatal error C1083 Cannot open include file 'iostream.h' No such file or directory 的解决方法
- RAC srvctl 命令报 libpthread.so.0 cannot open shared object file No such file or directory 解决方法
- vc6.0 MFC LINK : fatal error LNK1104: cannot open file "nafxcwd.lib"问题解决
- cannot open file 'LIBC.lib'错误的解决
- RAC srvctl 命令报 libpthread.so.0 cannot open shared object file No such file or directory 解决方法
- RAC srvctl 命令报 libpthread.so.0 cannot open shared object file No such file or directory 解决方法