I'm getting massive link errors during compiling the latest source on Windows 8.1 64bit with VS 13. I guess there is a problem with OpenSSL, but I can't figure out where and why. Do I have to set some enviroment variables for OpenSSL?
16>TOTP.obj : error LNK2019: unresolved external symbol "EVP_sha1" in function ""unsigned int __cdecl TOTP::GenerateToken(char const *)" (?GenerateToken@TOTP@@YAIPEBD@Z)".
16>TOTP.obj : error LNK2019: unresolved external symbol "HMAC" in function ""unsigned int __cdecl TOTP::GenerateToken(char const *)" (?GenerateToken@TOTP@@YAIPEBD@Z)".
16>AuthSession.obj : error LNK2019: unresolved external symbol "CRYPTO_free" in function ""private: bool __cdecl AuthSession::HandleLogonProof(void)" (?HandleLogonProof@AuthSession@@AEAA_NXZ)".
16>Main.obj : error LNK2019: unresolved external symbol "SSLeay_version" in function "main".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_CTX_new" in function ""public: class BigNumber __cdecl BigNumber::operator*=(class BigNumber const &)" (??XBigNumber@@QEAA?AV0@AEBV0@@Z)".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_CTX_free" in function ""public: class BigNumber __cdecl BigNumber::operator*=(class BigNumber const &)" (??XBigNumber@@QEAA?AV0@AEBV0@@Z)".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_rand" in function ""public: void __cdecl BigNumber::SetRand(int)" (?SetRand@BigNumber@@QEAAXH@Z)".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_num_bits" in function ""public: class std::unique_ptr<unsigned char [0],struct std::default_delete<unsigned char [0]> > __cdecl BigNumber::AsByteArray(int,bool)" (?AsByteArray@BigNumber@@QEAA?AV?$unique_ptr@$$BY0A@EU?$default_delete@$$BY0A@E@std@@@std@@H_N@Z)".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_new" in function ""public: __cdecl BigNumber::BigNumber(unsigned int)" (??0BigNumber@@QEAA@I@Z)".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_copy" in function ""public: class BigNumber & __cdecl BigNumber::operator=(class BigNumber const &)" (??4BigNumber@@QEAAAEAV0@AEBV0@@Z)".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_bin2bn" in function ""public: void __cdecl BigNumber::SetBinary(unsigned char const *,int)" (?SetBinary@BigNumber@@QEAAXPEBEH@Z)".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_bn2bin" in function ""public: class std::unique_ptr<unsigned char [0],struct std::default_delete<unsigned char [0]> > __cdecl BigNumber::AsByteArray(int,bool)" (?AsByteArray@BigNumber@@QEAA?AV?$unique_ptr@$$BY0A@EU?$default_delete@$$BY0A@E@std@@@std@@H_N@Z)".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_sub" in function ""public: class BigNumber __cdecl BigNumber::operator-=(class BigNumber const &)" (??ZBigNumber@@QEAA?AV0@AEBV0@@Z)".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_add" in function ""public: class BigNumber __cdecl BigNumber::operator+=(class BigNumber const &)" (??YBigNumber@@QEAA?AV0@AEBV0@@Z)".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_mul" in function ""public: class BigNumber __cdecl BigNumber::operator*=(class BigNumber const &)" (??XBigNumber@@QEAA?AV0@AEBV0@@Z)".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_div" in function ""public: class BigNumber __cdecl BigNumber::operator/=(class BigNumber const &)" (??_0BigNumber@@QEAA?AV0@AEBV0@@Z)".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_add_word" in function ""public: void __cdecl BigNumber::SetQword(unsigned __int64)" (?SetQword@BigNumber@@QEAAX_K@Z)".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_set_word" in function ""public: __cdecl BigNumber::BigNumber(unsigned int)" (??0BigNumber@@QEAA@I@Z)".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_get_word" in function ""public: unsigned int __cdecl BigNumber::AsDword(void)" (?AsDword@BigNumber@@QEAAIXZ)".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_free" in function ""public: __cdecl BigNumber::~BigNumber(void)" (??1BigNumber@@QEAA@XZ)".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_lshift" in function ""public: void __cdecl BigNumber::SetQword(unsigned __int64)" (?SetQword@BigNumber@@QEAAX_K@Z)".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_exp" in function ""public: class BigNumber __cdecl BigNumber::Exp(class BigNumber const &)" (?Exp@BigNumber@@QEAA?AV1@AEBV1@@Z)".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_mod_exp" in function ""public: class BigNumber __cdecl BigNumber::ModExp(class BigNumber const &,class BigNumber const &)" (?ModExp@BigNumber@@QEAA?AV1@AEBV1@0@Z)".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_dup" in function ""public: __cdecl BigNumber::BigNumber(class BigNumber const &)" (??0BigNumber@@QEAA@AEBV0@@Z)".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_bn2hex" in function ""public: char * __cdecl BigNumber::AsHexStr(void)const " (?AsHexStr@BigNumber@@QEBAPEADXZ)".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_bn2dec" in function ""public: char * __cdecl BigNumber::AsDecStr(void)const " (?AsDecStr@BigNumber@@QEBAPEADXZ)".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_hex2bn" in function ""public: void __cdecl BigNumber::SetHexStr(char const *)" (?SetHexStr@BigNumber@@QEAAXPEBD@Z)".
16>shared.lib(SHA1.obj) : error LNK2019: unresolved external symbol "SHA1_Init" in function ""public: __cdecl SHA1Hash::SHA1Hash(void)" (??0SHA1Hash@@QEAA@XZ)".
16>shared.lib(SHA1.obj) : error LNK2019: unresolved external symbol "SHA1_Update" in function ""public: void __cdecl SHA1Hash::UpdateBigNumbers(class BigNumber *,...)" (?UpdateBigNumbers@SHA1Hash@@QEAAXPEAVBigNumber@@ZZ)".
16>shared.lib(SHA1.obj) : error LNK2019: unresolved external symbol "SHA1_Final" in function ""public: void __cdecl SHA1Hash::Finalize(void)" (?Finalize@SHA1Hash@@QEAAXXZ)".
16>C:trinitybuildbinReleaseauthserver.exe : fatal error LNK1120: 30 nicht aufgelöste Externe
19>Main.obj : error LNK2019: unresolved external symbol "SSLeay_version" in function "main".
19>game.lib(AddonMgr.obj) : error LNK2019: unresolved external symbol "MD5" in function ""void __cdecl AddonMgr::LoadFromDB(void)" (?LoadFromDB@AddonMgr@@YAXXZ)".
19>game.lib(Warden.obj) : error LNK2019: unresolved external symbol "SHA1" in function ""public: static unsigned int __cdecl Warden::BuildChecksum(unsigned char const *,unsigned int)" (?BuildChecksum@Warden@@SAIPEBEI@Z)".
19>game.lib(WardenWin.obj) : error LNK2019: unresolved external symbol "MD5_Init" in function ""public: virtual struct ClientWardenModule * __cdecl WardenWin::GetModuleForClient(void)" (?GetModuleForClient@WardenWin@@UEAAPEAUClientWardenModule@@XZ)".
19>game.lib(WardenWin.obj) : error LNK2019: unresolved external symbol "MD5_Update" in function ""public: virtual struct ClientWardenModule * __cdecl WardenWin::GetModuleForClient(void)" (?GetModuleForClient@WardenWin@@UEAAPEAUClientWardenModule@@XZ)".
19>game.lib(WardenWin.obj) : error LNK2019: unresolved external symbol "MD5_Final" in function ""public: virtual struct ClientWardenModule * __cdecl WardenWin::GetModuleForClient(void)" (?GetModuleForClient@WardenWin@@UEAAPEAUClientWardenModule@@XZ)".
19>shared.lib(OpenSSLCrypto.obj) : error LNK2019: unresolved external symbol "CRYPTO_num_locks" in function ""void __cdecl OpenSSLCrypto::threadsCleanup(void)" (?threadsCleanup@OpenSSLCrypto@@YAXXZ)".
19>shared.lib(OpenSSLCrypto.obj) : error LNK2019: unresolved external symbol "CRYPTO_set_locking_callback" in function ""void __cdecl OpenSSLCrypto::threadsCleanup(void)" (?threadsCleanup@OpenSSLCrypto@@YAXXZ)".
19>shared.lib(OpenSSLCrypto.obj) : error LNK2019: unresolved external symbol "CRYPTO_THREADID_set_numeric" in function ""void __cdecl threadIdCallback(struct crypto_threadid_st *)" (?threadIdCallback@@YAXPEAUcrypto_threadid_st@@@Z)".
19>shared.lib(OpenSSLCrypto.obj) : error LNK2019: unresolved external symbol "CRYPTO_THREADID_set_callback" in function ""void __cdecl OpenSSLCrypto::threadsCleanup(void)" (?threadsCleanup@OpenSSLCrypto@@YAXXZ)".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_CTX_new" in function ""public: class BigNumber __cdecl BigNumber::operator*=(class BigNumber const &)" (??XBigNumber@@QEAA?AV0@AEBV0@@Z)".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_CTX_free" in function ""public: class BigNumber __cdecl BigNumber::operator*=(class BigNumber const &)" (??XBigNumber@@QEAA?AV0@AEBV0@@Z)".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_rand" in function ""public: void __cdecl BigNumber::SetRand(int)" (?SetRand@BigNumber@@QEAAXH@Z)".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_num_bits" in function ""public: class std::unique_ptr<unsigned char [0],struct std::default_delete<unsigned char [0]> > __cdecl BigNumber::AsByteArray(int,bool)" (?AsByteArray@BigNumber@@QEAA?AV?$unique_ptr@$$BY0A@EU?$default_delete@$$BY0A@E@std@@@std@@H_N@Z)".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_new" in function ""public: __cdecl BigNumber::BigNumber(unsigned int)" (??0BigNumber@@QEAA@I@Z)".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_copy" in function ""public: class BigNumber & __cdecl BigNumber::operator=(class BigNumber const &)" (??4BigNumber@@QEAAAEAV0@AEBV0@@Z)".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_bin2bn" in function ""public: void __cdecl BigNumber::SetBinary(unsigned char const *,int)" (?SetBinary@BigNumber@@QEAAXPEBEH@Z)".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_bn2bin" in function ""public: class std::unique_ptr<unsigned char [0],struct std::default_delete<unsigned char [0]> > __cdecl BigNumber::AsByteArray(int,bool)" (?AsByteArray@BigNumber@@QEAA?AV?$unique_ptr@$$BY0A@EU?$default_delete@$$BY0A@E@std@@@std@@H_N@Z)".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_sub" in function ""public: class BigNumber __cdecl BigNumber::operator-=(class BigNumber const &)" (??ZBigNumber@@QEAA?AV0@AEBV0@@Z)".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_add" in function ""public: class BigNumber __cdecl BigNumber::operator+=(class BigNumber const &)" (??YBigNumber@@QEAA?AV0@AEBV0@@Z)".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_mul" in function ""public: class BigNumber __cdecl BigNumber::operator*=(class BigNumber const &)" (??XBigNumber@@QEAA?AV0@AEBV0@@Z)".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_div" in function ""public: class BigNumber __cdecl BigNumber::operator/=(class BigNumber const &)" (??_0BigNumber@@QEAA?AV0@AEBV0@@Z)".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_add_word" in function ""public: void __cdecl BigNumber::SetQword(unsigned __int64)" (?SetQword@BigNumber@@QEAAX_K@Z)".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_set_word" in function ""public: __cdecl BigNumber::BigNumber(unsigned int)" (??0BigNumber@@QEAA@I@Z)".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_get_word" in function ""public: unsigned int __cdecl BigNumber::AsDword(void)" (?AsDword@BigNumber@@QEAAIXZ)".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_free" in function ""public: __cdecl BigNumber::~BigNumber(void)" (??1BigNumber@@QEAA@XZ)".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_lshift" in function ""public: void __cdecl BigNumber::SetQword(unsigned __int64)" (?SetQword@BigNumber@@QEAAX_K@Z)".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_exp" in function ""public: class BigNumber __cdecl BigNumber::Exp(class BigNumber const &)" (?Exp@BigNumber@@QEAA?AV1@AEBV1@@Z)".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_mod_exp" in function ""public: class BigNumber __cdecl BigNumber::ModExp(class BigNumber const &,class BigNumber const &)" (?ModExp@BigNumber@@QEAA?AV1@AEBV1@0@Z)".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_dup" in function ""public: __cdecl BigNumber::BigNumber(class BigNumber const &)" (??0BigNumber@@QEAA@AEBV0@@Z)".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_bn2hex" in function ""public: char * __cdecl BigNumber::AsHexStr(void)const " (?AsHexStr@BigNumber@@QEBAPEADXZ)".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_bn2dec" in function ""public: char * __cdecl BigNumber::AsDecStr(void)const " (?AsDecStr@BigNumber@@QEBAPEADXZ)".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_hex2bn" in function ""public: void __cdecl BigNumber::SetHexStr(char const *)" (?SetHexStr@BigNumber@@QEAAXPEBD@Z)".
19>shared.lib(SHA1.obj) : error LNK2019: unresolved external symbol "SHA1_Init" in function ""public: __cdecl SHA1Hash::SHA1Hash(void)" (??0SHA1Hash@@QEAA@XZ)".
19>shared.lib(SHA1.obj) : error LNK2019: unresolved external symbol "SHA1_Update" in function ""public: void __cdecl SHA1Hash::UpdateBigNumbers(class BigNumber *,...)" (?UpdateBigNumbers@SHA1Hash@@QEAAXPEAVBigNumber@@ZZ)".
19>shared.lib(SHA1.obj) : error LNK2019: unresolved external symbol "SHA1_Final" in function ""public: void __cdecl SHA1Hash::Finalize(void)" (?Finalize@SHA1Hash@@QEAAXXZ)".
19>shared.lib(ARC4.obj) : error LNK2019: unresolved external symbol "EVP_EncryptInit_ex" in function ""public: __cdecl ARC4::ARC4(unsigned char)" (??0ARC4@@QEAA@E@Z)".
19>shared.lib(ARC4.obj) : error LNK2019: unresolved external symbol "EVP_EncryptUpdate" in function ""public: void __cdecl ARC4::UpdateData(int,unsigned char *)" (?UpdateData@ARC4@@QEAAXHPEAE@Z)".
19>shared.lib(ARC4.obj) : error LNK2019: unresolved external symbol "EVP_EncryptFinal_ex" in function ""public: void __cdecl ARC4::UpdateData(int,unsigned char *)" (?UpdateData@ARC4@@QEAAXHPEAE@Z)".
19>shared.lib(ARC4.obj) : error LNK2019: unresolved external symbol "EVP_CIPHER_CTX_init" in function ""public: __cdecl ARC4::ARC4(unsigned char)" (??0ARC4@@QEAA@E@Z)".
19>shared.lib(ARC4.obj) : error LNK2019: unresolved external symbol "EVP_CIPHER_CTX_cleanup" in function ""public: __cdecl ARC4::~ARC4(void)" (??1ARC4@@QEAA@XZ)".
19>shared.lib(ARC4.obj) : error LNK2019: unresolved external symbol "EVP_CIPHER_CTX_set_key_length" in function ""public: __cdecl ARC4::ARC4(unsigned char)" (??0ARC4@@QEAA@E@Z)".
19>shared.lib(ARC4.obj) : error LNK2019: unresolved external symbol "EVP_rc4" in function ""public: __cdecl ARC4::ARC4(unsigned char)" (??0ARC4@@QEAA@E@Z)".
19>shared.lib(HMACSHA1.obj) : error LNK2019: unresolved external symbol "EVP_sha1" in function ""public: __cdecl HmacHash::HmacHash(unsigned int,unsigned char *)" (??0HmacHash@@QEAA@IPEAE@Z)".
19>shared.lib(HMACSHA1.obj) : error LNK2019: unresolved external symbol "HMAC_CTX_init" in function ""public: __cdecl HmacHash::HmacHash(unsigned int,unsigned char *)" (??0HmacHash@@QEAA@IPEAE@Z)".
19>shared.lib(HMACSHA1.obj) : error LNK2019: unresolved external symbol "HMAC_CTX_cleanup" in function ""public: __cdecl HmacHash::~HmacHash(void)" (??1HmacHash@@QEAA@XZ)".
19>shared.lib(HMACSHA1.obj) : error LNK2019: unresolved external symbol "HMAC_Init_ex" in function ""public: __cdecl HmacHash::HmacHash(unsigned int,unsigned char *)" (??0HmacHash@@QEAA@IPEAE@Z)".
19>shared.lib(HMACSHA1.obj) : error LNK2019: unresolved external symbol "HMAC_Update" in function ""public: unsigned char * __cdecl HmacHash::ComputeHash(class BigNumber *)" (?ComputeHash@HmacHash@@QEAAPEAEPEAVBigNumber@@@Z)".
19>shared.lib(HMACSHA1.obj) : error LNK2019: unresolved external symbol "HMAC_Final" in function ""public: unsigned char * __cdecl HmacHash::ComputeHash(class BigNumber *)" (?ComputeHash@HmacHash@@QEAAPEAEPEAVBigNumber@@@Z)".
19>C:trinitybuildbinReleaseworldserver.exe : fatal error LNK1120: 49 nicht aufgelöste Externe
20>------ Neues Erstellen gestartet: Projekt: ALL_BUILD, Konfiguration: Release x64 ------
20> Building Custom Rule C:/trinity/CMakeLists.txt
20> CMake does not need to re-run because C:trinitybuildCMakeFilesgenerate.stamp is up-to-date.
========== Build: 18 successful, 2 errors, 0 skipped ==========