unresolved external symbol 不知道是缺少什么类库
Linking...
LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs; use /NODEFAULTLIB:library
ChilkatRelSt.lib(ClsCert.obj) : error LNK2001: unresolved external symbol __imp__CertCreateSelfSignCertificate@32
ChilkatRelSt.lib(ClsCert.obj) : error LNK2001: unresolved external symbol __imp__CertStrToNameA@28
ChilkatRelSt.lib(ClsCertStore.obj) : error LNK2001: unresolved external symbol __imp__PFXExportCertStoreEx@20
CkBaseDbgDll.lib(CK_Crypt.obj) : error LNK2001: unresolved external symbol __imp__CryptSignMessage@28
CkBaseDbgDll.lib(CK_Crypt.obj) : error LNK2001: unresolved external symbol __imp__CryptEncodeObject@20
CkBaseDbgDll.lib(CK_Crypt.obj) : error LNK2001: unresolved external symbol __imp__CryptVerifyDetachedMessageSignature@32
CkBaseDbgDll.lib(CK_Crypt.obj) : error LNK2001: unresolved external symbol __imp__CertDuplicateCertificateContext@4
CkBaseDbgDll.lib(Certificate.obj) : error LNK2001: unresolved external symbol __imp__CertDuplicateCertificateContext@4
CkBaseDbgDll.lib(CertificateStore.obj) : error LNK2001: unresolved external symbol __imp__CertDuplicateCertificateContext@4
CkBaseDbgDll.lib(CK_Crypt.obj) : error LNK2001: unresolved external symbol __imp__CryptDecodeMessage@52
CkBaseDbgDll.lib(CK_Crypt.obj) : error LNK2001: unresolved external symbol __imp__CryptDecryptMessage@24
CkBaseDbgDll.lib(CK_Crypt.obj) : error LNK2001: unresolved external symbol __imp__CryptEncryptMessage@28
CkBaseDbgDll.lib(Certificate.obj) : error LNK2001: unresolved external symbol __imp__CertSetCertificateContextProperty@16
CkBaseDbgDll.lib(CertificateStore.obj) : error LNK2001: unresolved external symbol __imp__CertSetCertificateContextProperty@16
CkBaseDbgDll.lib(Certificate.obj) : error LNK2001: unresolved external symbol __imp__CertFreeCertificateContext@4
CkBaseDbgDll.lib(CertificateStore.obj) : error LNK2001: unresolved external symbol __imp__CertFreeCertificateContext@4
CkBaseDbgDll.lib(Certificate.obj) : error LNK2001: unresolved external symbol __imp__CertNameToStrA@20
CkBaseDbgDll.lib(CertificateStore.obj) : error LNK2001: unresolved external symbol __imp__CertDuplicateStore@4
CkBaseDbgDll.lib(CertificateStore.obj) : error LNK2001: unresolved external symbol __imp__CertCloseStore@8
CkBaseDbgDll.lib(CertificateStore.obj) : error LNK2001: unresolved external symbol __imp__CertSaveStore@24
CkBaseDbgDll.lib(CertificateStore.obj) : error LNK2001: unresolved external symbol __imp__CertDeleteCertificateFromStore@4
CkBaseDbgDll.lib(CertificateStore.obj) : error LNK2001: unresolved external symbol __imp__CertGetSubjectCertificateFromStore@12
CkBaseDbgDll.lib(Pfx.obj) : error LNK2001: unresolved external symbol __imp__PFXImportCertStore@12
CkBaseDbgDll.lib(Pfx.obj) : error LNK2001: unresolved external symbol __imp__PFXVerifyPassword@12
CkBaseDbgDll.lib(CryptoMsg.obj) : error LNK2001: unresolved external symbol __imp__CryptMsgClose@4
CkBaseDbgDll.lib(CryptoMsg.obj) : error LNK2001: unresolved external symbol __imp__CryptMsgGetParam@20
CkBaseDbgDll.lib(CryptoMsg.obj) : error LNK2001: unresolved external symbol __imp__CryptMsgUpdate@16
CkBaseDbgDll.lib(CryptoMsg.obj) : error LNK2001: unresolved external symbol __imp__CryptMsgOpenToDecode@24
CkBaseDbgDll.lib(SChannel.obj) : error LNK2001: unresolved external symbol __imp__CertOpenSystemStoreA@8
CkBaseDbgDll.lib(SChannel.obj) : error LNK2001: unresolved external symbol __imp__CertVerifyCertificateChainPolicy@16
CkBaseDbgDll.lib(ChilkatUrl_wininet.obj) : error LNK2001: unresolved external symbol __imp__InternetCombineUrlA@20
难道是缺少相应的.dll ?
如果我不添加以上lib,则会出现:
SftpUploadDlg.obj : error LNK2001: unresolved external symbol "public: bool __thiscall CkSFtp::CloseHandle(char const *)" (?CloseHandle@CkSFtp@@QAE_NPBD@Z)
SftpUploadDlg.obj : error LNK2001: unresolved external symbol "public: bool __thiscall CkSFtp::UploadFile(char const *,char const *)" (?UploadFile@CkSFtp@@QAE_NPBD0@Z)
SftpUploadDlg.obj : error LNK2001: unresolved external symbol "public: char const * __thiscall CkSFtp::openFile(char const *,char const *,char const *)" (?openFile@CkSFtp@@QAEPBDPBD00@Z)
SftpUploadDlg.obj : error LNK2001: unresolved external symbol "public: bool __thiscall CkSFtp::InitializeSftp(void)" (?InitializeSftp@CkSFtp@@QAE_NXZ)
SftpUploadDlg.obj : error LNK2001: unresolved external symbol "public: bool __thiscall CkSFtp::AuthenticatePw(char const *,char const *)" (?AuthenticatePw@CkSFtp@@QAE_NPBD0@Z)
SftpUploadDlg.obj : error LNK2001: unresolved external symbol "public: bool __thiscall CkSFtp::Connect(char const *,int)" (?Connect@CkSFtp@@QAE_NPBDH@Z)
SftpUploadDlg.obj : error LNK2001: unresolved external symbol "public: void __thiscall CkSFtp::put_IdleTimeoutMs(int)" (?put_IdleTimeoutMs@CkSFtp@@QAEXH@Z)
SftpUploadDlg.obj : error LNK2001: unresolved external symbol "public: void __thiscall CkSFtp::put_ConnectTimeoutMs(int)" (?put_ConnectTimeoutMs@CkSFtp@@QAEXH@Z)
SftpUploadDlg.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall CkString::~CkString(void)" (??1CkString@@UAE@XZ)
SftpUploadDlg.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall CkSFtp::~CkSFtp(void)" (??1CkSFtp@@UAE@XZ)
SftpUploadDlg.obj : error LNK2001: unresolved external symbol "public: void __thiscall CkString::append(char const *)" (?append@CkString@@QAEXPBD@Z)
SftpUploadDlg.obj : error LNK2001: unresolved external symbol "public: char const * __thiscall CkSFtp::lastErrorText(void)" (?lastErrorText@CkSFtp@@QAEPBDXZ)
SftpUploadDlg.obj : error LNK2001: unresolved external symbol "public: bool __thiscall CkSFtp::UnlockComponent(char const *)" (?UnlockComponent@CkSFtp@@QAE_NPBD@Z)
SftpUploadDlg.obj : error LNK2001: unresolved external symbol "public: __thiscall CkSFtp::CkSFtp(void)" (??0CkSFtp@@QAE@XZ)
SftpUploadDlg.obj : error LNK2001: unresolved external symbol "public: __thiscall CkString::CkString(void)" (??0CkString@@QAE@XZ)
请高手指点.
谢谢