Nay Posted January 22, 2015 Report Share Posted January 22, 2015 Warnings are only warnings, you can ignore them. Link to comment Share on other sites More sharing options...
narrico Posted January 23, 2015 Report Share Posted January 23, 2015 Hey guys I'm having issues with compiling the 6.x core. CMake ran fine with no issues then with Visual Studio it gets to the world server, bnet server and some game files I get these errors: Warning 1 warning C4065: switch statement contains 'default' but no 'case' labels C:TrinitysrcservergameHandlersMovementHandler.cpp 446 1 game Warning 2 warning C4065: switch statement contains 'default' but no 'case' labels C:TrinitysrcservergameHandlersVehicleHandler.cpp 139 1 game Warning 3 warning C4065: switch statement contains 'default' but no 'case' labels C:TrinitysrcservergameMovementMovementStructures.cpp 5450 1 game Error 4 error LNK2019: unresolved external symbol _mysql_server_init@12 referenced in function "public: static void __cdecl MySQL::Library_Init(void)" (?Library_Init@MySQL@@SAXXZ) C:BuildsrcserverbnetserverMain.obj bnetserver Error 5 error LNK2019: unresolved external symbol _mysql_server_end@0 referenced in function "public: static void __cdecl MySQL::Library_End(void)" (?Library_End@MySQL@@SAXXZ) C:BuildsrcserverbnetserverMain.obj bnetserver Error 6 error LNK2019: unresolved external symbol _mysql_ping@4 referenced in function "private: virtual bool __thiscall PingOperation::Execute(void)" (?Execute@PingOperation@@EAE_NXZ) C:BuildsrcserverbnetserverMain.obj bnetserver Error 7 error LNK2019: unresolved external symbol _mysql_get_client_version@0 referenced in function "public: __thiscall DatabaseWorkerPool<class LoginDatabaseConnection>::DatabaseWorkerPool<class LoginDatabaseConnection>(void)" (??0?$DatabaseWorkerPool@VLoginDatabaseConnection@@@@QAE@XZ) C:BuildsrcserverbnetserverMain.obj bnetserver Error 8 error LNK2019: unresolved external symbol _mysql_get_server_version@4 referenced in function "private: bool __thiscall DatabaseWorkerPool<class LoginDatabaseConnection>::OpenConnections(enum DatabaseWorkerPool<class LoginDatabaseConnection>::InternalIndex,unsigned char)" (?OpenConnections@?$DatabaseWorkerPool@VLoginDatabaseConnection@@@@AAE_NW4InternalIndex@1@E@Z) C:BuildsrcserverbnetserverMain.obj bnetserver Error 9 error LNK2019: unresolved external symbol _mysql_thread_safe@0 referenced in function "public: __thiscall DatabaseWorkerPool<class LoginDatabaseConnection>::DatabaseWorkerPool<class LoginDatabaseConnection>(void)" (??0?$DatabaseWorkerPool@VLoginDatabaseConnection@@@@QAE@XZ) C:BuildsrcserverbnetserverMain.obj bnetserver Error 10 error LNK2019: unresolved external symbol _mysql_error@4 referenced in function "public: bool __thiscall ResultSet::NextRow(void)" (?NextRow@ResultSet@@QAE_NXZ) C:Buildsrcserverbnetservershared.lib(QueryResult.obj) bnetserver Error 11 error LNK2001: unresolved external symbol _mysql_error@4 C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 12 error LNK2019: unresolved external symbol _mysql_free_result@4 referenced in function "public: __thiscall ResultSet::~ResultSet(void)" (??1ResultSet@@QAE@XZ) C:Buildsrcserverbnetservershared.lib(QueryResult.obj) bnetserver Error 13 error LNK2001: unresolved external symbol _mysql_free_result@4 C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 14 error LNK2019: unresolved external symbol _mysql_fetch_row@4 referenced in function "public: bool __thiscall ResultSet::NextRow(void)" (?NextRow@ResultSet@@QAE_NXZ) C:Buildsrcserverbnetservershared.lib(QueryResult.obj) bnetserver Error 15 error LNK2019: unresolved external symbol _mysql_fetch_lengths@4 referenced in function "public: bool __thiscall ResultSet::NextRow(void)" (?NextRow@ResultSet@@QAE_NXZ) C:Buildsrcserverbnetservershared.lib(QueryResult.obj) bnetserver Error 16 error LNK2019: unresolved external symbol _mysql_fetch_field@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) C:Buildsrcserverbnetservershared.lib(QueryResult.obj) bnetserver Error 17 error LNK2019: unresolved external symbol _mysql_stmt_fetch@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) C:Buildsrcserverbnetservershared.lib(QueryResult.obj) bnetserver Error 18 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) C:Buildsrcserverbnetservershared.lib(QueryResult.obj) bnetserver Error 19 error LNK2019: unresolved external symbol _mysql_stmt_bind_result@8 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) C:Buildsrcserverbnetservershared.lib(QueryResult.obj) bnetserver Error 20 error LNK2019: unresolved external symbol _mysql_stmt_free_result@4 referenced in function "private: void __thiscall PreparedResultSet::CleanUp(void)" (?CleanUp@PreparedResultSet@@AAEXXZ) C:Buildsrcserverbnetservershared.lib(QueryResult.obj) bnetserver Error 21 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) C:Buildsrcserverbnetservershared.lib(QueryResult.obj) bnetserver Error 22 error LNK2001: unresolved external symbol _mysql_stmt_error@4 C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 23 error LNK2019: unresolved external symbol _mysql_stmt_num_rows@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) C:Buildsrcserverbnetservershared.lib(QueryResult.obj) bnetserver Error 24 error LNK2001: unresolved external symbol _mysql_stmt_num_rows@4 C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 25 error LNK2019: unresolved external symbol _mysql_fetch_fields@4 referenced in function "public: bool __thiscall MySQLConnection::_Query(char const *,struct st_mysql_res * *,struct st_mysql_field * *,unsigned __int64 *,unsigned int *)" (?_Query@MySQLConnection@@QAE_NPBDPAPAUst_mysql_res@@PAPAUst_mysql_field@@PA_KPAI@Z) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 26 error LNK2019: unresolved external symbol _mysql_field_count@4 referenced in function "public: bool __thiscall MySQLConnection::_Query(char const *,struct st_mysql_res * *,struct st_mysql_field * *,unsigned __int64 *,unsigned int *)" (?_Query@MySQLConnection@@QAE_NPBDPAPAUst_mysql_res@@PAPAUst_mysql_field@@PA_KPAI@Z) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 27 error LNK2019: unresolved external symbol _mysql_affected_rows@4 referenced in function "public: bool __thiscall MySQLConnection::_Query(char const *,struct st_mysql_res * *,struct st_mysql_field * *,unsigned __int64 *,unsigned int *)" (?_Query@MySQLConnection@@QAE_NPBDPAPAUst_mysql_res@@PAPAUst_mysql_field@@PA_KPAI@Z) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 28 error LNK2019: unresolved external symbol _mysql_errno@4 referenced in function "public: bool __thiscall MySQLConnection::Execute(class PreparedStatement *)" (?Execute@MySQLConnection@@QAE_NPAVPreparedStatement@@@Z) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 29 error LNK2001: unresolved external symbol _mysql_errno@4 C:Buildsrcserverbnetservershared.lib(Transaction.obj) bnetserver Error 30 error LNK2019: unresolved external symbol _mysql_thread_id@4 referenced in function "private: bool __thiscall MySQLConnection::_HandleMySQLErrno(unsigned int)" (?_HandleMySQLErrno@MySQLConnection@@AAE_NI@Z) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 31 error LNK2019: unresolved external symbol _mysql_set_character_set@8 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 32 error LNK2019: unresolved external symbol _mysql_init@4 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 33 error LNK2019: unresolved external symbol _mysql_real_connect@32 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 34 error LNK2019: unresolved external symbol _mysql_query@8 referenced in function "public: bool __thiscall MySQLConnection::Execute(char const *)" (?Execute@MySQLConnection@@QAE_NPBD@Z) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 35 error LNK2019: unresolved external symbol _mysql_store_result@4 referenced in function "public: bool __thiscall MySQLConnection::_Query(char const *,struct st_mysql_res * *,struct st_mysql_field * *,unsigned __int64 *,unsigned int *)" (?_Query@MySQLConnection@@QAE_NPBDPAPAUst_mysql_res@@PAPAUst_mysql_field@@PA_KPAI@Z) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 36 error LNK2019: unresolved external symbol _mysql_get_server_info@4 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 37 error LNK2019: unresolved external symbol _mysql_get_client_info@0 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 38 error LNK2019: unresolved external symbol _mysql_options@12 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 39 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) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 40 error LNK2019: unresolved external symbol _mysql_stmt_prepare@12 referenced in function "protected: void __thiscall MySQLConnection::PrepareStatement(unsigned int,char const *,enum ConnectionFlags)" (?PrepareStatement@MySQLConnection@@IAEXIPBDW4ConnectionFlags@@@Z) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 41 error LNK2019: unresolved external symbol _mysql_stmt_execute@4 referenced in function "public: bool __thiscall MySQLConnection::Execute(class PreparedStatement *)" (?Execute@MySQLConnection@@QAE_NPAVPreparedStatement@@@Z) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 42 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) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 43 error LNK2019: unresolved external symbol _mysql_stmt_close@4 referenced in function "protected: void __thiscall MySQLConnection::PrepareStatement(unsigned int,char const *,enum ConnectionFlags)" (?PrepareStatement@MySQLConnection@@IAEXIPBDW4ConnectionFlags@@@Z) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 44 error LNK2001: unresolved external symbol _mysql_stmt_close@4 C:Buildsrcserverbnetservershared.lib(PreparedStatement.obj) bnetserver Error 45 error LNK2019: unresolved external symbol _mysql_stmt_result_metadata@4 referenced in function "public: bool __thiscall MySQLConnection::_Query(class PreparedStatement *,struct st_mysql_res * *,unsigned __int64 *,unsigned int *)" (?_Query@MySQLConnection@@QAE_NPAVPreparedStatement@@PAPAUst_mysql_res@@PA_KPAI@Z) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 46 error LNK2019: unresolved external symbol _mysql_stmt_field_count@4 referenced in function "public: bool __thiscall MySQLConnection::_Query(class PreparedStatement *,struct st_mysql_res * *,unsigned __int64 *,unsigned int *)" (?_Query@MySQLConnection@@QAE_NPAVPreparedStatement@@PAPAUst_mysql_res@@PA_KPAI@Z) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 47 error LNK2019: unresolved external symbol _mysql_autocommit@8 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 48 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) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 49 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) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 50 error LNK2019: unresolved external symbol _mysql_close@4 referenced in function "public: virtual __thiscall MySQLConnection::~MySQLConnection(void)" (??1MySQLConnection@@UAE@XZ) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 51 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) C:Buildsrcserverbnetservershared.lib(PreparedStatement.obj) bnetserver Error 52 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) C:Buildsrcserverbnetservershared.lib(PreparedStatement.obj) bnetserver Error 53 error LNK1120: 43 unresolved externals C:BuildbinReleasebnetserver.exe bnetserver Error 54 error LNK2019: unresolved external symbol _mysql_server_init@12 referenced in function "public: static void __cdecl MySQL::Library_Init(void)" (?Library_Init@MySQL@@SAXXZ) C:BuildsrcserverworldserverMain.obj worldserver Error 55 error LNK2019: unresolved external symbol _mysql_server_end@0 referenced in function "public: static void __cdecl MySQL::Library_End(void)" (?Library_End@MySQL@@SAXXZ) C:BuildsrcserverworldserverMain.obj worldserver Error 56 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) C:BuildsrcserverworldserverMain.obj worldserver Error 57 error LNK2019: unresolved external symbol _mysql_get_server_version@4 referenced in function "private: bool __thiscall DatabaseWorkerPool<class CharacterDatabaseConnection>::OpenConnections(enum DatabaseWorkerPool<class CharacterDatabaseConnection>::InternalIndex,unsigned char)" (?OpenConnections@?$DatabaseWorkerPool@VCharacterDatabaseConnection@@@@AAE_NW4InternalIndex@1@E@Z) C:BuildsrcserverworldserverMain.obj worldserver Error 58 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) C:BuildsrcserverworldserverMain.obj worldserver Error 59 error LNK2019: unresolved external symbol _mysql_ping@4 referenced in function "private: virtual bool __thiscall PingOperation::Execute(void)" (?Execute@PingOperation@@EAE_NXZ) C:Buildsrcserverworldservergame.lib(World.obj) worldserver Error 60 error LNK2001: unresolved external symbol _mysql_real_escape_string@16 C:Buildsrcserverworldserverscripts.lib(cs_misc.obj) worldserver Error 61 error LNK2001: unresolved external symbol _mysql_real_escape_string@16 C:Buildsrcserverworldserverscripts.lib(cs_wp.obj) worldserver Error 62 error LNK2001: unresolved external symbol _mysql_real_escape_string@16 C:Buildsrcserverworldservergame.lib(PlayerDump.obj) worldserver_mysql_real_escape_string@16 C:Buildsrcserverworldserverscripts.lib(cs_ban.obj) worldserver_mysql_real_escape_string@16 C:Buildsrcserverworldserverscripts.lib(cs_go.obj) worldserver_mysql_real_escape_string@16 C:Buildsrcserverworldserverscripts.lib(cs_gobject.obj) worldserver_mysql_real_escape_string@16 C:Buildsrcserverworldservergame.lib(CharacterHandler.obj) worldserver_mysql_real_escape_string@16 C:Buildsrcserverworldservergame.lib(GroupHandler.obj) worldserver Error 68 error LNK2001: unresolved external symbol _mysql_real_escape_string@16 C:Buildsrcserverworldservergame.lib(PetitionsHandler.obj) worldserver Error 69 error LNK2001: unresolved external symbol _mysql_real_escape_string@16 C:Buildsrcserverworldservergame.lib(Pet.obj) worldserver Error 70 error LNK2019: unresolved external symbol _mysql_error@4 referenced in function "public: bool __thiscall ResultSet::NextRow(void)" (?NextRow@ResultSet@@QAE_NXZ) C:Buildsrcserverworldservershared.lib(QueryResult.obj) worldserver Error 71 error LNK2001: unresolved external symbol _mysql_error@4 C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 72 error LNK2019: unresolved external symbol _mysql_free_result@4 referenced in function "public: __thiscall ResultSet::~ResultSet(void)" (??1ResultSet@@QAE@XZ) C:Buildsrcserverworldservershared.lib(QueryResult.obj) worldserver Error 73 error LNK2001: unresolved external symbol _mysql_free_result@4 C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 74 error LNK2019: unresolved external symbol _mysql_fetch_row@4 referenced in function "public: bool __thiscall ResultSet::NextRow(void)" (?NextRow@ResultSet@@QAE_NXZ) C:Buildsrcserverworldservershared.lib(QueryResult.obj) worldserver Error 75 error LNK2019: unresolved external symbol _mysql_fetch_lengths@4 referenced in function "public: bool __thiscall ResultSet::NextRow(void)" (?NextRow@ResultSet@@QAE_NXZ) C:Buildsrcserverworldservershared.lib(QueryResult.obj) worldserver Error 76 error LNK2019: unresolved external symbol _mysql_fetch_field@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) C:Buildsrcserverworldservershared.lib(QueryResult.obj) worldserver Error 77 error LNK2019: unresolved external symbol _mysql_stmt_fetch@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) C:Buildsrcserverworldservershared.lib(QueryResult.obj) worldserver Error 78 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) C:Buildsrcserverworldservershared.lib(QueryResult.obj) worldserver Error 79 error LNK2019: unresolved external symbol _mysql_stmt_bind_result@8 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) C:Buildsrcserverworldservershared.lib(QueryResult.obj) worldserver Error 80 error LNK2019: unresolved external symbol _mysql_stmt_free_result@4 referenced in function "private: void __thiscall PreparedResultSet::CleanUp(void)" (?CleanUp@PreparedResultSet@@AAEXXZ) C:Buildsrcserverworldservershared.lib(QueryResult.obj) worldserver Error 81 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) C:Buildsrcserverworldservershared.lib(QueryResult.obj) worldserver Error 82 error LNK2001: unresolved external symbol _mysql_stmt_error@4 C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 83 error LNK2019: unresolved external symbol _mysql_stmt_num_rows@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) C:Buildsrcserverworldservershared.lib(QueryResult.obj) worldserver Error 84 error LNK2001: unresolved external symbol _mysql_stmt_num_rows@4 C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 85 error LNK2019: unresolved external symbol _mysql_fetch_fields@4 referenced in function "public: bool __thiscall MySQLConnection::_Query(char const *,struct st_mysql_res * *,struct st_mysql_field * *,unsigned __int64 *,unsigned int *)" (?_Query@MySQLConnection@@QAE_NPBDPAPAUst_mysql_res@@PAPAUst_mysql_field@@PA_KPAI@Z) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 86 error LNK2019: unresolved external symbol _mysql_field_count@4 referenced in function "public: bool __thiscall MySQLConnection::_Query(char const *,struct st_mysql_res * *,struct st_mysql_field * *,unsigned __int64 *,unsigned int *)" (?_Query@MySQLConnection@@QAE_NPBDPAPAUst_mysql_res@@PAPAUst_mysql_field@@PA_KPAI@Z) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 87 error LNK2019: unresolved external symbol _mysql_affected_rows@4 referenced in function "public: bool __thiscall MySQLConnection::_Query(char const *,struct st_mysql_res * *,struct st_mysql_field * *,unsigned __int64 *,unsigned int *)" (?_Query@MySQLConnection@@QAE_NPBDPAPAUst_mysql_res@@PAPAUst_mysql_field@@PA_KPAI@Z) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 88 error LNK2019: unresolved external symbol _mysql_errno@4 referenced in function "public: bool __thiscall MySQLConnection::Execute(class PreparedStatement *)" (?Execute@MySQLConnection@@QAE_NPAVPreparedStatement@@@Z) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 89 error LNK2001: unresolved external symbol _mysql_errno@4 C:Buildsrcserverworldservershared.lib(Transaction.obj) worldserver Error 90 error LNK2019: unresolved external symbol _mysql_thread_id@4 referenced in function "private: bool __thiscall MySQLConnection::_HandleMySQLErrno(unsigned int)" (?_HandleMySQLErrno@MySQLConnection@@AAE_NI@Z) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 91 error LNK2019: unresolved external symbol _mysql_set_character_set@8 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 92 error LNK2019: unresolved external symbol _mysql_init@4 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 93 error LNK2019: unresolved external symbol _mysql_real_connect@32 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 94 error LNK2019: unresolved external symbol _mysql_query@8 referenced in function "public: bool __thiscall MySQLConnection::Execute(char const *)" (?Execute@MySQLConnection@@QAE_NPBD@Z) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 95 error LNK2019: unresolved external symbol _mysql_store_result@4 referenced in function "public: bool __thiscall MySQLConnection::_Query(char const *,struct st_mysql_res * *,struct st_mysql_field * *,unsigned __int64 *,unsigned int *)" (?_Query@MySQLConnection@@QAE_NPBDPAPAUst_mysql_res@@PAPAUst_mysql_field@@PA_KPAI@Z) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 96 error LNK2019: unresolved external symbol _mysql_get_server_info@4 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 97 error LNK2019: unresolved external symbol _mysql_get_client_info@0 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 98 error LNK2019: unresolved external symbol _mysql_options@12 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 99 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) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 100 error LNK2019: unresolved external symbol _mysql_stmt_prepare@12 referenced in function "protected: void __thiscall MySQLConnection::PrepareStatement(unsigned int,char const *,enum ConnectionFlags)" (?PrepareStatement@MySQLConnection@@IAEXIPBDW4ConnectionFlags@@@Z) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 101 error LNK2019: unresolved external symbol _mysql_stmt_execute@4 referenced in function "public: bool __thiscall MySQLConnection::Execute(class PreparedStatement *)" (?Execute@MySQLConnection@@QAE_NPAVPreparedStatement@@@Z) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 102 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) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 103 error LNK2019: unresolved external symbol _mysql_stmt_close@4 referenced in function "protected: void __thiscall MySQLConnection::PrepareStatement(unsigned int,char const *,enum ConnectionFlags)" (?PrepareStatement@MySQLConnection@@IAEXIPBDW4ConnectionFlags@@@Z) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 104 error LNK2001: unresolved external symbol _mysql_stmt_close@4 C:Buildsrcserverworldservershared.lib(PreparedStatement.obj) worldserver Error 105 error LNK2019: unresolved external symbol _mysql_stmt_result_metadata@4 referenced in function "public: bool __thiscall MySQLConnection::_Query(class PreparedStatement *,struct st_mysql_res * *,unsigned __int64 *,unsigned int *)" (?_Query@MySQLConnection@@QAE_NPAVPreparedStatement@@PAPAUst_mysql_res@@PA_KPAI@Z) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 106 error LNK2019: unresolved external symbol _mysql_stmt_field_count@4 referenced in function "public: bool __thiscall MySQLConnection::_Query(class PreparedStatement *,struct st_mysql_res * *,unsigned __int64 *,unsigned int *)" (?_Query@MySQLConnection@@QAE_NPAVPreparedStatement@@PAPAUst_mysql_res@@PA_KPAI@Z) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 107 error LNK2019: unresolved external symbol _mysql_autocommit@8 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 108 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) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 109 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) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 110 error LNK2019: unresolved external symbol _mysql_close@4 referenced in function "public: virtual __thiscall MySQLConnection::~MySQLConnection(void)" (??1MySQLConnection@@UAE@XZ) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 111 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) C:Buildsrcserverworldservershared.lib(PreparedStatement.obj) worldserver Error 112 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) C:Buildsrcserverworldservershared.lib(PreparedStatement.obj) worldserver Error 113 error LNK1120: 44 unresolved externals C:BuildbinReleaseworldserver.exe worldserverWarning 1 warning C4065: switch statement contains 'default' but no 'case' labels C:TrinitysrcservergameHandlersMovementHandler.cpp 446 1 game Warning 2 warning C4065: switch statement contains 'default' but no 'case' labels C:TrinitysrcservergameHandlersVehicleHandler.cpp 139 1 game Warning 3 warning C4065: switch statement contains 'default' but no 'case' labels C:TrinitysrcservergameMovementMovementStructures.cpp 5450 1 game Error 4 error LNK2019: unresolved external symbol _mysql_server_init@12 referenced in function "public: static void __cdecl MySQL::Library_Init(void)" (?Library_Init@MySQL@@SAXXZ) C:BuildsrcserverbnetserverMain.obj bnetserver Error 5 error LNK2019: unresolved external symbol _mysql_server_end@0 referenced in function "public: static void __cdecl MySQL::Library_End(void)" (?Library_End@MySQL@@SAXXZ) C:BuildsrcserverbnetserverMain.obj bnetserver Error 6 error LNK2019: unresolved external symbol _mysql_ping@4 referenced in function "private: virtual bool __thiscall PingOperation::Execute(void)" (?Execute@PingOperation@@EAE_NXZ) C:BuildsrcserverbnetserverMain.obj bnetserver Error 7 error LNK2019: unresolved external symbol _mysql_get_client_version@0 referenced in function "public: __thiscall DatabaseWorkerPool<class LoginDatabaseConnection>::DatabaseWorkerPool<class LoginDatabaseConnection>(void)" (??0?$DatabaseWorkerPool@VLoginDatabaseConnection@@@@QAE@XZ) C:BuildsrcserverbnetserverMain.obj bnetserver Error 8 error LNK2019: unresolved external symbol _mysql_get_server_version@4 referenced in function "private: bool __thiscall DatabaseWorkerPool<class LoginDatabaseConnection>::OpenConnections(enum DatabaseWorkerPool<class LoginDatabaseConnection>::InternalIndex,unsigned char)" (?OpenConnections@?$DatabaseWorkerPool@VLoginDatabaseConnection@@@@AAE_NW4InternalIndex@1@E@Z) C:BuildsrcserverbnetserverMain.obj bnetserver Error 9 error LNK2019: unresolved external symbol _mysql_thread_safe@0 referenced in function "public: __thiscall DatabaseWorkerPool<class LoginDatabaseConnection>::DatabaseWorkerPool<class LoginDatabaseConnection>(void)" (??0?$DatabaseWorkerPool@VLoginDatabaseConnection@@@@QAE@XZ) C:BuildsrcserverbnetserverMain.obj bnetserver Error 10 error LNK2019: unresolved external symbol _mysql_error@4 referenced in function "public: bool __thiscall ResultSet::NextRow(void)" (?NextRow@ResultSet@@QAE_NXZ) C:Buildsrcserverbnetservershared.lib(QueryResult.obj) bnetserver Error 11 error LNK2001: unresolved external symbol _mysql_error@4 C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 12 error LNK2019: unresolved external symbol _mysql_free_result@4 referenced in function "public: __thiscall ResultSet::~ResultSet(void)" (??1ResultSet@@QAE@XZ) C:Buildsrcserverbnetservershared.lib(QueryResult.obj) bnetserver Error 13 error LNK2001: unresolved external symbol _mysql_free_result@4 C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 14 error LNK2019: unresolved external symbol _mysql_fetch_row@4 referenced in function "public: bool __thiscall ResultSet::NextRow(void)" (?NextRow@ResultSet@@QAE_NXZ) C:Buildsrcserverbnetservershared.lib(QueryResult.obj) bnetserver Error 15 error LNK2019: unresolved external symbol _mysql_fetch_lengths@4 referenced in function "public: bool __thiscall ResultSet::NextRow(void)" (?NextRow@ResultSet@@QAE_NXZ) C:Buildsrcserverbnetservershared.lib(QueryResult.obj) bnetserver Error 16 error LNK2019: unresolved external symbol _mysql_fetch_field@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) C:Buildsrcserverbnetservershared.lib(QueryResult.obj) bnetserver Error 17 error LNK2019: unresolved external symbol _mysql_stmt_fetch@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) C:Buildsrcserverbnetservershared.lib(QueryResult.obj) bnetserver Error 18 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) C:Buildsrcserverbnetservershared.lib(QueryResult.obj) bnetserver Error 19 error LNK2019: unresolved external symbol _mysql_stmt_bind_result@8 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) C:Buildsrcserverbnetservershared.lib(QueryResult.obj) bnetserver Error 20 error LNK2019: unresolved external symbol _mysql_stmt_free_result@4 referenced in function "private: void __thiscall PreparedResultSet::CleanUp(void)" (?CleanUp@PreparedResultSet@@AAEXXZ) C:Buildsrcserverbnetservershared.lib(QueryResult.obj) bnetserver Error 21 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) C:Buildsrcserverbnetservershared.lib(QueryResult.obj) bnetserver Error 22 error LNK2001: unresolved external symbol _mysql_stmt_error@4 C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 23 error LNK2019: unresolved external symbol _mysql_stmt_num_rows@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) C:Buildsrcserverbnetservershared.lib(QueryResult.obj) bnetserver Error 24 error LNK2001: unresolved external symbol _mysql_stmt_num_rows@4 C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 25 error LNK2019: unresolved external symbol _mysql_fetch_fields@4 referenced in function "public: bool __thiscall MySQLConnection::_Query(char const *,struct st_mysql_res * *,struct st_mysql_field * *,unsigned __int64 *,unsigned int *)" (?_Query@MySQLConnection@@QAE_NPBDPAPAUst_mysql_res@@PAPAUst_mysql_field@@PA_KPAI@Z) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 26 error LNK2019: unresolved external symbol _mysql_field_count@4 referenced in function "public: bool __thiscall MySQLConnection::_Query(char const *,struct st_mysql_res * *,struct st_mysql_field * *,unsigned __int64 *,unsigned int *)" (?_Query@MySQLConnection@@QAE_NPBDPAPAUst_mysql_res@@PAPAUst_mysql_field@@PA_KPAI@Z) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 27 error LNK2019: unresolved external symbol _mysql_affected_rows@4 referenced in function "public: bool __thiscall MySQLConnection::_Query(char const *,struct st_mysql_res * *,struct st_mysql_field * *,unsigned __int64 *,unsigned int *)" (?_Query@MySQLConnection@@QAE_NPBDPAPAUst_mysql_res@@PAPAUst_mysql_field@@PA_KPAI@Z) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 28 error LNK2019: unresolved external symbol _mysql_errno@4 referenced in function "public: bool __thiscall MySQLConnection::Execute(class PreparedStatement *)" (?Execute@MySQLConnection@@QAE_NPAVPreparedStatement@@@Z) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 29 error LNK2001: unresolved external symbol _mysql_errno@4 C:Buildsrcserverbnetservershared.lib(Transaction.obj) bnetserver Error 30 error LNK2019: unresolved external symbol _mysql_thread_id@4 referenced in function "private: bool __thiscall MySQLConnection::_HandleMySQLErrno(unsigned int)" (?_HandleMySQLErrno@MySQLConnection@@AAE_NI@Z) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 31 error LNK2019: unresolved external symbol _mysql_set_character_set@8 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 32 error LNK2019: unresolved external symbol _mysql_init@4 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 33 error LNK2019: unresolved external symbol _mysql_real_connect@32 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 34 error LNK2019: unresolved external symbol _mysql_query@8 referenced in function "public: bool __thiscall MySQLConnection::Execute(char const *)" (?Execute@MySQLConnection@@QAE_NPBD@Z) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 35 error LNK2019: unresolved external symbol _mysql_store_result@4 referenced in function "public: bool __thiscall MySQLConnection::_Query(char const *,struct st_mysql_res * *,struct st_mysql_field * *,unsigned __int64 *,unsigned int *)" (?_Query@MySQLConnection@@QAE_NPBDPAPAUst_mysql_res@@PAPAUst_mysql_field@@PA_KPAI@Z) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 36 error LNK2019: unresolved external symbol _mysql_get_server_info@4 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 37 error LNK2019: unresolved external symbol _mysql_get_client_info@0 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 38 error LNK2019: unresolved external symbol _mysql_options@12 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 39 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) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 40 error LNK2019: unresolved external symbol _mysql_stmt_prepare@12 referenced in function "protected: void __thiscall MySQLConnection::PrepareStatement(unsigned int,char const *,enum ConnectionFlags)" (?PrepareStatement@MySQLConnection@@IAEXIPBDW4ConnectionFlags@@@Z) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 41 error LNK2019: unresolved external symbol _mysql_stmt_execute@4 referenced in function "public: bool __thiscall MySQLConnection::Execute(class PreparedStatement *)" (?Execute@MySQLConnection@@QAE_NPAVPreparedStatement@@@Z) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 42 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) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 43 error LNK2019: unresolved external symbol _mysql_stmt_close@4 referenced in function "protected: void __thiscall MySQLConnection::PrepareStatement(unsigned int,char const *,enum ConnectionFlags)" (?PrepareStatement@MySQLConnection@@IAEXIPBDW4ConnectionFlags@@@Z) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 44 error LNK2001: unresolved external symbol _mysql_stmt_close@4 C:Buildsrcserverbnetservershared.lib(PreparedStatement.obj) bnetserver Error 45 error LNK2019: unresolved external symbol _mysql_stmt_result_metadata@4 referenced in function "public: bool __thiscall MySQLConnection::_Query(class PreparedStatement *,struct st_mysql_res * *,unsigned __int64 *,unsigned int *)" (?_Query@MySQLConnection@@QAE_NPAVPreparedStatement@@PAPAUst_mysql_res@@PA_KPAI@Z) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 46 error LNK2019: unresolved external symbol _mysql_stmt_field_count@4 referenced in function "public: bool __thiscall MySQLConnection::_Query(class PreparedStatement *,struct st_mysql_res * *,unsigned __int64 *,unsigned int *)" (?_Query@MySQLConnection@@QAE_NPAVPreparedStatement@@PAPAUst_mysql_res@@PA_KPAI@Z) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 47 error LNK2019: unresolved external symbol _mysql_autocommit@8 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 48 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) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 49 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) C:Buildsrcserverbnetservershared.lib(MySQLConnection.obj) bnetserver Error 50 error LNK2019: unresolved external symbol _mysql_close@4 referenced in function "public: virtual __thiscall MySQLConnection::~MySQLConnection(void)" (??sult.obj) worldserver Error 84 error LNK2001: unresolved external symbol _mysql_stmt_num_rows@4 C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 85 error LNK2019: unresolved external symbol _mysql_fetch_fields@4 referenced in function "public: bool __thiscall MySQLConnection::_Query(char const *,struct st_mysql_res * *,struct st_mysql_field * *,unsigned __int64 *,unsigned int *)" (?_Query@MySQLConnection@@QAE_NPBDPAPAUst_mysql_res@@PAPAUst_mysql_field@@PA_KPAI@Z) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 86 error LNK2019: unresolved external symbol _mysql_field_count@4 referenced in function "public: bool __thiscall MySQLConnection::_Query(char const *,struct st_mysql_res * *,struct st_mysql_field * *,unsigned __int64 *,unsigned int *)" (?_Query@MySQLConnection@@QAE_NPBDPAPAUst_mysql_res@@PAPAUst_mysql_field@@PA_KPAI@Z) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 87 error LNK2019: unresolved external symbol _mysql_affected_rows@4 referenced in function "public: bool __thiscall MySQLConnection::_Query(char const *,struct st_mysql_res * *,struct st_mysql_field * *,unsigned __int64 *,unsigned int *)" (?_Query@MySQLConnection@@QAE_NPBDPAPAUst_mysql_res@@PAPAUst_mysql_field@@PA_KPAI@Z) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 88 error LNK2019: unresolved external symbol _mysql_errno@4 referenced in function "public: bool __thiscall MySQLConnection::Execute(class PreparedStatement *)" (?Execute@MySQLConnection@@QAE_NPAVPreparedStatement@@@Z) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 89 error LNK2001: unresolved external symbol _mysql_errno@4 C:Buildsrcserverworldservershared.lib(Transaction.obj) worldserver Error 90 error LNK2019: unresolved external symbol _mysql_thread_id@4 referenced in function "private: bool __thiscall MySQLConnection::_HandleMySQLErrno(unsigned int)" (?_HandleMySQLErrno@MySQLConnection@@AAE_NI@Z) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 91 error LNK2019: unresolved external symbol _mysql_set_character_set@8 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 92 error LNK2019: unresolved external symbol _mysql_init@4 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 93 error LNK2019: unresolved external symbol _mysql_real_connect@32 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 94 error LNK2019: unresolved external symbol _mysql_query@8 referenced in function "public: bool __thiscall MySQLConnection::Execute(char const *)" (?Execute@MySQLConnection@@QAE_NPBD@Z) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 95 error LNK2019: unresolved external symbol _mysql_store_result@4 referenced in function "public: bool __thiscall MySQLConnection::_Query(char const *,struct st_mysql_res * *,struct st_mysql_field * *,unsigned __int64 *,unsigned int *)" (?_Query@MySQLConnection@@QAE_NPBDPAPAUst_mysql_res@@PAPAUst_mysql_field@@PA_KPAI@Z) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 96 error LNK2019: unresolved external symbol _mysql_get_server_info@4 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 97 error LNK2019: unresolved external symbol _mysql_get_client_info@0 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 98 error LNK2019: unresolved external symbol _mysql_options@12 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 99 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) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 100 error LNK2019: unresolved external symbol _mysql_stmt_prepare@12 referenced in function "protected: void __thiscall MySQLConnection::PrepareStatement(unsigned int,char const *,enum ConnectionFlags)" (?PrepareStatement@MySQLConnection@@IAEXIPBDW4ConnectionFlags@@@Z) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 101 error LNK2019: unresolved external symbol _mysql_stmt_execute@4 referenced in function "public: bool __thiscall MySQLConnection::Execute(class PreparedStatement *)" (?Execute@MySQLConnection@@QAE_NPAVPreparedStatement@@@Z) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 102 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) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 103 error LNK2019: unresolved external symbol _mysql_stmt_close@4 referenced in function "protected: void __thiscall MySQLConnection::PrepareStatement(unsigned int,char const *,enum ConnectionFlags)" (?PrepareStatement@MySQLConnection@@IAEXIPBDW4ConnectionFlags@@@Z) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 104 error LNK2001: unresolved external symbol _mysql_stmt_close@4 C:Buildsrcserverworldservershared.lib(PreparedStatement.obj) worldserver Error 105 error LNK2019: unresolved external symbol _mysql_stmt_result_metadata@4 referenced in function "public: bool __thiscall MySQLConnection::_Query(class PreparedStatement *,struct st_mysql_res * *,unsigned __int64 *,unsigned int *)" (?_Query@MySQLConnection@@QAE_NPAVPreparedStatement@@PAPAUst_mysql_res@@PA_KPAI@Z) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 106 error LNK2019: unresolved external symbol _mysql_stmt_field_count@4 referenced in function "public: bool __thiscall MySQLConnection::_Query(class PreparedStatement *,struct st_mysql_res * *,unsigned __int64 *,unsigned int *)" (?_Query@MySQLConnection@@QAE_NPAVPreparedStatement@@PAPAUst_mysql_res@@PA_KPAI@Z) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 107 error LNK2019: unresolved external symbol _mysql_autocommit@8 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 108 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) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 109 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) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 110 error LNK2019: unresolved external symbol _mysql_close@4 referenced in function "public: virtual __thiscall MySQLConnection::~MySQLConnection(void)" (??1MySQLConnection@@UAE@XZ) C:Buildsrcserverworldservershared.lib(MySQLConnection.obj) worldserver Error 111 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) C:Buildsrcserverworldservershared.lib(PreparedStatement.obj) worldserver Error 112 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) C:Buildsrcserverworldservershared.lib(PreparedStatement.obj) worldserver Error 113 error LNK1120: 44 unresolved externals C:BuildbinReleaseworldserver.exe worldserver With the bnet and world server issues I used the MySQL files provided by you guys so I'm not understanding why I'm getting this error. Everything for 3.3.5 finished with no problems. Any help would be appreciated. Thanks. Link to comment Share on other sites More sharing options...
Nay Posted January 23, 2015 Report Share Posted January 23, 2015 For MySQL, download the libs from https://github.com/T...5/mysql_lib.zip and in cmake modify MYSQL_LIBRARY to /lib_32/libmysql.lib or /lib_64/libmysql.lib. If you do not see MYSQL_LIBRARY in the cmake gui, tick the advanced checkbox. You are linking with the wrong version of libmysql.lib Link to comment Share on other sites More sharing options...
narrico Posted January 23, 2015 Report Share Posted January 23, 2015 That worked. Thanks Nay. Link to comment Share on other sites More sharing options...
Nay Posted January 23, 2015 Report Share Posted January 23, 2015 --- Canned message start ---It appears the issue in the original post was solved, so this thread shall be closed. Should you encounter any other difficulties, please open a new thread.--- Canned message end --- Link to comment Share on other sites More sharing options...
mrelfire Posted January 27, 2015 Report Share Posted January 27, 2015 I can compile perfectly without tools option but when I check it I have : Error 1 error C1083: Cannot open include file: 'libmpq/mpq.h': No such file or directory (........srctoolsmesh_extractorChunkedData.cpp) d:users_sysgameswowmangosgittrinity_600srctoolsmesh_extractorMPQ.h 21 1 MeshExtractor Error 2 error C1083: Cannot open include file: 'DetourNavMesh.h': No such file or directory (........srctoolsmesh_extractorADT.cpp) d:users_sysgameswowmangosgittrinity_600srctoolsmesh_extractorUtils.h 25 1 MeshExtractor Error 3 error C1083: Cannot open include file: 'DetourNavMesh.h': No such file or directory (........srctoolsmesh_extractorLiquidHandler.cpp) d:users_sysgameswowmangosgittrinity_600srctoolsmesh_extractorUtils.h 25 1 MeshExtractor Error 4 error C1083: Cannot open include file: 'libmpq/mpq.h': No such file or directory (........srctoolsmesh_extractorMeshExtractor.cpp) d:users_sysgameswowmangosgittrinity_600srctoolsmesh_extractorMPQ.h 21 1 MeshExtractor Error 5 error C1083: Cannot open include file: 'libmpq/mpq.h': No such file or directory (........srctoolsmesh_extractorMPQ.cpp) d:users_sysgameswowmangosgittrinity_600srctoolsmesh_extractorMPQ.h 21 1 MeshExtractor Error 6 error C1083: Cannot open include file: 'DetourNavMesh.h': No such file or directory (........srctoolsmesh_extractorDoodadHandler.cpp) d:users_sysgameswowmangosgittrinity_600srctoolsmesh_extractorUtils.h 25 1 MeshExtractor Error 7 error C1083: Cannot open include file: 'libmpq/mpq.h': No such file or directory (........srctoolsmesh_extractorMPQManager.cpp) d:users_sysgameswowmangosgittrinity_600srctoolsmesh_extractorMPQ.h 21 1 MeshExtractor Error 8 error C1083: Cannot open include file: 'DetourNavMesh.h': No such file or directory (........srctoolsmesh_extractorContinentBuilder.cpp) d:users_sysgameswowmangosgittrinity_600srctoolsmesh_extractorUtils.h 25 1 MeshExtractor Error 9 error C1083: Cannot open include file: 'DetourNavMesh.h': No such file or directory (........srctoolsmesh_extractorChunk.cpp) d:users_sysgameswowmangosgittrinity_600srctoolsmesh_extractorUtils.h 25 1 MeshExtractor Error 10 error C1083: Cannot open include file: 'DetourNavMesh.h': No such file or directory (........srctoolsmesh_extractorGeometry.cpp) d:users_sysgameswowmangosgittrinity_600srctoolsmesh_extractorUtils.h 25 1 MeshExtractor Error 11 error C1083: Cannot open include file: 'DetourNavMesh.h': No such file or directory (........srctoolsmesh_extractorMapChunk.cpp) d:users_sysgameswowmangosgittrinity_600srctoolsmesh_extractorUtils.h 25 1 MeshExtractor Error 12 error C1083: Cannot open include file: 'DetourNavMesh.h': No such file or directory (........srctoolsmesh_extractorModel.cpp) d:users_sysgameswowmangosgittrinity_600srctoolsmesh_extractorUtils.h 25 1 MeshExtractor Error 13 error C1083: Cannot open include file: 'DetourNavMesh.h': No such file or directory (........srctoolsmesh_extractorTileBuilder.cpp) d:users_sysgameswowmangosgittrinity_600srctoolsmesh_extractorUtils.h 25 1 MeshExtractor Error 14 error C1083: Cannot open include file: 'DetourNavMesh.h': No such file or directory (........srctoolsmesh_extractorObjectDataHandler.cpp) d:users_sysgameswowmangosgittrinity_600srctoolsmesh_extractorUtils.h 25 1 MeshExtractor Error 15 error C1083: Cannot open include file: 'DetourNavMesh.h': No such file or directory (........srctoolsmesh_extractorUtils.cpp) d:users_sysgameswowmangosgittrinity_600srctoolsmesh_extractorUtils.h 25 1 MeshExtractor Error 16 error C1083: Cannot open include file: 'DetourNavMesh.h': No such file or directory (........srctoolsmesh_extractorWDT.cpp) d:users_sysgameswowmangosgittrinity_600srctoolsmesh_extractorUtils.h 25 1 MeshExtractor Error 17 error C1083: Cannot open include file: 'DetourNavMesh.h': No such file or directory (........srctoolsmesh_extractorWorldModelGroup.cpp) d:users_sysgameswowmangosgittrinity_600srctoolsmesh_extractorUtils.h 25 1 MeshExtractor Error 18 error C1083: Cannot open include file: 'DetourNavMesh.h': No such file or directory (........srctoolsmesh_extractorWorldModelHandler.cpp) d:users_sysgameswowmangosgittrinity_600srctoolsmesh_extractorUtils.h 25 1 MeshExtractor Error 19 error C1083: Cannot open include file: 'DetourNavMesh.h': No such file or directory (........srctoolsmesh_extractorWorldModelRoot.cpp) d:users_sysgameswowmangosgittrinity_600srctoolsmesh_extractorUtils.h 25 1 MeshExtractor If I remove mesh I do not have it obviously but what I need to make it ruuning ? if it is put inside the code is for something isn't it ? Link to comment Share on other sites More sharing options...
Aokromes Posted January 27, 2015 Report Share Posted January 27, 2015 update core and rerun cmake, mesh extractor was removed because it was unfinished experimental broken stuff. Link to comment Share on other sites More sharing options...
gustavka Posted January 29, 2015 Report Share Posted January 29, 2015 Hello, i have just 3 questions which answers i didn't found in the FAQ. During the compilation i got just twice the message "warning: dereferencing type-punned pointer will break strict-aliasing rules" First time: In file included from /home/wow/TrinityCore/src/server/shared/Utilities/Util.cpp:23:0: /home/wow/TrinityCore/dep/SFMT/SFMT.h: In member function void SFMTRand::RandomInit(int): /home/wow/TrinityCore/dep/SFMT/SFMT.h:176:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Second time: /home/wow/TrinityCore/src/server/game/Server/Protocol/PacketLog.cpp: In member function void PacketLog::LogPacket(const WorldPacket&, Direction, const boost::asio::ip::address&, uint16)â: /home/wow/TrinityCore/src/server/game/Server/Protocol/PacketLog.cpp:106:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1.) question: How important are these messages. Google isn't very helpful. I don't understand it. At one point in the installation guide i read cd ~/TrinityCore/ git pull origin master I did it and got: wow@zentrum:~/server/etc$ cd ~/TrinityCore/ wow@zentrum:~/TrinityCore$ git pull origin master fatal: Couldn't find remote ref master Without "master" i get: wow@zentrum:~/TrinityCore$ git pull origin Already up-to-date. 2.) question: What's the difference? 3.) question: I understood in the guide to compile the software as "user". Why do some guys it as root? Before i started with the installation guide (hadn't any of the listed packages installed) i'd updated my system: - Debian 7.8 (3.2.0-4-amd64 #1 SMP Debian 3.2.63-2+deb7u2 x86_64 GNU/Linux) - AMD Phenom 9600 Quad-Core Processor Thanks for any answer. Gustav PS: It's my first installation under linux. I had an older server under Windows XP and couldn't keep it up to date. Link to comment Share on other sites More sharing options...
Nay Posted January 29, 2015 Report Share Posted January 29, 2015 1) No issue, you can ignore warnings (that's why they are called warnings and not errors) 2) branch master has been renamed to 3.3.5 some months ago, you need to do 'git pull origin 3.3.5' (assuming you are on 3.3.5) 2.1) Already up-to-date means you already have all the new commits and nothing was changed since last git pull. 3) You need root to use apt-get install to install dependencies. All the steps after that can be done without super user. Link to comment Share on other sites More sharing options...
helixhamin Posted February 7, 2015 Report Share Posted February 7, 2015 Hmm, no matter how I do this, I still get two errors. I solved all the others, but cannot solve these: Error 1 error LNK1107: invalid or corrupt file: cannot read at 0x368 C:Program FilesMySQLMySQL Server 5.6liblibmysql.dll 1 1 bnetserver Error 5 error LNK1107: invalid or corrupt file: cannot read at 0x368 C:Program FilesMySQLMySQL Server 5.6liblibmysql.dll 1 1 worldserver Yes, I have tried using the GIT download version (As recommended in the thread), as well as manually linking to my MySQL install. Both give me the same error. Link to comment Share on other sites More sharing options...
Nay Posted February 7, 2015 Report Share Posted February 7, 2015 MYSQL_LIBRARY needs to be the .lib file, NOT .dll Link to comment Share on other sites More sharing options...
helixhamin Posted February 8, 2015 Report Share Posted February 8, 2015 MYSQL_LIBRARY needs to be the .lib file, NOT .dll Bleh, thanks for pointing that out. Stupid mistake... But, strange, it doesn't work when I link to my installed mySQL, but it does when I link to the downloaded mySQL files from the git. Either way, thanks for pointing out my stupid, all solved. Link to comment Share on other sites More sharing options...
Scias Posted February 8, 2015 Report Share Posted February 8, 2015 Use linux with QT Creator. Will be a lot simplier. Link to comment Share on other sites More sharing options...
Serniksernik Posted February 10, 2015 Report Share Posted February 10, 2015 Hello, i'm having problems with cmake ../ -DPREFIX=/home/`echo $USER`/server -DTOOLS=1 ( i followed this) http://www.ownedcore.com/forums/world-of-warcraft/world-of-warcraft-emulator-servers/wow-emu-guides-tutorials/447028-how-compile-trinity-linux-ubuntu-pictures.html for first i had problem with finding ZMQ libraries i solved it by sudo apt-get install libzmq-dev after that i tried again cmake ../ -DPREFIX=/home/`echo $USER`/server -DTOOLS=1 not im getting this error and second log file Determining if the pthread_create exist failed with the following output: Change Dir: /home/TrinityCore/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec2986375289/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec2986375289.dir/build.make CMakeFiles/cmTryCompileExec2986375289.dir/build make[1]: Entering directory '/home/TrinityCore/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /home/TrinityCore/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2986375289.dir/CheckSymbolExists.c.o /usr/bin/cc -std=gnu99 -o CMakeFiles/cmTryCompileExec2986375289.dir/CheckSymbolExists.c.o -c /home/TrinityCore/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec2986375289 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2986375289.dir/link.txt --verbose=1 /usr/bin/cc -std=gnu99 CMakeFiles/cmTryCompileExec2986375289.dir/CheckSymbolExists.c.o -o cmTryCompileExec2986375289 -rdynamic CMakeFiles/cmTryCompileExec2986375289.dir/CheckSymbolExists.c.o: In function `main': CheckSymbolExists.c:(.text+0x16): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status CMakeFiles/cmTryCompileExec2986375289.dir/build.make:88: recipe for target 'cmTryCompileExec2986375289' failed make[1]: Leaving directory '/home/TrinityCore/build/CMakeFiles/CMakeTmp' make[1]: *** [cmTryCompileExec2986375289] Error 1 Makefile:114: recipe for target 'cmTryCompileExec2986375289/fast' failed make: *** [cmTryCompileExec2986375289/fast] Error 2 File /home/TrinityCore/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include <pthread.h> int main(int argc, char** argv) { (void)argv; #ifndef pthread_create return ((int*)(&pthread_create))[argc]; #else (void)argc; return 0; #endif } Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: /home/TrinityCore/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec1377397327/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec1377397327.dir/build.make CMakeFiles/cmTryCompileExec1377397327.dir/build make[1]: Entering directory '/home/TrinityCore/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /home/TrinityCore/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1377397327.dir/CheckFunctionExists.c.o /usr/bin/cc -std=gnu99 -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTryCompileExec1377397327.dir/CheckFunctionExists.c.o -c /usr/share/cmake-2.8/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec1377397327 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1377397327.dir/link.txt --verbose=1 /usr/bin/cc -std=gnu99 -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTryCompileExec1377397327.dir/CheckFunctionExists.c.o -o cmTryCompileExec1377397327 -rdynamic -lpthreads /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status CMakeFiles/cmTryCompileExec1377397327.dir/build.make:88: recipe for target 'cmTryCompileExec1377397327' failed make[1]: Leaving directory '/home/TrinityCore/build/CMakeFiles/CMakeTmp' make[1]: *** [cmTryCompileExec1377397327] Error 1 Makefile:114: recipe for target 'cmTryCompileExec1377397327/fast' failed make: *** [cmTryCompileExec1377397327/fast] Error 2 Performing C++ SOURCE FILE Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM failed with the following output: Change Dir: /home/TrinityCore/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec227087680/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec227087680.dir/build.make CMakeFiles/cmTryCompileExec227087680.dir/build make[1]: Entering directory '/home/TrinityCore/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /home/TrinityCore/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec227087680.dir/src.cxx.o /usr/bin/c++ -std=c++11 -Dboost_filesystem_copy_links_without_NO_SCOPED_ENUM -std=c++11 -o CMakeFiles/cmTryCompileExec227087680.dir/src.cxx.o -c /home/TrinityCore/build/CMakeFiles/CMakeTmp/src.cxx Linking CXX executable cmTryCompileExec227087680 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec227087680.dir/link.txt --verbose=1 /usr/bin/c++ -std=c++11 -Dboost_filesystem_copy_links_without_NO_SCOPED_ENUM -std=c++11 CMakeFiles/cmTryCompileExec227087680.dir/src.cxx.o -o cmTryCompileExec227087680 -rdynamic CMakeFiles/cmTryCompileExec227087680.dir/src.cxx.o: In function `__static_initialization_and_destruction_0(int, int)': src.cxx:(.text+0xe4): undefined reference to `boost::system::generic_category()' src.cxx:(.text+0xf0): undefined reference to `boost::system::generic_category()' src.cxx:(.text+0xfc): undefined reference to `boost::system::system_category()' CMakeFiles/cmTryCompileExec227087680.dir/src.cxx.o: In function `boost::filesystem::copy_file(boost::filesystem::path const&, boost::filesystem::path const&)': src.cxx:(.text._ZN5boost10filesystem9copy_fileERKNS0_4pathES3_[_ZN5boost10filesystem9copy_fileERKNS0_4pathES3_]+0x26): undefined reference to `boost::filesystem::detail::copy_file(boost::filesystem::path const&, boost::filesystem::path const&, boost::filesystem::copy_option, boost::system::error_code*)' collect2: error: ld returned 1 exit status CMakeFiles/cmTryCompileExec227087680.dir/build.make:88: recipe for target 'cmTryCompileExec227087680' failed make[1]: Leaving directory '/home/TrinityCore/build/CMakeFiles/CMakeTmp' make[1]: *** [cmTryCompileExec227087680] Error 1 Makefile:114: recipe for target 'cmTryCompileExec227087680/fast' failed make: *** [cmTryCompileExec227087680/fast] Error 2 Source file was: #include <boost/filesystem/path.hpp> #include <boost/filesystem/operations.hpp> int main() { boost::filesystem::copy_file(boost::filesystem::path(), boost::filesystem::path()); } Link to comment Share on other sites More sharing options...
Nay Posted February 10, 2015 Report Share Posted February 10, 2015 ( i followed this) http://www.ownedcore...u-pictures.html The guide is old, outdated and mostly wrong. Our wiki has instructions on how to compile TrinityCore for the 3 platforms we support, including Linux: http://collab.kpsn.org/display/tc/Installation+Guide Link to comment Share on other sites More sharing options...
silverz Posted February 10, 2015 Report Share Posted February 10, 2015 http://pastebin.com/teUmrEGF [root@ns3097542 yum.repos.d]# gcc --version gcc (GCC) 4.8.2 20140120 (Red Hat 4.8.2-16) Copyright © 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Link to comment Share on other sites More sharing options...
Aokromes Posted February 11, 2015 Report Share Posted February 11, 2015 http://pastebin.com/teUmrEGF [root@ns3097542 yum.repos.d]# gcc --version gcc (GCC) 4.8.2 20140120 (Red Hat 4.8.2-16) Copyright © 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Increase ram amount or swap. Link to comment Share on other sites More sharing options...
Arkanor Posted February 13, 2015 Report Share Posted February 13, 2015 I'm having some issues when running CMake, I get this message when configuring: CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: LIB_EAY_DEBUG (ADVANCED) linked by target "authserver" in directory C:/Trinity/src/server/authserver linked by target "worldserver" in directory C:/Trinity/src/server/worldserver LIB_EAY_RELEASE (ADVANCED) linked by target "authserver" in directory C:/Trinity/src/server/authserver linked by target "worldserver" in directory C:/Trinity/src/server/worldserver SSL_EAY_DEBUG (ADVANCED) linked by target "authserver" in directory C:/Trinity/src/server/authserver linked by target "worldserver" in directory C:/Trinity/src/server/worldserver SSL_EAY_RELEASE (ADVANCED) linked by target "authserver" in directory C:/Trinity/src/server/authserver linked by target "worldserver" in directory C:/Trinity/src/server/worldserver I have installed OpenSSL (non-light version, 32-bit), tried different version as well. I can make the CMake configure by manually editing CMakeCache with the paths to the libraries, but that just gives me compiler errors instead. Anyone able to point me in the right direction regarding what I might be messing up? Link to comment Share on other sites More sharing options...
Nay Posted February 13, 2015 Report Share Posted February 13, 2015 This is how I have OpenSSL configured locally (change Win64 to Win32 in your case): - LIB_EAY_DEBUG C:/OpenSSL-Win64/lib/VC/libeay32MDd.lib - LIB_EAY_RELEASE C:/OpenSSL-Win64/lib/VC/libeay32MD.lib - SSL_EAY_DEBUG C:/OpenSSL-Win64/lib/VC/ssleay32MDd.lib - SSL_EAY_RELEASE C:/OpenSSL-Win64/lib/VC/ssleay32MD.lib Link to comment Share on other sites More sharing options...
Arkanor Posted February 13, 2015 Report Share Posted February 13, 2015 Thanks for the quick reply, but turns out I had done something very silly. I had chosen Visual Studio 2013 x64 instead of the regular one, changed that and it's working as intended. Apologies for the uneccessary post. Link to comment Share on other sites More sharing options...
Nay Posted February 13, 2015 Report Share Posted February 13, 2015 Glad you got it fixed but why use 32 bits when you got 64 bits available? Link to comment Share on other sites More sharing options...
Arkanor Posted February 13, 2015 Report Share Posted February 13, 2015 (edited) Because I already had 32bit boost on my laptop. I intend to compile 64 bit once I get home to my proper connection, where I am currently it takes ages to download 64bit boost. Edited February 13, 2015 by Arkanor Link to comment Share on other sites More sharing options...
michael923 Posted February 16, 2015 Report Share Posted February 16, 2015 can someone screenshot what cmake should look like, (with advanced ticked) and how we should have our ZMQ, mysql, git, libs, includes, links, etc.. I'm running into a problem with the worldserver starting. The server.log tells me it can't access mysql, I know the config is setup correctly because bnetserver.exe runs just fine (so it appears anyways) and connects to the db no problem, unlike worldserver.exe. I happened to leave the coding scene around 2012 and just came back to what seems generations later, everything is different enough to throw me off by a mile. If anyone could boost me up to this century of trinitycore, I would highly appreciate it! Link to comment Share on other sites More sharing options...
Nay Posted February 16, 2015 Report Share Posted February 16, 2015 If you ran CMake without issues and compiled without errors there's nothing you can change in CMake to 'fix' your issue. Make sure that you created and built the databases correctly. Link to comment Share on other sites More sharing options...
michael923 Posted February 16, 2015 Report Share Posted February 16, 2015 What is boost used for, explained for dummies? Link to comment Share on other sites More sharing options...
Recommended Posts