Jump to content
TrinityCore

Any one else getting a build fail?


Hellhammer
 Share

Recommended Posts

I've tried to compile 6.2.0 version and I get two fails.

23>  WheatyExceptionReport.cpp
23>Main.obj : error LNK2019: unresolved external symbol _mysql_server_init@12 referenced in function "public: static void __cdecl MySQL::Library_Init(void)" (?Library_Init@MySQL@@SAXXZ)
23>Main.obj : error LNK2019: unresolved external symbol _mysql_server_end@0 referenced in function "public: static void __cdecl MySQL::Library_End(void)" (?Library_End@MySQL@@SAXXZ)
23>Main.obj : error LNK2019: unresolved external symbol _mysql_get_client_version@0 referenced in function "public: __thiscall DatabaseWorkerPool<class CharacterDatabaseConnection>::DatabaseWorkerPool<class CharacterDatabaseConnection>(void)" (??0?$DatabaseWorkerPool@VCharacterDatabaseConnection@@@@QAE@XZ)
23>Main.obj : error LNK2019: unresolved external symbol _mysql_thread_safe@0 referenced in function "public: __thiscall DatabaseWorkerPool<class CharacterDatabaseConnection>::DatabaseWorkerPool<class CharacterDatabaseConnection>(void)" (??0?$DatabaseWorkerPool@VCharacterDatabaseConnection@@@@QAE@XZ)
23>game.lib(World.obj) : error LNK2019: unresolved external symbol _mysql_ping@4 referenced in function "private: virtual bool __thiscall PingOperation::Execute(void)" (?Execute@PingOperation@@EAE_NXZ)
23>scripts.lib(cs_ban.obj) : error LNK2001: unresolved external symbol _mysql_real_escape_string@16
23>scripts.lib(cs_go.obj) : error LNK2001: unresolved external symbol _mysql_real_escape_string@16
23>scripts.lib(cs_gobject.obj) : error LNK2001: unresolved external symbol _mysql_real_escape_string@16
23>scripts.lib(cs_wp.obj) : error LNK2001: unresolved external symbol _mysql_real_escape_string@16
23>game.lib(CharacterHandler.obj) : error LNK2001: unresolved external symbol _mysql_real_escape_string@16
23>game.lib(PetitionsHandler.obj) : error LNK2001: unresolved external symbol _mysql_real_escape_string@16
23>game.lib(Pet.obj) : error LNK2001: unresolved external symbol _mysql_real_escape_string@16
23>game.lib(PlayerDump.obj) : error LNK2001: unresolved external symbol _mysql_real_escape_string@16
23>zmqpp.lib(frame.obj) : error LNK2001: unresolved external symbol __imp__zmq_errno
23>ipc.lib(ZmqContext.obj) : error LNK2001: unresolved external symbol __imp__zmq_errno
23>zmqpp.lib(context.obj) : error LNK2001: unresolved external symbol __imp__zmq_errno
23>zmqpp.lib(socket.obj) : error LNK2001: unresolved external symbol __imp__zmq_errno
23>zmqpp.lib(poller.obj) : error LNK2001: unresolved external symbol __imp__zmq_errno
23>zmqpp.lib(frame.obj) : error LNK2001: unresolved external symbol __imp__zmq_strerror
23>ipc.lib(ZmqContext.obj) : error LNK2001: unresolved external symbol __imp__zmq_strerror
23>zmqpp.lib(context.obj) : error LNK2001: unresolved external symbol __imp__zmq_strerror
23>zmqpp.lib(socket.obj) : error LNK2001: unresolved external symbol __imp__zmq_strerror
23>zmqpp.lib(poller.obj) : error LNK2001: unresolved external symbol __imp__zmq_strerror
23>ipc.lib(ZmqContext.obj) : error LNK2019: unresolved external symbol __imp__zmq_ctx_new referenced in function "private: __thiscall ZmqContext::ZmqContext(void)" (??0ZmqContext@@AAE@XZ)
23>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol _mysql_error@4 referenced in function "public: bool __thiscall ResultSet::NextRow(void)" (?NextRow@ResultSet@@QAE_NXZ)
23>shared.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol _mysql_error@4
23>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol _mysql_free_result@4 referenced in function "public: __thiscall ResultSet::~ResultSet(void)" (??1ResultSet@@QAE@XZ)
23>shared.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol _mysql_free_result@4
23>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol _mysql_fetch_row@4 referenced in function "public: bool __thiscall ResultSet::NextRow(void)" (?NextRow@ResultSet@@QAE_NXZ)
23>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol _mysql_fetch_lengths@4 referenced in function "public: bool __thiscall ResultSet::NextRow(void)" (?NextRow@ResultSet@@QAE_NXZ)
23>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol _mysql_fetch_field@4 referenced in function __catch$??0PreparedResultSet@@QAE@PAUst_mysql_stmt@@PAUst_mysql_res@@_KI@Z$0
23>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol _mysql_stmt_fetch@4 referenced in function __catch$??0PreparedResultSet@@QAE@PAUst_mysql_stmt@@PAUst_mysql_res@@_KI@Z$2
23>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol _mysql_stmt_store_result@4 referenced in function "public: __thiscall PreparedResultSet::PreparedResultSet(struct st_mysql_stmt *,struct st_mysql_res *,unsigned __int64,unsigned int)" (??0PreparedResultSet@@QAE@PAUst_mysql_stmt@@PAUst_mysql_res@@_KI@Z)
23>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol _mysql_stmt_bind_result@8 referenced in function __catch$??0PreparedResultSet@@QAE@PAUst_mysql_stmt@@PAUst_mysql_res@@_KI@Z$0
23>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol _mysql_stmt_free_result@4 referenced in function "private: void __thiscall PreparedResultSet::CleanUp(void)" (?CleanUp@PreparedResultSet@@AAEXXZ)
23>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol _mysql_stmt_error@4 referenced in function "public: __thiscall PreparedResultSet::PreparedResultSet(struct st_mysql_stmt *,struct st_mysql_res *,unsigned __int64,unsigned int)" (??0PreparedResultSet@@QAE@PAUst_mysql_stmt@@PAUst_mysql_res@@_KI@Z)
23>shared.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol _mysql_stmt_error@4
23>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol _mysql_stmt_num_rows@4 referenced in function __catch$??0PreparedResultSet@@QAE@PAUst_mysql_stmt@@PAUst_mysql_res@@_KI@Z$2
23>shared.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol _mysql_stmt_num_rows@4
23>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_fetch_fields@4 referenced in function __catch$?_Query@MySQLConnection@@QAE_NPBDPAPAUst_mysql_res@@PAPAUst_mysql_field@@PA_KPAI@Z$4
23>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_field_count@4 referenced in function __catch$?_Query@MySQLConnection@@QAE_NPBDPAPAUst_mysql_res@@PAPAUst_mysql_field@@PA_KPAI@Z$4
23>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_affected_rows@4 referenced in function __catch$?_Query@MySQLConnection@@QAE_NPBDPAPAUst_mysql_res@@PAPAUst_mysql_field@@PA_KPAI@Z$4
23>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_errno@4 referenced in function "public: bool __thiscall MySQLConnection::Execute(class PreparedStatement *)" (?Execute@MySQLConnection@@QAE_NPAVPreparedStatement@@@Z)
23>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_thread_id@4 referenced in function __catch$?_HandleMySQLErrno@MySQLConnection@@AAE_NI@Z$8
23>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_set_character_set@8 referenced in function __catch$?Open@MySQLConnection@@UAEIXZ$6
23>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_init@4 referenced in function "public: virtual unsigned int __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAEIXZ)
23>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_real_connect@32 referenced in function __catch$?Open@MySQLConnection@@UAEIXZ$0
23>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_query@8 referenced in function "public: bool __thiscall MySQLConnection::Execute(char const *)" (?Execute@MySQLConnection@@QAE_NPBD@Z)
23>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_store_result@4 referenced in function __catch$?_Query@MySQLConnection@@QAE_NPBDPAPAUst_mysql_res@@PAPAUst_mysql_field@@PA_KPAI@Z$4
23>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_get_server_info@4 referenced in function __catch$?Open@MySQLConnection@@UAEIXZ$2
23>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_get_client_info@0 referenced in function __catch$?Open@MySQLConnection@@UAEIXZ$0
23>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_options@12 referenced in function __catch$?Open@MySQLConnection@@UAEIXZ$0
23>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_stmt_init@4 referenced in function "protected: void __thiscall MySQLConnection::PrepareStatement(unsigned int,char const *,enum ConnectionFlags)" (?PrepareStatement@MySQLConnection@@IAEXIPBDW4ConnectionFlags@@@Z)
23>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_stmt_prepare@12 referenced in function __catch$?PrepareStatement@MySQLConnection@@IAEXIPBDW4ConnectionFlags@@@Z$2
23>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_stmt_execute@4 referenced in function __catch$?Execute@MySQLConnection@@QAE_NPAVPreparedStatement@@@Z$0
23>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_stmt_bind_param@8 referenced in function "public: bool __thiscall MySQLConnection::Execute(class PreparedStatement *)" (?Execute@MySQLConnection@@QAE_NPAVPreparedStatement@@@Z)
23>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_stmt_close@4 referenced in function __catch$?PrepareStatement@MySQLConnection@@IAEXIPBDW4ConnectionFlags@@@Z$4
23>shared.lib(PreparedStatement.obj) : error LNK2001: unresolved external symbol _mysql_stmt_close@4
23>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_stmt_result_metadata@4 referenced in function __catch$?_Query@MySQLConnection@@QAE_NPAVPreparedStatement@@PAPAUst_mysql_res@@PA_KPAI@Z$4
23>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_stmt_field_count@4 referenced in function __catch$?_Query@MySQLConnection@@QAE_NPAVPreparedStatement@@PAPAUst_mysql_res@@PA_KPAI@Z$4
23>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_autocommit@8 referenced in function __catch$?Open@MySQLConnection@@UAEIXZ$6
23>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_more_results@4 referenced in function "public: class PreparedResultSet * __thiscall MySQLConnection::Query(class PreparedStatement *)" (?Query@MySQLConnection@@QAEPAVPreparedResultSet@@PAVPreparedStatement@@@Z)
23>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_next_result@4 referenced in function "public: class PreparedResultSet * __thiscall MySQLConnection::Query(class PreparedStatement *)" (?Query@MySQLConnection@@QAEPAVPreparedResultSet@@PAVPreparedStatement@@@Z)
23>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_close@4 referenced in function "public: virtual __thiscall MySQLConnection::~MySQLConnection(void)" (??1MySQLConnection@@UAE@XZ)
23>shared.lib(PreparedStatement.obj) : error LNK2019: unresolved external symbol _mysql_stmt_param_count@4 referenced in function "public: __thiscall MySQLPreparedStatement::MySQLPreparedStatement(struct st_mysql_stmt *)" (??0MySQLPreparedStatement@@QAE@PAUst_mysql_stmt@@@Z)
23>shared.lib(PreparedStatement.obj) : error LNK2019: unresolved external symbol _mysql_stmt_attr_set@12 referenced in function "public: __thiscall MySQLPreparedStatement::MySQLPreparedStatement(struct st_mysql_stmt *)" (??0MySQLPreparedStatement@@QAE@PAUst_mysql_stmt@@@Z)
23>shared.lib(DatabaseLoader.obj) : error LNK2019: unresolved external symbol _mysql_get_server_version@4 referenced in function "private: unsigned int __thiscall DatabaseWorkerPool<class CharacterDatabaseConnection>::OpenConnections(enum DatabaseWorkerPool<class CharacterDatabaseConnection>::InternalIndex,unsigned char)" (?OpenConnections@?$DatabaseWorkerPool@VCharacterDatabaseConnection@@@@AAEIW4InternalIndex@1@E@Z)
23>zmqpp.lib(message.obj) : error LNK2019: unresolved external symbol __imp__zmq_msg_data referenced in function "public: void const * __thiscall zmqpp::frame::data(void)const " (?data@frame@zmqpp@@QBEPBXXZ)
23>zmqpp.lib(socket.obj) : error LNK2001: unresolved external symbol __imp__zmq_msg_data
23>zmqpp.lib(frame.obj) : error LNK2001: unresolved external symbol __imp__zmq_msg_data
23>zmqpp.lib(message.obj) : error LNK2019: unresolved external symbol __imp__zmq_msg_size referenced in function "public: unsigned int __thiscall zmqpp::frame::size(void)const " (?size@frame@zmqpp@@QBEIXZ)
23>zmqpp.lib(socket.obj) : error LNK2001: unresolved external symbol __imp__zmq_msg_size
23>zmqpp.lib(frame.obj) : error LNK2001: unresolved external symbol __imp__zmq_msg_size
23>zmqpp.lib(context.obj) : error LNK2019: unresolved external symbol __imp__zmq_ctx_set referenced in function "public: void __thiscall zmqpp::context::set(enum zmqpp::context_option,int)" (?set@context@zmqpp@@QAEXW4context_option@2@H@Z)
23>zmqpp.lib(context.obj) : error LNK2019: unresolved external symbol __imp__zmq_ctx_get referenced in function "public: int __thiscall zmqpp::context::get(enum zmqpp::context_option)" (?get@context@zmqpp@@QAEHW4context_option@2@@Z)
23>zmqpp.lib(context.obj) : error LNK2019: unresolved external symbol __imp__zmq_ctx_destroy referenced in function "public: void __thiscall zmqpp::context::terminate(void)" (?terminate@context@zmqpp@@QAEXXZ)
23>zmqpp.lib(socket.obj) : error LNK2019: unresolved external symbol __imp__zmq_msg_init referenced in function "public: __thiscall zmqpp::socket::socket(class zmqpp::socket &&)" (??0socket@zmqpp@@QAE@$$QAV01@@Z)
23>zmqpp.lib(frame.obj) : error LNK2001: unresolved external symbol __imp__zmq_msg_init
23>zmqpp.lib(socket.obj) : error LNK2019: unresolved external symbol __imp__zmq_msg_send referenced in function "public: bool __thiscall zmqpp::socket::send(class zmqpp::message &,bool)" (?send@socket@zmqpp@@QAE_NAAVmessage@2@_N@Z)
23>zmqpp.lib(socket.obj) : error LNK2019: unresolved external symbol __imp__zmq_msg_recv referenced in function "public: bool __thiscall zmqpp::socket::receive(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,int)" (?receive@socket@zmqpp@@QAE_NAAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z)
23>zmqpp.lib(socket.obj) : error LNK2019: unresolved external symbol __imp__zmq_msg_close referenced in function "public: __thiscall zmqpp::socket::~socket(void)" (??1socket@zmqpp@@QAE@XZ)
23>zmqpp.lib(frame.obj) : error LNK2001: unresolved external symbol __imp__zmq_msg_close
23>zmqpp.lib(socket.obj) : error LNK2019: unresolved external symbol __imp__zmq_msg_move referenced in function "public: __thiscall zmqpp::socket::socket(class zmqpp::socket &&)" (??0socket@zmqpp@@QAE@$$QAV01@@Z)
23>zmqpp.lib(frame.obj) : error LNK2001: unresolved external symbol __imp__zmq_msg_move
23>zmqpp.lib(socket.obj) : error LNK2019: unresolved external symbol __imp__zmq_socket referenced in function "public: __thiscall zmqpp::socket::socket(class zmqpp::context const &,enum zmqpp::socket_type)" (??0socket@zmqpp@@QAE@ABVcontext@1@W4socket_type@1@@Z)
23>zmqpp.lib(socket.obj) : error LNK2019: unresolved external symbol __imp__zmq_close referenced in function "public: __thiscall zmqpp::socket::~socket(void)" (??1socket@zmqpp@@QAE@XZ)
23>zmqpp.lib(socket.obj) : error LNK2019: unresolved external symbol __imp__zmq_setsockopt referenced in function "public: void __thiscall zmqpp::socket::set(enum zmqpp::socket_option,int)" (?set@socket@zmqpp@@QAEXW4socket_option@2@H@Z)
23>zmqpp.lib(socket.obj) : error LNK2019: unresolved external symbol __imp__zmq_getsockopt referenced in function "public: void __thiscall zmqpp::socket::get(enum zmqpp::socket_option,int &)const " (?get@socket@zmqpp@@QBEXW4socket_option@2@AAH@Z)
23>zmqpp.lib(socket.obj) : error LNK2019: unresolved external symbol __imp__zmq_bind referenced in function "public: void __thiscall zmqpp::socket::bind(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?bind@socket@zmqpp@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
23>zmqpp.lib(socket.obj) : error LNK2019: unresolved external symbol __imp__zmq_connect referenced in function "public: void __thiscall zmqpp::socket::connect(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?connect@socket@zmqpp@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
23>zmqpp.lib(socket.obj) : error LNK2019: unresolved external symbol __imp__zmq_unbind referenced in function "public: void __thiscall zmqpp::socket::unbind(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?unbind@socket@zmqpp@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
23>zmqpp.lib(socket.obj) : error LNK2019: unresolved external symbol __imp__zmq_disconnect referenced in function "public: void __thiscall zmqpp::socket::disconnect(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?disconnect@socket@zmqpp@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
23>zmqpp.lib(socket.obj) : error LNK2019: unresolved external symbol __imp__zmq_send referenced in function "public: bool __thiscall zmqpp::socket::send(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,int)" (?send@socket@zmqpp@@QAE_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z)
23>zmqpp.lib(poller.obj) : error LNK2019: unresolved external symbol __imp__zmq_poll referenced in function "public: bool __thiscall zmqpp::poller::poll(long)" (?poll@poller@zmqpp@@QAE_NJ@Z)
23>zmqpp.lib(frame.obj) : error LNK2019: unresolved external symbol __imp__zmq_msg_init_size referenced in function "public: __thiscall zmqpp::frame::frame(unsigned int)" (??0frame@zmqpp@@QAE@I@Z)
23>zmqpp.lib(frame.obj) : error LNK2019: unresolved external symbol __imp__zmq_msg_init_data referenced in function "public: __thiscall zmqpp::frame::frame(void *,unsigned int,void (__cdecl*)(void *,void *),void *)" (??0frame@zmqpp@@QAE@PAXIP6AX00@Z0@Z)
23>zmqpp.lib(frame.obj) : error LNK2019: unresolved external symbol __imp__zmq_msg_copy referenced in function "public: class zmqpp::frame __thiscall zmqpp::frame::copy(void)const " (?copy@frame@zmqpp@@QBE?AV12@XZ)
23>E:\Build\bin\Release\worldserver.exe : fatal error LNK1120: 70 unresolved externals

 

Edited by Hellhammer
Link to comment
Share on other sites

Hi,

You are apparently missing some libs. ( or your compiler cannot find them, apparently at least zmq and mysql libararies)

 

Are you sure you installed all dependencies as mentioned in the guide ? Look at the steps how to resolve them and go through that for zmq also. (even gives mysql as example). ( the link D3vil is pointing you to).

 

  • Upvote 1
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...