warning LNK4089: all references to "USER32.dll" /"ole32.dll" discarded by /OPT:REF
来源:互联网 发布:淘宝助理上传宝贝教程 编辑:程序博客网 时间:2024/05/22 12:37
warning LNK4089: all references to "USER32.dll" discarded by /OPT:REF
开发平台:VC
出现错误:warning LNK4089: all references to "USER32.dll" discarded by /OPT:REF。
错误原因:由于打开了优化选项,而且程序中包含或加入了USER32.dll/ ole32.dll ,但是却没有调用该库中的任何函数或方法, 所以系统给个通知。
解决办法:
a)这个问题一般出现在release版中,当release版编译时会对代码进行优化,将程序中实际上并没用到的,而在工程中链接了的库放弃而不编译到工程中去。可在工程设置中的Link中的input中ingore libraries中将该库的lib文件名输入。
b)不予理会,因为它不会影响程序。 ------这种方法更可取,一旦ignore该库,工程在编译时可能会报错
Reference: http://www.diybl.com/course/4_webprogram/asp.net/netjs/200822/98455.html
- warning LNK4089: all references to "USER32.dll" /"ole32.dll" discarded by /OPT:REF
- warning LNK4089: all references to "USER32.dll" discarded by /OPT:REF
- warning LNK4089: all references to "USER32.dll" discarded by /OPT:REF
- warning LNK4089: all references to "USER32.dll" discarded by /OPT:REF
- arning LNK4089: all references to "USER32.dll" discarded by /OPT:REF
- warning LNK4089: all references to "SHELL32.dll" discarded by /OPT:REF
- 关于VC++ Release编译之后warning LNK4089: all references to "SHELL32.dll" discarded by /OPT:REF
- LINK : warning LNK4089: all references to “SHELL32.dll” discarded by /OPT:REF
- warning LNK4089: all references to "SHELL32.dll" discarded by /OPT:REF
- 关于VC++ Release编译之后warning LNK4089: all references to "SHELL32.dll" discarded by /OPT:REF
- all references to"*.dll" discarded by /OPT:REF
- debug 通过,Release运行出错。all references to "ADVAPI32.dll" discarded by /OPT:REF
- discarded by /OPT:REF (VC调试警告)
- USER32.DLL SetLayeredWindowAttributes函数
- Windows API User32.dll
- User32.dll 函数
- Windows API User32.dll
- 用户库函数User32.dll
- 通过Thread.join()和CountDownLatch来实现进程同步
- C#实现万年历
- CentOS-6.3安装配置SVN
- Eclipse一些使用快捷方式
- Nutch 插件系统浅析
- warning LNK4089: all references to "USER32.dll" /"ole32.dll" discarded by /OPT:REF
- 日积月累:Android项目打第三方jar包
- S 7 - Status bar overlaps the view
- 在现在的CMP上的共享缓存是否对于目前的多线程应用有影响?
- IPv6协议栈安装方法
- ormLite框架持久化编程
- 设计模式之(四)Singleton模式
- VL01N/VL02N增强-退货订单(ZRE,ZWRE,ZRD)在VL01N对于发货过账时判断成本是否为0碰到的问题
- NASM汇编指令复习