qt Error: LNK1104: cannot open file ‘gdi32.lib’的解决办法solved
点击 5197 创建时间 2014-02-22 09:51:29
Error: LNK1104: cannot open file ‘gdi32.lib’
添加环境变量LIB
,LIBPATH
, INCLUDE
,把vc/bin
放到path
中去。
重启qtcreator
参考以下命令行
@set "PATH=D:\\Program Files\\Microsoft SDKs\\Windows\\v7.1\\Bin;%PATH%"
@set "INCLUDE=D:\\Program Files\\Microsoft SDKs\\Windows\\v7.1\\Include;%INCLUDE%"
@set "LIB=D:\\Program Files\\Microsoft SDKs\\Windows\\v7.1\\Lib;%LIB%"
@set "LIBPATH=D:\\Program Files\\Microsoft Visual Studio 10.0\\VC\\lib;%LIBPATH%"
上一篇: Unable to instantiate Action
下一篇: win7下搭建apt-get的具有缓存功能的代理服务器