VS2010 在编译一个驱动时出现无法解析的外部符号 的解决方法
来源:互联网 发布:坛水墨水官网淘宝 编辑:程序博客网 时间:2024/04/29 08:26
今天在用VS2010编译一个驱动时出现 :
1>MSVCRT.LIB(gs_report.obj) : error LNK2019: 无法解析的外部符号 __imp__TerminateProcess@8,该符号在函数 ___report_gsfailure 中被引用 1>MSVCRT.LIB(gs_report.obj) : error LNK2019: 无法解析的外部符号 __imp__GetCurrentProcess@0,该符号在函数 ___report_gsfailure 中被引用 1>MSVCRT.LIB(gs_report.obj) : error LNK2019: 无法解析的外部符号 __imp__UnhandledExceptionFilter@4,该符号在函数 ___report_gsfailure 中被引用 1>MSVCRT.LIB(gs_report.obj) : error LNK2019: 无法解析的外部符号 __imp__SetUnhandledExceptionFilter@4,该符号在函数 ___report_gsfailure 中被引用 1>MSVCRT.LIB(gs_report.obj) : error LNK2019: 无法解析的外部符号 __imp__IsDebuggerPresent@0,该符号在函数 ___report_gsfailure 中被引用
从上面看是引用的MSVCRT.LIB出现冲突,于是把VS2010里链接器 下面的 附加依赖库 中的 MSVCRT.LIB 去掉后编译出现如下错误:
1>wdmsec.lib(chandler4.obj) : error LNK2019: 无法解析的外部符号 @__security_check_cookie@4,该符号在函数 _ValidateLocalCookies 中被引用
1>wdmsec.lib(exsup4.obj) : error LNK2001: 无法解析的外部符号 @__security_check_cookie@4采用WDK编译 发现编译正常,经对比WDK编译生成的LOG文件,发现调用了BufferOverflowK.lib 和sehupd.lib 这个库,把这两个库加到附加依赖库里再次编译,没有出再无法解析的外部符号.
- VS2010 在编译一个驱动时出现无法解析的外部符号 的解决方法
- 在编译时出现无法解析的外部符号Cxx::AssertValid(void)const的解决方法
- 编译时出现错误:无法解析的外部符号
- 关于vs2010 C++编译链接总是出现“LNK:2019 无法解析的外部符号”的问题
- VS2010中error LNK2001无法解析的外部符号解决方法
- c++编译中无法解析外部符号的解决方法
- vs2010:无法解析的外部符号 _main
- VS2010 提示无法解析的外部符号
- QT+VS2008编译出现errorLNK2001:无法解析的外部符号
- DirectX在VS2015上编译时遇到“无法解析的外部符号 __vsnwprintf”的解决方法及原因
- vs2010+qt4编译出现error LNK2001: 无法解析的外部符号 "public: virtual struct QMetaObject等错误
- 无法解析的外部符号 的解决方法
- 使用动态库时出现,error LNK2019 无法解析的外部符号可能的解决方法。
- 无法解析的外部符号 _cvCreateGaussianBGModel解决方法
- 无法解析的外部符号解决方法汇总
- 无法解析的外部符号 __imp__waveOutOpen解决方法
- 无法解析的外部符号 _Netbios解决方法
- 出现错误:无法解析的外部符号
- 新做了几个网站,欢迎光顾
- JavaWeb:Tomcat下配置数据源(JNDI)连接数据库
- SQL Server 清除用户名和密码
- java ,String分割字符串
- uname -r
- VS2010 在编译一个驱动时出现无法解析的外部符号 的解决方法
- 穷举
- C# MD5加密简易算法
- 请正确写出下面每个函数的输出是什么
- fifaonline3 操作备忘
- 回归
- 如何析构被引用的对象
- oracle解决连接池不足
- 血型统计