Nay Posted January 1, 2015 Report Share Posted January 1, 2015 I am getting compiling errors in vs 13 express See http://www.trinitycore.org/f/topic/10854-visual-studio-2013-express-deprecation-windows/ 1 Link to comment Share on other sites More sharing options...
CRHASH Posted January 1, 2015 Report Share Posted January 1, 2015 (edited) See http://www.trinitycore.org/f/topic/10854-visual-studio-2013-express-deprecation-windows/ ah i guess it was some time last i compiled heh Edited January 1, 2015 by CRHASH Link to comment Share on other sites More sharing options...
CRHASH Posted January 1, 2015 Report Share Posted January 1, 2015 (edited) See http://www.trinitycore.org/f/topic/10854-visual-studio-2013-express-deprecation-windows/ I have the same problem, even though i uninstalled express and installed the community one. error LNK1181: cannot open input file 'C:mysql_libslib_32libmysql.lib' bnetserver error LNK1181: cannot open input file 'C:mysql_libslib_32libmysql.lib' worldserver Same error but different error code, i guess.. I also forgot to mention that i got 4 warnings in express that i also got in community warning C4065: switch statement contains 'default' but no 'case' labels MovementHandler.cpp warning C4065: switch statement contains 'default' but no 'case' labels VehicleHandler.cpp warning C4065: switch statement contains 'default' but no 'case' labels MovementStructures.cpp warning C4065: switch statement contains 'default' but no 'case' labels WorldSession.cpp // CRHASH Edited January 1, 2015 by CRHASH Link to comment Share on other sites More sharing options...
dsadasdasd12ew1321 Posted January 1, 2015 Report Share Posted January 1, 2015 . Link to comment Share on other sites More sharing options...
mrg Posted January 2, 2015 Report Share Posted January 2, 2015 Make sure your "libzmq-v120-mt-4_0_4.dll" file is from "C:Program Files (x86)ZeroMQ 4.0.4bin" and not "C:Program FilesZeroMQ 4.0.4bin". The guide http://collab.kpsn.org/display/tc/Core+Installation tells you to copy it from Program files which is the x64 version and the rest of the files it tells you to move are the x86 versions which is probably your issue. Scratch that, just read you were compiling in 64bit. What Nay said. thank you my problem is for mysql 5.5 Link to comment Share on other sites More sharing options...
Ingmar Posted January 6, 2015 Report Share Posted January 6, 2015 I am getting an error when trying to build the binaries with the 6.x.x version. the 4.3.4 version went fine however but this time it won't. I've tried fixing it by myself but with no succes. So I came here:) ______________________________________________________________________ Detected 32-bit platform MSVC: Enabled large address awareness MSVC: Enabled SSE2 support MSVC: Disabled Safe Exception Handlers for debug builds MSVC: Overloaded standard names MSVC: Disabled NON-SECURE warnings MSVC: Disabled POSIX warnings MSVC: Disabled generic compiletime warnings Found OpenSSL library: optimized;C:/OpenSSL-Win32/lib/VC/ssleay32MD.lib;C:/OpenSSL-Win32/lib/VC/libeay32MD.lib;debug;C:/OpenSSL-Win32/lib/VC/ssleay32MDd.lib;C:/OpenSSL-Win32/lib/VC/libeay32MDd.lib Found OpenSSL headers: C:/OpenSSL-Win32/include Found ZMQ library: C:/Program Files/ZeroMQ 4.0.4/lib Found ZMQ headers: C:/Program Files/ZeroMQ 4.0.4 Boost version: 1.57.0 Found the following Boost libraries: system filesystem thread program_options Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM - Failed Found MySQL library: C:/Program Files/MySQL/MySQL Server 5.5/lib/libmysql.lib Found MySQL headers: C:/Program Files/MySQL/MySQL Server 5.5/include Found git binary : D:/WoW Programming/Software/Git/cmd/git.exe * TrinityCore revision : b7f254db3df5 2015-01-06 14:25:23 +0100 (6.x branch) * Install core to : C:/Program Files/TrinityCore * Build world/auth : Yes (default) * Build with scripts : Yes (default) * Build map/vmap tools : Yes * Build core w/PCH : Yes (default) * Build scripts w/PCH : Yes (default) * Show compile-warnings : No (default) * Use coreside debug : No (default) * Use GIT revision hash : Yes SCRIPT PREPARATIONS -> Prepared: Spells -> Prepared: Commands -> Prepared: Custom -> Prepared: World -> Prepared: Outdoor PVP Zones -> Prepared: Eastern Kingdoms -> Prepared: Kalimdor -> Prepared: Outland -> Prepared: Northrend -> Prepared: The Maelstrom -> Prepared: Events -> Prepared: Pet SCRIPT PREPARATION COMPLETE Configuring done WARNING: Target "bnetserver" requests linking to directory "C:/Program Files/ZeroMQ 4.0.4/lib". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "bnetserver" requests linking to directory "C:/Program Files/ZeroMQ 4.0.4/lib". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "bnetserver" requests linking to directory "C:/Program Files/ZeroMQ 4.0.4/lib". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "bnetserver" requests linking to directory "C:/Program Files/ZeroMQ 4.0.4/lib". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "worldserver" requests linking to directory "C:/Program Files/ZeroMQ 4.0.4/lib". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "worldserver" requests linking to directory "C:/Program Files/ZeroMQ 4.0.4/lib". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "worldserver" requests linking to directory "C:/Program Files/ZeroMQ 4.0.4/lib". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "worldserver" requests linking to directory "C:/Program Files/ZeroMQ 4.0.4/lib". Targets may link only to libraries. CMake is dropping the item. Generating done Link to comment Share on other sites More sharing options...
Nay Posted January 6, 2015 Report Share Posted January 6, 2015 WARNING: Target "bnetserver" requests linking to directory "C:/Program Files/ZeroMQ 4.0.4/lib". Targets may link only to libraries. CMake is dropping the item. Change ZMQ_LIBRARY to C:/Program Files (x86)/ZeroMQ 4.0.4/lib/libzmq-v120-mt-4_0_4.lib You also need to change MYSQL_LIBRARY to C:/Program Files (x86)/MySQL/MySQL Server 5.5/lib/libmysql.lib Notes: Since you are compiling in 32 bits mode ("Detected 32-bit platform") you need to link with 32 bits / x86 libraries. Linking is always done with .lib, not directories. Link to comment Share on other sites More sharing options...
Ingmar Posted January 6, 2015 Report Share Posted January 6, 2015 Change ZMQ_LIBRARY to C:/Program Files (x86)/ZeroMQ 4.0.4/lib/libzmq-v120-mt-4_0_4.lib You also need to change MYSQL_LIBRARY to C:/Program Files (x86)/MySQL/MySQL Server 5.5/lib/libmysql.lib Notes: Since you are compiling in 32 bits mode ("Detected 32-bit platform") you need to link with 32 bits / x86 libraries. Linking is always done with .lib, not directories. Thanks for the quik reply! There were so many .lib files I didn't knew which one I should've picked. So I just choosed the directory instead by manually typing the folder location at Cmake because the program didn't allow me to choose it from the menu that popped to select the .lib in hope that it would pick the right one automatically. Link to comment Share on other sites More sharing options...
Ceriana Posted January 7, 2015 Report Share Posted January 7, 2015 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 ========== Link to comment Share on other sites More sharing options...
Nay Posted January 7, 2015 Report Share Posted January 7, 2015 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? Changing the OPENSSL_ROOT_DIR and then Configure should change all the other 3 fields. Make you root is set to OpenSSL-Win64 and not Win32 (if and only if you are compiling in 64 bit mode (Visual Studio 12 2013 Win64)" Link to comment Share on other sites More sharing options...
Ceriana Posted January 7, 2015 Report Share Posted January 7, 2015 Changing the OPENSSL_ROOT_DIR and then Configure should change all the other 3 fields. Make you root is set to OpenSSL-Win64 and not Win32 (if and only if you are compiling in 64 bit mode (Visual Studio 12 2013 Win64)" Fixed, thank you very much for the quick answer! Link to comment Share on other sites More sharing options...
mrg Posted January 10, 2015 Report Share Posted January 10, 2015 i have problem to gain connection_patcher from .sln compile i'm ok on 64bit in cmake i was assign the path on boos,zerompq and openssl to 32bit version and set configuration on win32 release in visual stidio(2013 util 64bit) after i was going to clean and build connection_patcher i got error : 2>D:Program Files (x86)Microsoft Visual Studio 12.0VCincludecrtdefs.h(494): error C2371: 'size_t' : redefinition; different basic types 2> predefined C++ types (compiler internal)(19) : see declaration of 'size_t' 2>D:Program Files (x86)Microsoft Visual Studio 12.0VCincludexstddef(282): error C2338: This code is for 64-bit size_t. 2>D:Program Files (x86)Microsoft Visual Studio 12.0VCincludexstddef(283): warning C4305: 'initializing' : truncation from 'unsigned __int64' to 'const size_t' 2>D:Program Files (x86)Microsoft Visual Studio 12.0VCincludexstddef(283): warning C4309: 'initializing' : truncation of constant value 2>D:Program Files (x86)Microsoft Visual Studio 12.0VCincludexstddef(284): warning C4305: 'initializing' : truncation from 'unsigned __int64' to 'const size_t' 2>D:Program Files (x86)Microsoft Visual Studio 12.0VCincludexstddef(284): warning C4309: 'initializing' : truncation of constant value 2>D:Program Files (x86)Microsoft Visual Studio 12.0VCincludexstddef(300): error C2338: This code is for 64-bit size_t. . . . ========== Build: 1 succeeded, 2 failed, 0 up-to-date, 0 skipped ========== Link to comment Share on other sites More sharing options...
ladiszlai Posted January 10, 2015 Report Share Posted January 10, 2015 Hello i ve got a cmake boost error : CMake Error at cmake/macros/ConfigureBoost.cmake:17 (message): No BOOST_ROOT environment variable could be found! Please make sure it is set and the points to your Boost installation. Call Stack (most recent call first): CMakeLists.txt:61 (include) I already installed the bosst please help Thanks -UPDATED- This worked form me http://www.ac-web.org/forums/showthread.php?203668-ERROR-solution-cmake-boost Link to comment Share on other sites More sharing options...
Nay Posted January 10, 2015 Report Share Posted January 10, 2015 -UPDATED- This worked form me http://www.ac-web.or...ion-cmake-boost Do not use that guide, it's WRONG. Simply follow our wiki, set env var boost_root and stuff will work. Link to comment Share on other sites More sharing options...
ladiszlai Posted January 11, 2015 Report Share Posted January 11, 2015 I open the auth and i get this error: The application was unable to start correctly (0xc000007b) i installed all all the microsoft redistributables and i 've got net framework,openssl Please help Link to comment Share on other sites More sharing options...
mrg Posted January 11, 2015 Report Share Posted January 11, 2015 Error after new update from git when i run worldserver.exe, all dbc was exteract from new mapextractor and move the dbcengb file's to binreleasedbc folder. Loading Trinity strings... >> Loaded 1037 trinity strings in 3 ms Initialize data stores... Some required *.dbc files (6 from 145) not found or not compatible: ./dbc/gtNpcTotalHp.dbc ./dbc/gtNpcTotalHpExp1.dbc ./dbc/gtNpcTotalHpExp2.dbc ./dbc/gtNpcTotalHpExp3.dbc ./dbc/gtNpcTotalHpExp4.dbc ./dbc/gtNpcTotalHpExp5.dbc Link to comment Share on other sites More sharing options...
ladiszlai Posted January 11, 2015 Report Share Posted January 11, 2015 How to i make dbc files? Link to comment Share on other sites More sharing options...
Aokromes Posted January 11, 2015 Report Share Posted January 11, 2015 https://github.com/TrinityCore/TrinityCore/commit/4d033eaa896db856878b4a39ff0f5082960b201b#commitcomment-9231547 As for 0xc000007b it's you have mixing 32 and 64 bits libs. Link to comment Share on other sites More sharing options...
mrg Posted January 11, 2015 Report Share Posted January 11, 2015 https://github.com/TrinityCore/TrinityCore/commit/4d033eaa896db856878b4a39ff0f5082960b201b#commitcomment-9231547 for ./dbc/gtNpcTotalHp.dbc and other it worked now but new Error appear : Loading Player Create Action Data... >> Loaded 421 player create actions in 1 ms Loading Player Create Level Stats Data... Race 1 Class 1 Level 86 does not have stats data. Using stats data of level 85. Race 1 Class 1 Level 87 does not have stats data. Using stats data of level 86. Race 1 Class 1 Level 88 does not have stats data. Using stats data of level 87. Race 1 Class 1 Level 89 does not have stats data. Using stats data of level 88. . . . Race 1 Class 9 Level 99 does not have stats data. Using stats data of level 98. Race 1 Class 9 Level 100 does not have stats data. Using stats data of level 99. Race 1 Class 10 Level 1 does not have stats data! Link to comment Share on other sites More sharing options...
ladiszlai Posted January 11, 2015 Report Share Posted January 11, 2015 Yes i get this error too Link to comment Share on other sites More sharing options...
Aokromes Posted January 11, 2015 Report Share Posted January 11, 2015 db needs to be updated, you have a fix with data for it on tracker. Link to comment Share on other sites More sharing options...
Sylitius Posted January 15, 2015 Report Share Posted January 15, 2015 (edited) SOLVED: Change folder name Hello, I've a problem with CMake When I try to build with VS Community 2013 Update 4 - 32bits or 64bits with TOOLS I have this error : You have called ADD_LIBRARY for library bzip2 without any source files. This typically indicates a problem with your CMakeLists.txt file You have called ADD_LIBRARY for library gsoap without any source files. This typically indicates a problem with your CMakeLists.txt file You have called ADD_LIBRARY for library zmqpp without any source files. This typically indicates a problem with your CMakeLists.txt file You have called ADD_LIBRARY for library ipc without any source files. This typically indicates a problem with your CMakeLists.txt file And : CMake Error at src/tools/map_extractor/CMakeLists.txt:23 (add_executable): add_executable called with incorrect number of arguments CMake Error at src/tools/map_extractor/CMakeLists.txt:27 (target_link_libraries): Cannot specify link libraries for target "mapextractor" which is not built by this project. CMake Output : http://pastebin.com/EjpXYmw9 CMakeError : http://pastebin.com/GS0u8a61 CMakeOutput : http://pastebin.com/ZFqqF39s Config : Windows 8.1 Visual Studio Community 2013 - Update 4 CMake 3.1.0 Edited January 16, 2015 by Sylitius Link to comment Share on other sites More sharing options...
Fragmam Posted January 22, 2015 Report Share Posted January 22, 2015 after some trinitycore updates is this happening, can anyone help me? Link to comment Share on other sites More sharing options...
Aokromes Posted January 22, 2015 Report Share Posted January 22, 2015 Disable mesh_extractor option. Link to comment Share on other sites More sharing options...
Fragmam Posted January 22, 2015 Report Share Posted January 22, 2015 yes, I did it, but warning c4065: still appear, and appeared never have a problem? THX Link to comment Share on other sites More sharing options...
Recommended Posts