当前位置: 代码迷 >> VC >> LNK 2019和2001的有关问题
  详细解决方案

LNK 2019和2001的有关问题

热度:9967   发布时间:2013-02-25 00:00:00.0
LNK 2019和2001的问题
不知道怎么搞的,折腾了好久了,无奈啊!~
总是出现这2个错误。我把错误信息截下来了,请大家帮忙看看!非常感谢!
 正在编译...
benchmark.cpp
black_layered.cpp
buildtime.cpp
Clipboard.cpp
CpuUsage.cpp
dh.cpp
DSMPlugin.cpp
Dtwinver.cpp
getinfo.cpp
helpers.cpp
HideDesktop.cpp
httpconnect.cpp
inifile.cpp
initipp.cpp
IPC.cpp
read_write_ini.cpp
rfbRegion_win32.cpp
e:\ultravnc\winvnc\winvnc\rfbregion_win32.cpp(105) : warning C4800: “BOOL”: 将值强制为布尔值“true”或“false”(性能警告)
rfbRegion_X11.cxx
rfbUpdateTracker.cpp
security.cpp
正在生成代码...
正在编译...
service.cpp
service_motor.cpp
stdhdrs.cpp
TextChat.cpp
translate.cpp
videodriver.cpp
videodrivercheck.cpp
vistahook.cpp
vncabout.cpp
vncacceptdialog.cpp
vncbuffer.cpp
vncclient.cpp
e:\ultravnc\winvnc\winvnc\vncclient.cpp(226) : warning C4996: 'std::copy': Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators'
  d:\program files\microsoft visual studio 9.0\vc\include\xutility(2550) : 参见“std::copy”的声明
e:\ultravnc\winvnc\winvnc\vncclient.cpp(2546) : warning C4018: “<”: 有符号/无符号不匹配
e:\ultravnc\winvnc\winvnc\vncclient.cpp(2547) : warning C4018: “<”: 有符号/无符号不匹配
e:\ultravnc\winvnc\winvnc\vncclient.cpp(2548) : warning C4018: “>”: 有符号/无符号不匹配
e:\ultravnc\winvnc\winvnc\vncclient.cpp(2549) : warning C4018: “>”: 有符号/无符号不匹配
vncconndialog.cpp
vncdesktop.cpp
e:\ultravnc\winvnc\winvnc\vncdesktop.cpp(2424) : warning C4805: “!=”: 在操作中将类型“int”与类型“bool”混合不安全
e:\ultravnc\winvnc\winvnc\vncdesktop.cpp(2424) : warning C4805: “!=”: 在操作中将类型“int”与类型“bool”混合不安全
e:\ultravnc\winvnc\winvnc\vncdesktop.cpp(2444) : warning C4800: “int”: 将值强制为布尔值“true”或“false”(性能警告)
vncdesktopsink.cpp
vncDesktopSW.cpp
vncdesktopthread.cpp
e:\ultravnc\winvnc\winvnc\vncdesktopthread.cpp(396) : warning C4805: “!=”: 在操作中将类型“int”与类型“bool”混合不安全
vncencodecorre.cpp
vncencodehext.cpp
vncencoder.cpp
正在生成代码...
正在编译...
vncencoderCursor.cpp
vncencoderre.cpp
vncEncodeTight.cpp
vncEncodeUltra.cpp
vncEncodeUltra2.cpp
vncEncodeZlib.cpp
vncEncodeZlibHex.cpp
vncencodezrle.cpp
vnchttpconnect.cpp
vncinsthandler.cpp
vnckeymap.cpp
vncListDlg.cpp
vnclog.cpp
vncmenu.cpp
vncMultiMonitor.cpp
vncntlm.cpp
vncOSVersion.cpp
vncproperties.cpp
vncpropertiesPoll.cpp
vncserver.cpp
正在生成代码...
正在编译...
vncservice.cpp
vncsetauth.cpp
vncsockconnect.cpp
vnctimedmsgbox.cpp
vsocket.cpp
win32_helpers.cpp
winvnc.cpp
ZipUnzip32.cpp
正在生成代码...
正在编译...
d3des.c
minilzo.c
vncauth.c
正在生成代码...
正在编译资源...
Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
Copyright (C) Microsoft Corporation. All rights reserved.
正在执行预链接事件...
buildtime.cpp
正在编译资源清单...
Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
Copyright (C) Microsoft Corporation. All rights reserved.
正在链接...
vncclient.obj : error LNK2019: 无法解析的外部符号 _compress,该符号在函数 "protected: int __thiscall vncClient::SendCacheZip(class std::vector > const &)" (?SendCacheZip@vncClient@@IAEHABV?$vector@URect@rfb@@V?$allocator@URect@rfb@@@std@@@std@@@Z) 中被引用
vncEncodeZlib.obj : error LNK2001: 无法解析的外部符号 _compress
vncclient.obj : error LNK2019: 无法解析的外部符号 _adler32,该符号在函数 "public: int __thiscall vncClient::GenerateFileChecksums(void *,char *,int)" (?GenerateFileChecksums@vncClient@@QAEHPAXPADH@Z) 中被引用
vncclient.obj : error LNK2019: 无法解析的外部符号 _uncompress,该符号在函数 "public: bool __thiscall vncClient::ReceiveFileChunk(int,int)" (?ReceiveFileChunk@vncClient@@QAE_NHH@Z) 中被引用
vncEncodeTight.obj : error LNK2019: 无法解析的外部符号 _deflateEnd,该符号在函数 "public: virtual __thiscall vncEncodeTight::~vncEncodeTight(void)" (??1vncEncodeTight@@UAE@XZ) 中被引用