저는 Chilkat 라이브러리를 사용하여 C++ 프로그램을 작성하고 있습니다. 다음과 같이 나는이 프로젝트에 전체 라이브러리를 연결 한 :Visual Studio Professional 2010의 라이브러리 연결
project > properties > C/C++ > General > Additional Include Directories > C:\chilkat\include (That's where I have the library)
및 lib 디렉토리 파일, 실행의 다른 종류 각 4 종류와 함께
project > properties > Linker > Input > Additional Dependencies > ... C:\chilkat\libs\ChilkatDbgDll.lib; ...
Chilkat 라이브러리를, 그래서 사용 내 프로젝트 (멀티 스레드 디버그 DLL)에 가장 적합한 .lib.
1>------ Build started: Project: botnet, Configuration: Debug Win32 ------
1>Build started 28.08.2013 20:47:29.
1>InitializeBuildStatus:
1> Touching "Debug\botnet.unsuccessfulbuild".
1>ClCompile:
1> botnet.cpp
1>ChilkatDbgDll.lib(ChilkatSocket.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: void __thiscall ChilkatSocket::logSocketOptions(class LogBase &)" ([email protected]@@[email protected]@@Z)
1>ChilkatDbgDll.lib(ChilkatSocket.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "private: void __thiscall ChilkatSocket::checkSetBufSizes(class LogBase &)" ([email protected]@@[email protected]@@Z)
1>ChilkatDbgDll.lib(ChilkatSocket.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "private: bool __thiscall ChilkatSocket::acceptNextConnection2(class ChilkatSocket &,bool,unsigned int,class LogBase &,bool &)" ([email protected]@@[email protected][email protected]@[email protected])
1>ChilkatDbgDll.lib(ChilkatSocket.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: void __thiscall ChilkatSocket::setNonBlocking(void)" ([email protected]@@QAEXXZ)
1>ChilkatDbgDll.lib(ChilkatSocket.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "private: bool __thiscall ChilkatSocket::createSocket_ipv4(class LogBase &,bool)" ([email protected]@@[email protected]@[email protected])
1>ChilkatDbgDll.lib(ChilkatSocket.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "private: bool __thiscall ChilkatSocket::createSocket_ipv4(class LogBase &,bool)" ([email protected]@@[email protected]@[email protected])
1>ChilkatDbgDll.lib(ChilkatSocket.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "bool __cdecl startupWSA(class LogBase &)" ([email protected]@[email protected]@@Z)
1>ChilkatDbgDll.lib(ChilkatSocket.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "private: bool __thiscall ChilkatSocket::ck_getsockname_ipv4(class chilkat::StringBuffer &,int &,class LogBase &)" ([email protected]@@[email protected]@@[email protected]@@Z)
1>ChilkatDbgDll.lib(ChilkatSocket.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "private: bool __thiscall ChilkatSocket::ck_getsockname_ipv4(class chilkat::StringBuffer &,int &,class LogBase &)" ([email protected]@@[email protected]@@[email protected]@@Z)
1>ChilkatDbgDll.lib(ChilkatSocket.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "private: bool __thiscall ChilkatSocket::ck_getsockname_ipv4(class chilkat::StringBuffer &,int &,class LogBase &)" ([email protected]@@[email protected]@@[email protected]@@Z)
1>ChilkatDbgDll.lib(ChilkatSocket.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "struct hostent * __cdecl ck_gethostbyname(char const *,class LogBase &)" ([email protected]@[email protected]@[email protected]@@Z)
1>ChilkatDbgDll.lib(HostnameResolve.obj) : error LNK2001: unresolved external symbol [email protected]
1>ChilkatDbgDll.lib(ChilkatSocket.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall ChilkatSocket::GetPeerName(class chilkat::StringBuffer &,int &)" ([email protected]@@[email protected]@@[email protected])
1>ChilkatDbgDll.lib(ChilkatSocket.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: static bool __cdecl ChilkatSocket::isDottedIpAddress(char const *)" ([email protected]@@[email protected])
1>ChilkatDbgDll.lib(ChilkatSocket.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: static bool __cdecl ChilkatSocket::isDottedIpAddress(char const *)" ([email protected]@@[email protected])
1>ChilkatDbgDll.lib(ChilkatSocket.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "private: bool __thiscall ChilkatSocket::connectSocket2_ipv4(char const *,int,unsigned int,class LogBase &,class ProgressMonitor *,bool &)" ([email protected]@@[email protected]@[email protected]@[email protected])
1>ChilkatDbgDll.lib(ChilkatSocket.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall ChilkatSocket::waitWriteable2(unsigned int,class LogBase &)" ([email protected]@@[email protected]@@Z)
1>ChilkatDbgDll.lib(ChilkatSocket.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall ChilkatSocket::waitWriteableMs2(unsigned int,bool,class SocketParams &,class LogBase &)" ([email protected]@@[email protected]@[email protected]@@Z)
1>ChilkatDbgDll.lib(ChilkatSocket.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "private: bool __thiscall ChilkatSocket::bindSysCall2(void *,int,class LogBase &)" ([email protected]@@[email protected]@@Z)
1>ChilkatDbgDll.lib(ChilkatSocket.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall ChilkatSocket::listenOnPort(int &,int,bool,class LogBase &)" ([email protected]@@[email protected]@@Z)
1>ChilkatDbgDll.lib(ChilkatSocket.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "private: static bool __cdecl ChilkatSocket::getLocalHostName_inner(class chilkat::StringBuffer &,class LogBase &)" ([email protected]@@[email protected]@@[email protected]@@Z)
1>ChilkatDbgDll.lib(ChilkatSocket.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall ChilkatSocket::NewSocketAndListen(bool,class LogBase &)" ([email protected]@@[email protected]@@Z)
1>ChilkatDbgDll.lib(ChilkatSocket.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall ChilkatSocket::NewSocketAndListen(bool,class LogBase &)" ([email protected]@@[email protected]@@Z)
1>ChilkatDbgDll.lib(ChilkatSocket.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall ChilkatSocket::IsConnected(class LogBase &)" ([email protected]@@[email protected]@@Z)
1>ChilkatDbgDll.lib(ChilkatSocket.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall ChilkatSocket::SendBytes2(unsigned char const *,unsigned int,unsigned int,unsigned int,class LogBase &,class SocketParams &)" ([email protected]@@[email protected]@[email protected]@@Z)
1>ChilkatDbgDll.lib(MsCertificate.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: int __thiscall MsCertificate::checkRevoked(class LogBase &)" ([email protected]@@[email protected]@@Z)
1>ChilkatDbgDll.lib(MsCertificate.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: void __thiscall MsCertificate::dotNetDispose(void)" ([email protected]@@QAEXXZ)
1>ChilkatDbgDll.lib(CertificateStore.obj) : error LNK2001: unresolved external symbol [email protected]
1>ChilkatDbgDll.lib(_ckMsCrypto.obj) : error LNK2001: unresolved external symbol [email protected]
1>ChilkatDbgDll.lib(MsCertificate.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "void __cdecl _getCertNameStr(struct _CRYPTOAPI_BLOB *,unsigned long,class XString &)" ([email protected]@[email protected]@[email protected]@@Z)
1>ChilkatDbgDll.lib(MsCertificate.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: __thiscall MsCertificate::MsCertificate(struct _CERT_CONTEXT const *,bool,class LogBase &)" ([email protected]@[email protected][email protected]@[email protected]@@Z)
1>ChilkatDbgDll.lib(CertificateStore.obj) : error LNK2001: unresolved external symbol [email protected]
1>ChilkatDbgDll.lib(MsCertificate.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall MsCertificate::linkPrivateKey(class XString &,bool,bool,class LogBase &)" ([email protected]@@[email protected]@[email protected]@@Z)
1>ChilkatDbgDll.lib(CertificateStore.obj) : error LNK2001: unresolved external symbol [email protected]
1>ChilkatDbgDll.lib(MsCertificate.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: static void __cdecl MsCertificate::getRfc822NameFromContext(struct _CERT_CONTEXT const *,class XString &)" ([email protected]@@[email protected]@[email protected]@@Z)
1>ChilkatDbgDll.lib(MsCertificate.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: unsigned int __thiscall MsCertificate::getIntendedKeyUsage(void)" ([email protected]@@QAEIXZ)
1>ChilkatDbgDll.lib(MsCertificate.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "private: bool __thiscall MsCertificate::getKeyProviderInfo(int,class LogBase &)" ([email protected]@@[email protected]@@Z)
1>ChilkatDbgDll.lib(_ckMsCrypto.obj) : error LNK2001: unresolved external symbol [email protected]
1>ChilkatDbgDll.lib(MsCertificate.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: static class MsCertificate * __cdecl MsCertificate::createFromDer(unsigned char const *,unsigned int,class LogBase &)" ([email protected]@@[email protected]@@@Z)
1>ChilkatDbgDll.lib(CertificateStore.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: class CertificateStore * __thiscall CertificateStore::dupStore(class LogBase *)" ([email protected]@@[email protected]@@@Z)
1>ChilkatDbgDll.lib(CertificateStore.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "private: void __thiscall CertificateStore::deleteKeyContainers(void)" ([email protected]@@AAEXXZ)
1>ChilkatDbgDll.lib(CertificateStore.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: void __thiscall CertificateStore::dotNetDispose(void)" ([email protected]@@QAEXXZ)
1>ChilkatDbgDll.lib(_ckMsCrypto.obj) : error LNK2001: unresolved external symbol [email protected]
1>ChilkatDbgDll.lib(CertificateStore.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: static class CertificateStore * __cdecl CertificateStore::createMemoryStore(class LogBase *)" ([email protected]@@[email protected]@@@Z)
1>ChilkatDbgDll.lib(_ckMsCrypto.obj) : error LNK2001: unresolved external symbol [email protected]
1>ChilkatDbgDll.lib(CertificateStore.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: class MsCertificate * __thiscall CertificateStore::findIssuer(class MsCertificate &,class LogBase &,bool)" ([email protected]@@[email protected]@[email protected]@@[email protected])
1>ChilkatDbgDll.lib(CertificateStore.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall CertificateStore::addEncodedCertificateUtf8(char const *,class LogBase &)" ([email protected]@@[email protected]@@Z)
1>ChilkatDbgDll.lib(CertificateStore.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall CertificateStore::addCertWithPrivateKey(class MsCertificate &,class XString &,bool,class LogBase &,bool)" ([email protected]@@[email protected]@[email protected]@[email protected]@[email protected])
1>ChilkatDbgDll.lib(CertificateStore.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "private: bool __thiscall CertificateStore::saveCertStore(class LogBase &)" ([email protected]@@[email protected]@@Z)
1>ChilkatDbgDll.lib(CertificateStore.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall CertificateStore::removeCertificate(class MsCertificate *,class LogBase &)" ([email protected]@@[email protected]@[email protected]@@Z)
1>ChilkatDbgDll.lib(CertificateStore.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: class MsCertificate * __thiscall CertificateStore::findCertificate(struct _CERT_INFO *)" ([email protected]@@[email protected]@[email protected]@@Z)
1>ChilkatDbgDll.lib(_ckMsCrypto.obj) : error LNK2001: unresolved external symbol [email protected]
1>ChilkatDbgDll.lib(_ckMsCrypto.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "private: static bool __cdecl _ckMsCrypto::msDecryptInnerAlt(class DataBuffer const &,class DataBuffer &,class Certificate * *,class LogBase &)" ([email protected][email protected]@[email protected]@[email protected]@@[email protected]@@Z)
1>ChilkatDbgDll.lib(_ckMsCrypto.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "private: static bool __cdecl _ckMsCrypto::msDecryptInnerAlt(class DataBuffer const &,class DataBuffer &,class Certificate * *,class LogBase &)" ([email protected][email protected]@[email protected]@[email protected]@@[email protected]@@Z)
1>ChilkatDbgDll.lib(_ckMsCrypto.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "private: static bool __cdecl _ckMsCrypto::msDecryptInnerAlt(class DataBuffer const &,class DataBuffer &,class Certificate * *,class LogBase &)" ([email protected][email protected]@[email protected]@[email protected]@@[email protected]@@Z)
1>ChilkatDbgDll.lib(_ckMsCrypto.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "private: static bool __cdecl _ckMsCrypto::msDecryptInnerAlt(class DataBuffer const &,class DataBuffer &,class Certificate * *,class LogBase &)" ([email protected][email protected]@[email protected]@[email protected]@@[email protected]@@Z)
1>ChilkatDbgDll.lib(_ckMsCrypto.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "private: static bool __cdecl _ckMsCrypto::msDecryptInnerAlt(class DataBuffer const &,class DataBuffer &,class Certificate * *,class LogBase &)" ([email protected][email protected]@[email protected]@[email protected]@@[email protected]@@Z)
1>ChilkatDbgDll.lib(_ckMsCrypto.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "private: static bool __cdecl _ckMsCrypto::msDecryptInner(class DataBuffer const &,class DataBuffer &,class Certificate * *,class LogBase &)" ([email protected][email protected]@[email protected]@[email protected]@@[email protected]@@Z)
1>ChilkatDbgDll.lib(_ckMsCrypto.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: static bool __cdecl _ckMsCrypto::msCryptoSignature(class CryptoSettings2 &,class Certificate &,bool,class SystemCerts &,unsigned char const *,unsigned int,int,class DataBuffer &,class LogBase &)" ([email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@Z)
1>ChilkatDbgDll.lib(_ckMsCrypto.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: static bool __cdecl _ckMsCrypto::msCryptoSignature(class CryptoSettings2 &,class Certificate &,bool,class SystemCerts &,unsigned char const *,unsigned int,int,class DataBuffer &,class LogBase &)" ([email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@Z)
1>ChilkatDbgDll.lib(_ckMsCrypto.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "private: static bool __cdecl _ckMsCrypto::msVerifySignatureInner(class CryptoSettings2 &,class DataBuffer const &,class DataBuffer &,class ExtPtrArray &,class LogBase &)" ([email protected][email protected]@[email protected]@[email protected]@[email protected]@@[email protected]@@Z)
1>ChilkatDbgDll.lib(_ckMsCrypto.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "private: static bool __cdecl _ckMsCrypto::msVerifyDetachedSignatureInner(class CryptoSettings2 &,class DataBuffer const &,unsigned char const *,unsigned long,class ExtPtrArray &,class LogBase &)" ([email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@Z)
1>ChilkatDbgDll.lib(_ckMsCrypto.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "private: static bool __cdecl _ckMsCrypto::msEncryptInner(class CryptoSettings2 &,unsigned char const *,unsigned long,class DataBuffer &,class ExtPtrArray &,class LogBase &)" ([email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@Z)
1>c:\users\simboyd\documents\visual studio 2010\Projects\botnet\Debug\botnet.exe : fatal error LNK1120: 54 unresolved externals
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:01.33
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
어떤 생각 방법이 문제를 해결하려면 다음이
망할 것은 여전히 나에게 준다? 미리 감사드립니다. 추가 종속성 (링커> 입력)에 Crypt32.lib 및 ws2_32.lib를 추가 누군가가 내가 그것을 해결하는 방법을 궁금해하는 경우
.
추가 라이브러리와 함께 Chilkat 종속성 인 winsock (ws_32.lib)으로 연결해야합니다. – Jarod42
오류 메시지에 ws_32.lib을 찾을 수 없다고 표시됩니다. 내가 어디서 구할 수 있는지 생각해? – simboyd