Jump to content
TrinityCore

Recommended Posts

 

 

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 by CRHASH

Share this post


Link to post
Share on other sites

Hello

i'm using  Branch 6.x ,windows 2010 

i was build the project as 64bit

when i was runing worldserver & bnetserver i got an Error

 

"The application was unable to start correctly (0.xc000007b). click OK to close the application"

 

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.

Edited by Pointblank

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 *)" ([email protected]@@[email protected])".
16>TOTP.obj : error LNK2019: unresolved external symbol "HMAC" in function ""unsigned int __cdecl TOTP::GenerateToken(char const *)" ([email protected]@@[email protected])".
16>AuthSession.obj : error LNK2019: unresolved external symbol "CRYPTO_free" in function ""private: bool __cdecl AuthSession::HandleLogonProof(void)" ([email protected]@@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 &)" ([email protected]@[email protected]@@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 &)" ([email protected]@[email protected]@@Z)".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_rand" in function ""public: void __cdecl BigNumber::SetRand(int)" ([email protected]@@[email protected])".
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)" ([email protected]@@[email protected][email protected][email protected][email protected]@[email protected]@@[email protected]@[email protected])".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_new" in function ""public: __cdecl BigNumber::BigNumber(unsigned int)" ([email protected]@[email protected]@Z)".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_copy" in function ""public: class BigNumber & __cdecl BigNumber::operator=(class BigNumber const &)" ([email protected]@[email protected]@@Z)".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_bin2bn" in function ""public: void __cdecl BigNumber::SetBinary(unsigned char const *,int)" ([email protected]@@[email protected])".
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)" ([email protected]@@[email protected][email protected][email protected][email protected]@[email protected]@@[email protected]@[email protected])".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_sub" in function ""public: class BigNumber __cdecl BigNumber::operator-=(class BigNumber const &)" ([email protected]@[email protected]@@Z)".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_add" in function ""public: class BigNumber __cdecl BigNumber::operator+=(class BigNumber const &)" ([email protected]@[email protected]@@Z)".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_mul" in function ""public: class BigNumber __cdecl BigNumber::operator*=(class BigNumber const &)" ([email protected]@[email protected]@@Z)".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_div" in function ""public: class BigNumber __cdecl BigNumber::operator/=(class BigNumber const &)" ([email protected]@[email protected]@@Z)".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_add_word" in function ""public: void __cdecl BigNumber::SetQword(unsigned __int64)" ([email protected]@@[email protected])".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_set_word" in function ""public: __cdecl BigNumber::BigNumber(unsigned int)" ([email protected]@[email protected]@Z)".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_get_word" in function ""public: unsigned int __cdecl BigNumber::AsDword(void)" ([email protected]@@QEAAIXZ)".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_free" in function ""public: __cdecl BigNumber::~BigNumber(void)" ([email protected]@[email protected])".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_lshift" in function ""public: void __cdecl BigNumber::SetQword(unsigned __int64)" ([email protected]@@[email protected])".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_exp" in function ""public: class BigNumber __cdecl BigNumber::Exp(class BigNumber const &)" ([email protected]@@[email protected]@@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 &)" ([email protected]@@[email protected]@[email protected])".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_dup" in function ""public: __cdecl BigNumber::BigNumber(class BigNumber const &)" ([email protected]@[email protected]@@Z)".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_bn2hex" in function ""public: char * __cdecl BigNumber::AsHexStr(void)const " ([email protected]@@QEBAPEADXZ)".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_bn2dec" in function ""public: char * __cdecl BigNumber::AsDecStr(void)const " ([email protected]@@QEBAPEADXZ)".
16>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_hex2bn" in function ""public: void __cdecl BigNumber::SetHexStr(char const *)" ([email protected]@@[email protected])".
16>shared.lib(SHA1.obj) : error LNK2019: unresolved external symbol "SHA1_Init" in function ""public: __cdecl SHA1Hash::SHA1Hash(void)" ([email protected]@[email protected])".
16>shared.lib(SHA1.obj) : error LNK2019: unresolved external symbol "SHA1_Update" in function ""public: void __cdecl SHA1Hash::UpdateBigNumbers(class BigNumber *,...)" ([email protected]@@[email protected]@ZZ)".
16>shared.lib(SHA1.obj) : error LNK2019: unresolved external symbol "SHA1_Final" in function ""public: void __cdecl SHA1Hash::Finalize(void)" ([email protected]@@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)" ([email protected]@@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)" ([email protected]@@[email protected])".
19>game.lib(WardenWin.obj) : error LNK2019: unresolved external symbol "MD5_Init" in function ""public: virtual struct ClientWardenModule * __cdecl WardenWin::GetModuleForClient(void)" ([email protected]@@[email protected]@XZ)".
19>game.lib(WardenWin.obj) : error LNK2019: unresolved external symbol "MD5_Update" in function ""public: virtual struct ClientWardenModule * __cdecl WardenWin::GetModuleForClient(void)" ([email protected]@@[email protected]@XZ)".
19>game.lib(WardenWin.obj) : error LNK2019: unresolved external symbol "MD5_Final" in function ""public: virtual struct ClientWardenModule * __cdecl WardenWin::GetModuleForClient(void)" ([email protected]@@[email protected]@XZ)".
19>shared.lib(OpenSSLCrypto.obj) : error LNK2019: unresolved external symbol "CRYPTO_num_locks" in function ""void __cdecl OpenSSLCrypto::threadsCleanup(void)" ([email protected]@@YAXXZ)".
19>shared.lib(OpenSSLCrypto.obj) : error LNK2019: unresolved external symbol "CRYPTO_set_locking_callback" in function ""void __cdecl OpenSSLCrypto::threadsCleanup(void)" ([email protected]@@YAXXZ)".
19>shared.lib(OpenSSLCrypto.obj) : error LNK2019: unresolved external symbol "CRYPTO_THREADID_set_numeric" in function ""void __cdecl threadIdCallback(struct crypto_threadid_st *)" ([email protected]@[email protected]@@Z)".
19>shared.lib(OpenSSLCrypto.obj) : error LNK2019: unresolved external symbol "CRYPTO_THREADID_set_callback" in function ""void __cdecl OpenSSLCrypto::threadsCleanup(void)" ([email protected]@@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 &)" ([email protected]@[email protected]@@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 &)" ([email protected]@[email protected]@@Z)".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_rand" in function ""public: void __cdecl BigNumber::SetRand(int)" ([email protected]@@[email protected])".
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)" ([email protected]@@[email protected][email protected][email protected][email protected]@[email protected]@@[email protected]@[email protected])".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_new" in function ""public: __cdecl BigNumber::BigNumber(unsigned int)" ([email protected]@[email protected]@Z)".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_copy" in function ""public: class BigNumber & __cdecl BigNumber::operator=(class BigNumber const &)" ([email protected]@[email protected]@@Z)".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_bin2bn" in function ""public: void __cdecl BigNumber::SetBinary(unsigned char const *,int)" ([email protected]@@[email protected])".
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)" ([email protected]@@[email protected][email protected][email protected][email protected]@[email protected]@@[email protected]@[email protected])".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_sub" in function ""public: class BigNumber __cdecl BigNumber::operator-=(class BigNumber const &)" ([email protected]@[email protected]@@Z)".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_add" in function ""public: class BigNumber __cdecl BigNumber::operator+=(class BigNumber const &)" ([email protected]@[email protected]@@Z)".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_mul" in function ""public: class BigNumber __cdecl BigNumber::operator*=(class BigNumber const &)" ([email protected]@[email protected]@@Z)".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_div" in function ""public: class BigNumber __cdecl BigNumber::operator/=(class BigNumber const &)" ([email protected]@[email protected]@@Z)".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_add_word" in function ""public: void __cdecl BigNumber::SetQword(unsigned __int64)" ([email protected]@@[email protected])".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_set_word" in function ""public: __cdecl BigNumber::BigNumber(unsigned int)" ([email protected]@[email protected]@Z)".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_get_word" in function ""public: unsigned int __cdecl BigNumber::AsDword(void)" ([email protected]@@QEAAIXZ)".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_free" in function ""public: __cdecl BigNumber::~BigNumber(void)" ([email protected]@[email protected])".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_lshift" in function ""public: void __cdecl BigNumber::SetQword(unsigned __int64)" ([email protected]@@[email protected])".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_exp" in function ""public: class BigNumber __cdecl BigNumber::Exp(class BigNumber const &)" ([email protected]@@[email protected]@@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 &)" ([email protected]@@[email protected]@[email protected])".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_dup" in function ""public: __cdecl BigNumber::BigNumber(class BigNumber const &)" ([email protected]@[email protected]@@Z)".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_bn2hex" in function ""public: char * __cdecl BigNumber::AsHexStr(void)const " ([email protected]@@QEBAPEADXZ)".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_bn2dec" in function ""public: char * __cdecl BigNumber::AsDecStr(void)const " ([email protected]@@QEBAPEADXZ)".
19>shared.lib(BigNumber.obj) : error LNK2019: unresolved external symbol "BN_hex2bn" in function ""public: void __cdecl BigNumber::SetHexStr(char const *)" ([email protected]@@[email protected])".
19>shared.lib(SHA1.obj) : error LNK2019: unresolved external symbol "SHA1_Init" in function ""public: __cdecl SHA1Hash::SHA1Hash(void)" ([email protected]@[email protected])".
19>shared.lib(SHA1.obj) : error LNK2019: unresolved external symbol "SHA1_Update" in function ""public: void __cdecl SHA1Hash::UpdateBigNumbers(class BigNumber *,...)" ([email protected]@@[email protected]@ZZ)".
19>shared.lib(SHA1.obj) : error LNK2019: unresolved external symbol "SHA1_Final" in function ""public: void __cdecl SHA1Hash::Finalize(void)" ([email protected]@@QEAAXXZ)".
19>shared.lib(ARC4.obj) : error LNK2019: unresolved external symbol "EVP_EncryptInit_ex" in function ""public: __cdecl ARC4::ARC4(unsigned char)" ([email protected]@[email protected]@Z)".
19>shared.lib(ARC4.obj) : error LNK2019: unresolved external symbol "EVP_EncryptUpdate" in function ""public: void __cdecl ARC4::UpdateData(int,unsigned char *)" ([email protected]@@[email protected])".
19>shared.lib(ARC4.obj) : error LNK2019: unresolved external symbol "EVP_EncryptFinal_ex" in function ""public: void __cdecl ARC4::UpdateData(int,unsigned char *)" ([email protected]@@[email protected])".
19>shared.lib(ARC4.obj) : error LNK2019: unresolved external symbol "EVP_CIPHER_CTX_init" in function ""public: __cdecl ARC4::ARC4(unsigned char)" ([email protected]@[email protected]@Z)".
19>shared.lib(ARC4.obj) : error LNK2019: unresolved external symbol "EVP_CIPHER_CTX_cleanup" in function ""public: __cdecl ARC4::~ARC4(void)" ([email protected]@[email protected])".
19>shared.lib(ARC4.obj) : error LNK2019: unresolved external symbol "EVP_CIPHER_CTX_set_key_length" in function ""public: __cdecl ARC4::ARC4(unsigned char)" ([email protected]@[email protected]@Z)".
19>shared.lib(ARC4.obj) : error LNK2019: unresolved external symbol "EVP_rc4" in function ""public: __cdecl ARC4::ARC4(unsigned char)" ([email protected]@[email protected]@Z)".
19>shared.lib(HMACSHA1.obj) : error LNK2019: unresolved external symbol "EVP_sha1" in function ""public: __cdecl HmacHash::HmacHash(unsigned int,unsigned char *)" ([email protected]@[email protected]@Z)".
19>shared.lib(HMACSHA1.obj) : error LNK2019: unresolved external symbol "HMAC_CTX_init" in function ""public: __cdecl HmacHash::HmacHash(unsigned int,unsigned char *)" ([email protected]@[email protected]@Z)".
19>shared.lib(HMACSHA1.obj) : error LNK2019: unresolved external symbol "HMAC_CTX_cleanup" in function ""public: __cdecl HmacHash::~HmacHash(void)" ([email protected]@[email protected])".
19>shared.lib(HMACSHA1.obj) : error LNK2019: unresolved external symbol "HMAC_Init_ex" in function ""public: __cdecl HmacHash::HmacHash(unsigned int,unsigned char *)" ([email protected]@[email protected]@Z)".
19>shared.lib(HMACSHA1.obj) : error LNK2019: unresolved external symbol "HMAC_Update" in function ""public: unsigned char * __cdecl HmacHash::ComputeHash(class BigNumber *)" ([email protected]@@[email protected]@@Z)".
19>shared.lib(HMACSHA1.obj) : error LNK2019: unresolved external symbol "HMAC_Final" in function ""public: unsigned char * __cdecl HmacHash::ComputeHash(class BigNumber *)" ([email protected]@@[email protected]@@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 ==========

Share this post


Link to post
Share on other sites

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?

 

4WxgwBu.png

 

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)"

Share this post


Link to post
Share on other sites

4WxgwBu.png

 

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!

Share this post


Link to post
Share on other sites

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 ==========

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

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!
 

Share this post


Link to post
Share on other sites

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 by Sylitius

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By 939h
      Hi,

      The chat channel Lookup for group is not available when a player isn't in a city. I tried to modify the worldserver.conf file with:
      #
      #    Channel.RestrictedLfg
      #        Description: Restrict LookupForGroup channel to characters registered in the LFG tool.
      #        Default:     1 - (Enabled, Allow join to channel only if registered in LFG)
      #                     0 - (Disabled, Allow join to channel in any time)
      Channel.RestrictedLfg = 0

      I restarted the server but it didn't help.

      Thanks
    • By meeek
      Hey, I've been trying to compile from github the core from 6.2.3/6.2.4, I'm well aware its stopped developing. I cannot get it to configure properly in CMake, nor can I obviously build it.
       
      I'd be willing to pay for help and get this working and running. I want to develop my own server on my freetime as a learning project and for entertainment. I can't find any core for WoD, sadly.. Very hard, would appreciate any quick help
       
    • By Probie_Wan_Kenobi
      I believe everything I have done up to this point has been correct. When I go to launch worldserver.exe a console window opens up for a second and closes right away and nothing else seems to have happened. I skipped a head a little in the instructions to see what is left and step 5 seems skippable since I am running this only for this computer and step 6 has me launch to a log in screen which I can not get to. I tried going to the faq but the page was not loading properly so I am forced to post here.
    • By Wark
      I'd just like to get a little insight to why so much of the current Trinitycore code doesn't match up to a few years ago.
      Now I know I'm not a pro at coding on Trinitycore and I understand that the core is open sourced but these just seem so significant and doesn't seem right to remove this stuff.
       
      Let me give an example. Lets say I'm watching this tutorial to get a little information about classes and methods that I can use when making a script. (I've also been using the Trinitycore Code Documentation as reference as well but it also seems to show the same issues)
      Although the tutorial is a little out of date, I don't see why OnGossipSelect doesn't exist anywhere in CreatureScript and that when I try to link the script to the core code it spits out this error.
      object of abstract class type "GossipTeleporter" is not allowed:
      pure virtual function "CreatureScript::GetAI" has no overrider
      The DEFINES of "ADD_GOSSIP_ITEM" and many more don't exist either.
       
      Am I missing something? All I want to know is if the core is mean't to be this way and if not should I download an older version of the core before I put to much working into my current core.
      (I downloaded my core right from the Trinitycore website tutorial)
       
      I'm currently trying to write a simple gossipteleporter that will let you talk to an npc and teleport to the given location. It's very hard to do this when so many things just don't exist within my core.
       
      EXTRA: I pasted this into a new custom script just to see if I would get errors and I got a lot of different errors: http://pastebin.com/raw/G62e0t49
      This was obtained from here: http://www.ac-web.org/forums/showthread.php?129885-Request-Teleporter-NPC-for-TrinityCore
      By no means am I looking to copy the code from the two links above, I was using them as a test to see if my core accepted them.
       
      Thanks,
      Wark
    • By Cantte
      Well ... today I was about to compile the trinity core version for WoW 4.3.4 of this repository "https://gitlab.com/trinitycore/TrinityCore_434". Download them and when you use the cmake, I generate the solution correctly. When I began to compile this went well until I got to the last step, when I was 90% practically.
      This was the error:
      Main.obj: error LNK2019: external symbol SSLeay_version unresolved referred to in the function "public: void __cdecl <lambda_4a2d53ce610f18dba0b4b4d6532c13a7> :: operator () (void) const" (?? R <lambda_4a2d53ce610f18dba0b4b4d6532c13a7> @@ QEBAXXZ)
      25> scripts.lib (cs_server.obj): error LNK2001: external symbol SSLeay_version unresolved
      25> gsoap.lib (stdsoap2.obj): error LNK2019: unresolved sk_num external symbol referenced in the tcp_connect function
      25> gsoap.lib (stdsoap2.obj): error LNK2019: unresolved sk_value external symbol referenced in the tcp_connect function
      25> gsoap.lib (stdsoap2.obj): error LNK2019: unresolved sk_pop_free external symbol referenced in the tcp_connect function
      25> gsoap.lib (stdsoap2.obj): error LNK2019: outer symbol OPENSSL_add_all_algorithms_noconf unresolved referenced in the soap_ssl_init function
      25> gsoap.lib (stdsoap2.obj): error LNK2019: external symbol SSL_load_error_strings unresolved referenced in the soap_ssl_init function
      25> gsoap.lib (stdsoap2.obj): error LNK2019: unresolved external SSLv23_method symbol referenced in the ssl_auth_init function
      25> gsoap.lib (stdsoap2.obj): error LNK2019: external symbol SSL_library_init unresolved referenced in the soap_ssl_init function
      25> gsoap.lib (stdsoap2.obj): error LNK2019: external symbol SSL_state unresolved referenced in the tcp_connect function
      25> common.lib (OpenSSLCrypto.obj): error LNK2019: external symbol CRYPTO_num_locks unresolved referred to in the function "void __cdecl OpenSSLCrypto :: threadsCleanup (void)" (? ThreadsCleanup @ OpenSSLCrypto @@ YAXXZ)
      25> common.lib (OpenSSLCrypto.obj): error LNK2019: external symbol CRYPTO_set_locking_callback unresolved referred to in the function "void __cdecl OpenSSLCrypto :: threadsCleanup (void)" (? ThreadsCleanup @ OpenSSLCrypto @@ YAXXZ)
      25> common.lib (OpenSSLCrypto.obj): error LNK2019: external symbol CRYPTO_THREADID_set_numeric unresolved referred to in the function "void __cdecl threadIdCallback (struct crypto_threadid_st *)" (? ThreadIdCallback @@ YAXPEAUcrypto_threadid_st @@@ Z)
      25> common.lib (OpenSSLCrypto.obj): error LNK2019: external symbol CRYPTO_THREADID_set_callback unresolved referenced in the function "void __cdecl OpenSSLCrypto :: threadsCleanup (void)" (? ThreadsCleanup @ OpenSSLCrypto @@ YAXXZ)
      25> common.lib (ARC4.obj): error LNK2019: external symbol EVP_CIPHER_CTX_init unresolved referred to in the function "public: __cdecl ARC4 :: ARC4 (unsigned int)" (?? 0ARC4 @@ QEAA @ I @ Z)
      25> common.lib (HmacHash.obj): error LNK2019: unresolved HMAC_CTX_init external symbol referenced in the "struct hmac_ctx_st * __cdecl HMAC_CTX_new (void)" function (? HMAC_CTX_new @@ YAPEAUhmac_ctx_st @@ XZ)
      25> common.lib (HmacHash.obj): error LNK2019: unresolved HMAC_CTX_cleanup external symbol referenced in the "void __cdecl HMAC_CTX_free (struct hmac_ctx_st *)" function (? HMAC_CTX_free @@ YAXPEAUhmac_ctx_st @@@ Z)
      25> E: \ Server-Wow \ TrinityCore_434-4.3.4 \ Build \ bin \ RelWithDebInfo \ worldserver.exe: fatal error LNK1120: 16 external unresolved
      25> Compilation of the "worldserver.vcxproj" project completed - ERROR.
      26> ------ Compile operation started: project: ALL_BUILD, configuration: RelWithDebInfo x64 ------
      26> Building Custom Rule E: /Server-Wow/TrinityCore_434-4.3.4/CMakeLists.txt
      26> CMake does not need to re-run because E: /Server-Wow/TrinityCore_434-4.3.4/Build/CMakeFiles/generate.stamp is up-to-date.
      ========== Compile: 23 correct, 3 incorrect, 0 updated, 0 omitted ==========
       
      And this is the original error in Spanish (since I use the compiler in Spanish)
       
      Main.obj : error LNK2019: símbolo externo SSLeay_version sin resolver al que se hace referencia en la función "public: void __cdecl <lambda_4a2d53ce610f18dba0b4b4d6532c13a7>::operator()(void)const " (??R<lambda_4a2d53ce610f18dba0b4b4d6532c13a7>@@QEBAXXZ)
      25>scripts.lib(cs_server.obj) : error LNK2001: símbolo externo SSLeay_version sin resolver
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo sk_num sin resolver al que se hace referencia en la función tcp_connect
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo sk_value sin resolver al que se hace referencia en la función tcp_connect
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo sk_pop_free sin resolver al que se hace referencia en la función tcp_connect
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo OPENSSL_add_all_algorithms_noconf sin resolver al que se hace referencia en la función soap_ssl_init
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo SSL_load_error_strings sin resolver al que se hace referencia en la función soap_ssl_init
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo SSLv23_method sin resolver al que se hace referencia en la función ssl_auth_init
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo SSL_library_init sin resolver al que se hace referencia en la función soap_ssl_init
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo SSL_state sin resolver al que se hace referencia en la función tcp_connect
      25>common.lib(OpenSSLCrypto.obj) : error LNK2019: símbolo externo CRYPTO_num_locks sin resolver al que se hace referencia en la función "void __cdecl OpenSSLCrypto::threadsCleanup(void)" ([email protected]@@YAXXZ)
      25>common.lib(OpenSSLCrypto.obj) : error LNK2019: símbolo externo CRYPTO_set_locking_callback sin resolver al que se hace referencia en la función "void __cdecl OpenSSLCrypto::threadsCleanup(void)" ([email protected]@@YAXXZ)
      25>common.lib(OpenSSLCrypto.obj) : error LNK2019: símbolo externo CRYPTO_THREADID_set_numeric sin resolver al que se hace referencia en la función "void __cdecl threadIdCallback(struct crypto_threadid_st *)" ([email protected]@[email protected]@@Z)
      25>common.lib(OpenSSLCrypto.obj) : error LNK2019: símbolo externo CRYPTO_THREADID_set_callback sin resolver al que se hace referencia en la función "void __cdecl OpenSSLCrypto::threadsCleanup(void)" ([email protected]@@YAXXZ)
      25>common.lib(ARC4.obj) : error LNK2019: símbolo externo EVP_CIPHER_CTX_init sin resolver al que se hace referencia en la función "public: __cdecl ARC4::ARC4(unsigned int)" ([email protected]@[email protected]@Z)
      25>common.lib(HmacHash.obj) : error LNK2019: símbolo externo HMAC_CTX_init sin resolver al que se hace referencia en la función "struct hmac_ctx_st * __cdecl HMAC_CTX_new(void)" ([email protected]@[email protected]@XZ)
      25>common.lib(HmacHash.obj) : error LNK2019: símbolo externo HMAC_CTX_cleanup sin resolver al que se hace referencia en la función "void __cdecl HMAC_CTX_free(struct hmac_ctx_st *)" ([email protected]@[email protected]@@Z)
      25>E:\Server-Wow\TrinityCore_434-4.3.4\Build\bin\RelWithDebInfo\worldserver.exe : fatal error LNK1120: 16 externos sin resolver
      25>Compilación del proyecto "worldserver.vcxproj" terminada -- ERROR.
      26>------ Operación Compilar iniciada: proyecto: ALL_BUILD, configuración: RelWithDebInfo x64 ------
      26>Building Custom Rule E:/Server-Wow/TrinityCore_434-4.3.4/CMakeLists.txt
      26>CMake does not need to re-run because E:/Server-Wow/TrinityCore_434-4.3.4/Build/CMakeFiles/generate.stamp is up-to-date.
      ========== Compilar: 23 correctos, 3 incorrectos, 0 actualizados, 0 omitidos ==========
       
       
      Thanks.
×
×
  • Create New...