arning LNK4089: all references to "USER32.dll" discarded by /OPT:REF
来源:互联网 发布:拦截导弹算法 编辑:程序博客网 时间:2024/05/22 02:11
[from:http://www.diybl.com/course/4_webprogram/asp.net/netjs/200822/98455.html ]
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,但是却没有调用该库中的任何函数或方法, 所以系统给个通知。
解决办法:a)这个问题一般出现在release版中,当release版编译时会对代码进行优化,将程序中实际上并没用到的,而在工程中链接了的库放弃 而不编译到工程中去。可在工程设置中的Link中的input中ingore libraries中将该库的lib文件名输入。 b)不予理会,因为它不会影响程序。
文章出处:http://www.diybl.com/course/4_webprogram/asp.net/netjs/200822/98455.html
- arning LNK4089: all references to "USER32.dll" discarded by /OPT:REF
- 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
- 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调试警告)
- VC OPT:REF
- USER32.DLL SetLayeredWindowAttributes函数
- Windows API User32.dll
- User32.dll 函数
- Windows API User32.dll
- SVN Showlog no any logs issues
- vs2008调试c#网页时出现“加载配置文件时出错: 未能映射路径'/' "错误 .
- Oracle中Inventory目录作用以及如何重建此目录
- 哈夫曼编码
- 【将Win7系统用户配置文件换到其他盘】
- arning LNK4089: all references to "USER32.dll" discarded by /OPT:REF
- Android入门笔记之源码解析三
- java 多线程编程总结
- VMware Ubuntu NAT上网方式配置
- linux单独安装oracle客户端(instantclient)
- C++时间格式转换函数(字符串转整型)
- Android开发笔记——TCP/IP
- android基础--最基本的SQLite实例
- 旋转矩阵