Jump to content
TrinityCore

FKZechs

Plebs
  • Posts

    1
  • Joined

  • Last visited

Everything posted by FKZechs

  1. Hey all, So I sincerely apologize if this has been discussed before but I couldn't find an issue quite like this when I searched the forums. I'm trying to compile a 4.3.4 build but when I compile in Visual C++ I get 2 fails. They are authserver.exe and worldserver.exe. I have followed the guides for compiling a server and tried searching for this issue but I can't seem to figure out what's causing it. I have a 64-bit system but I'm just compiling this in 32-bit to get the hang of it. I'm posting the failure for worldserver.exe here since it appears the authserver.exe failure is similar. It looks like some issue with MySQL but I'm trying to figure out exactly what the issue is. 12> Creating library C:/Build/src/server/worldserver/Release/worldserver.lib and object C:/Build/src/server/worldserver/Release/worldserver.exp 12>Main.obj : error LNK2019: unresolved external symbol _mysql_get_client_version@0 referenced in function "public: __thiscall DatabaseWorkerPool<class WorldDatabaseConnection>::DatabaseWorkerPool<class WorldDatabaseConnection>(void)" (??0?$DatabaseWorkerPool@VWorldDatabaseConnection@@@@QAE@XZ) 12>Main.obj : error LNK2019: unresolved external symbol _mysql_thread_safe@0 referenced in function "public: __thiscall DatabaseWorkerPool<class WorldDatabaseConnection>::DatabaseWorkerPool<class WorldDatabaseConnection>(void)" (??0?$DatabaseWorkerPool@VWorldDatabaseConnection@@@@QAE@XZ) 12>Master.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) 12>Master.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) 12>Master.obj : error LNK2019: unresolved external symbol _mysql_get_server_version@4 referenced in function "public: bool __thiscall DatabaseWorkerPool<class WorldDatabaseConnection>::Open(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned char,unsigned char)" (?Open@?$DatabaseWorkerPool@VWorldDatabaseConnection@@@@QAE_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@EE@Z) 12>game.lib(World.obj) : error LNK2019: unresolved external symbol _mysql_ping@4 referenced in function "public: void __thiscall MySQLConnection::Ping(void)" (?Ping@MySQLConnection@@QAEXXZ) 12>scripts.lib(cs_go.obj) : error LNK2001: unresolved external symbol _mysql_real_escape_string@16 12>scripts.lib(cs_ban.obj) : error LNK2001: unresolved external symbol _mysql_real_escape_string@16 12>game.lib(PlayerDump.obj) : error LNK2019: unresolved external symbol _mysql_real_escape_string@16 referenced in function "private: bool __thiscall PlayerDumpWriter::DumpTable(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,unsigned int,char const *,char const *,enum DumpTableType)" (?DumpTable@PlayerDumpWriter@@AAE_NAAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@IPBD1W4DumpTableType@@@Z) 12>scripts.lib(cs_wp.obj) : error LNK2001: unresolved external symbol _mysql_real_escape_string@16 12>scripts.lib(cs_misc.obj) : error LNK2001: unresolved external symbol _mysql_real_escape_string@16 12>scripts.lib(cs_gobject.obj) : error LNK2001: unresolved external symbol _mysql_real_escape_string@16 12>game.lib(CharacterHandler.obj) : error LNK2001: unresolved external symbol _mysql_real_escape_string@16 12>game.lib(Pet.obj) : error LNK2001: unresolved external symbol _mysql_real_escape_string@16 12>game.lib(PetitionsHandler.obj) : error LNK2001: unresolved external symbol _mysql_real_escape_string@16 12>game.lib(GroupHandler.obj) : error LNK2001: unresolved external symbol _mysql_real_escape_string@16 12>shared.lib(PreparedStatement.obj) : error LNK2019: unresolved external symbol _mysql_stmt_close@4 referenced in function "public: __thiscall MySQLPreparedStatement::~MySQLPreparedStatement(void)" (??1MySQLPreparedStatement@@QAE@XZ) 12>shared.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol _mysql_stmt_close@4 12>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) 12>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) 12>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol _mysql_stmt_fetch@4 referenced in function "private: bool __thiscall PreparedResultSet::_NextRow(void)" (?_NextRow@PreparedResultSet@@AAE_NXZ) 12>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol _mysql_free_result@4 referenced in function "private: void __thiscall ResultSet::CleanUp(void)" (?CleanUp@ResultSet@@AAEXXZ) 12>shared.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol _mysql_free_result@4 12>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) 12>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) 12>shared.lib(QueryResult.obj) : 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) 12>shared.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol _mysql_stmt_num_rows@4 12>shared.lib(QueryResult.obj) : 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) 12>shared.lib(QueryResult.obj) : 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) 12>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) 12>shared.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol _mysql_stmt_error@4 12>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) 12>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_error@4 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ) 12>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_close@4 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ) 12>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_set_character_set@8 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ) 12>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_autocommit@8 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ) 12>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_get_server_info@4 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ) 12>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_get_client_info@0 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ) 12>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_real_connect@32 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ) 12>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_options@12 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ) 12>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_init@4 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ) 12>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_errno@4 referenced in function "private: bool __thiscall MySQLConnection::_HandleMySQLErrno(unsigned int)" (?_HandleMySQLErrno@MySQLConnection@@AAE_NI@Z) 12>shared.lib(Transaction.obj) : error LNK2001: unresolved external symbol _mysql_errno@4 12>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_thread_id@4 referenced in function "private: bool __thiscall MySQLConnection::_HandleMySQLErrno(unsigned int)" (?_HandleMySQLErrno@MySQLConnection@@AAE_NI@Z) 12>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) 12>shared.lib(MySQLConnection.obj) : 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) 12>shared.lib(MySQLConnection.obj) : 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) 12>shared.lib(MySQLConnection.obj) : 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) 12>shared.lib(MySQLConnection.obj) : 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) 12>shared.lib(MySQLConnection.obj) : 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) 12>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) 12>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_stmt_execute@4 referenced in function "public: bool __thiscall MySQLConnection::Execute(class PreparedStatement *)" (?Execute@MySQLConnection@@QAE_NPAVPreparedStatement@@@Z) 12>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) 12>shared.lib(MySQLConnection.obj) : 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) 12>shared.lib(MySQLConnection.obj) : 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) 12>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) 12>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) 12>C:BuildbinReleaseworldserver.exe : fatal error LNK1120: 43 unresolved externals ========== Build: 11 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== OS: Windows 7 Ultimate x64 Visual C++ 2010 Express Sorry too if this isn't the format to post these errors in. I'm fairly new to all of this and still trying to figure everything out. Thank you all in advance for any help you can provide. -FKZechs
×
×
  • Create New...