否......“错误LNK2001:未解析的外部符号” [英] No..."error LNK2001:unresolved external symbol "

查看:56
本文介绍了否......“错误LNK2001:未解析的外部符号”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从 XZip和XUnzip - 添加zip和/或解压缩到你的应用程序,没有额外的.lib或.dll [ ^ ]



但是当我将它们添加到我的项目中时,我得到了:



 1> XZip.obj:错误 LNK2001 :: unresolved external symbol _stricmp 
1> XZip.obj:错误 LNK2001 :: unresolved external符号_tzset





我已搜索了很长时间,但我无法得到任何帮助...

解决方案

VS 2008中已经更改了许多与字符串相关的C函数,特别是那些导致错误的内部函数。该lib的最新版本仅支持2005.因此您可能需要转换XZip文件并手动调整字符串函数调用。



这就是说,它可能更好你在该文章的页面上代表该请求发布请求。作者可能会给你更简洁的说明,或者他可能会自己解决。


检查此链接。这可能是原因



324079-为什么不能编译 [ ^ ]

i downloaded a source code from XZip and XUnzip - Add zip and/or unzip to your app with no extra .lib or .dll[^]

but when i added them to my project ,i got:

1>XZip.obj : error LNK2001: :unresolved external symbol _stricmp
1>XZip.obj : error LNK2001: :unresolved external symbol _tzset



I have searched for a long time ,but i can't get anything helpful...

解决方案

Many string related C functions have been changed in VS 2008, specifically the internal ones like those causing your errors. The newest version of that lib supports only 2005. So you probably need to convert the XZip files and adapt the string function calls manually.

That said, it's probably better you post a request on that behalf on the page of that article. The author may be able to give you more concise instructions, or maybe he'll fix it himself.


Check this link. This could be the reason

324079-Why cant this Compile[^]


这篇关于否......“错误LNK2001:未解析的外部符号”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆