VC6.0编译器中未解析的外部符号和安全检查错误,而不是Visual Studio C编译器 [英] unresolved external symbol and security check error in VC6.0 compiler not in visual studio C compiler
问题描述
大家好
我的代码有问题错误是
Hi All
I have problem in my code the errors are
libf2c.lib(wref.obj) : error LNK2001: unresolved external symbol ___security_cookie
libf2c.lib(endfile.obj) : error LNK2001: unresolved external symbol ___security_cookie
lapack.lib(ilaenv.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
libf2c.lib(open.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
libf2c.lib(wref.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
libf2c.lib(endfile.obj) : error LNK2001: unresolved external symbol
@__security_check_cookie@4
libf2c.lib(fmt.obj):错误LNK2001:未解析的外部符号__imp____iob_func
i在我的代码中使用libf2c.lib和lapack.lib。我没有这些lib文件的代码
通过调用它的不同函数我得到了这些安全cookie错误。如果我在Visual Studio 2008或Visual Studio 2010 C ++中使用这些lib文件,则不会出现这些错误。
以及
libf2c.lib(fmt.obj):错误LNK2001:未解析的外部符号__imp____iob_func
这个错误也出现在lib的任何功能上只有来自VC6.0
不在Visual Studio C ++中
如何解决问题我必须使用VC 6.0
不要更改编译器
Plz帮助
libf2c.lib(fmt.obj) : error LNK2001: unresolved external symbol __imp____iob_func
i am using "libf2c.lib" and "lapack.lib" in my code . i dont have the code of these lib files
by calling its different functions i got these security cookie errors . these errors do not come if i use these lib files in the Visual studio 2008 or visual studio 2010 C++.
and also
libf2c.lib(fmt.obj) : error LNK2001: unresolved external symbol __imp____iob_func
this error also come on any function of lib only come in VC6.0
not in visual studio C++
how to resolve the issue i have to use VC 6.0
not change the compiler
Plz Help
推荐答案
这些库可能是用VC 2008构建的(如下所示: http://icl.cs.utk.edu/lapack-for-windows/clapack/ [ ^ ])。因此它们不能与较旧的VC版本一起使用。
解决方案是使用VC 6重建库(参见上面的链接)。但可能需要编辑VC6的项目文件。
The libraries were probably build with VC 2008 (as noted here: http://icl.cs.utk.edu/lapack-for-windows/clapack/[^]). So they can't be used with an older VC version.
The solution is to rebuild the libraries with VC 6 (see the above link). But it may be necessary to edit the project file for VC6.
这篇关于VC6.0编译器中未解析的外部符号和安全检查错误,而不是Visual Studio C编译器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!