Jump to content
TrinityCore

Visual Studio - Build problem


Tharanei
 Share

Recommended Posts

Hello everyone,

I'm following the Wiki and try to set up a 3.3.5 server.

So far i did install all the requirement.
(VisualStudio 2017, boost 1_66_0 (32 and 64bit), cmake 32 bit (did try the 64 bit one too), mysql server community edition and Open SSL (32 and 64 bit)).

I had no problem with the cmake step.

But when i use visual studio, i ran into a problem.
"
22>   Création de la bibliothèque C:/WOW_Trinity/Build/src/server/authserver/RelWithDebInfo/authserver.lib et de l'objet C:/WOW_Trinity/Build/src/server/authserver/RelWithDebInfo/authserver.exp
20>ScriptedGossip.cpp
20>SmartAI.cpp
21>cs_gm.cpp
21>cs_go.cpp
22>database.lib(MySQLThreading.obj) : error LNK2019: symbole externe non résolu _mysql_server_init@12 référencé dans la fonction "void __cdecl MySQL::Library_Init(void)" (?Library_Init@MySQL@@YAXXZ)
22>database.lib(MySQLThreading.obj) : error LNK2019: symbole externe non résolu _mysql_server_end@0 référencé dans la fonction "void __cdecl MySQL::Library_End(void)" (?Library_End@MySQL@@YAXXZ)
22>database.lib(DatabaseWorkerPool.obj) : error LNK2019: symbole externe non résolu _mysql_get_client_info@0 référencé dans la fonction "public: __thiscall DatabaseWorkerPool<class CharacterDatabaseConnection>::DatabaseWorkerPool<class CharacterDatabaseConnection>(void)" (??0?$DatabaseWorkerPool@VCharacterDatabaseConnection@@@@QAE@XZ)
22>database.lib(MySQLConnection.obj) : error LNK2001: symbole externe non résolu _mysql_get_client_info@0
22>database.lib(DatabaseWorkerPool.obj) : error LNK2019: symbole externe non résolu _mysql_get_client_version@0 référencé dans la fonction "public: __thiscall DatabaseWorkerPool<class CharacterDatabaseConnection>::DatabaseWorkerPool<class CharacterDatabaseConnection>(void)" (??0?$DatabaseWorkerPool@VCharacterDatabaseConnection@@@@QAE@XZ)
22>database.lib(DatabaseWorkerPool.obj) : error LNK2019: symbole externe non résolu _mysql_thread_safe@0 référencé dans la fonction "public: __thiscall DatabaseWorkerPool<class CharacterDatabaseConnection>::DatabaseWorkerPool<class CharacterDatabaseConnection>(void)" (??0?$DatabaseWorkerPool@VCharacterDatabaseConnection@@@@QAE@XZ)
22>database.lib(QueryResult.obj) : error LNK2019: symbole externe non résolu _mysql_fetch_fields@4 référencé dans la fonction __catch$??0PreparedResultSet@@QAE@PAUMySQLStmt@@PAUMySQLResult@@_KI@Z$0
22>database.lib(MySQLConnection.obj) : error LNK2001: symbole externe non résolu _mysql_fetch_fields@4
22>database.lib(QueryResult.obj) : error LNK2019: symbole externe non résolu _mysql_error@4 référencé dans la fonction "public: bool __thiscall ResultSet::NextRow(void)" (?NextRow@ResultSet@@QAE_NXZ)
22>database.lib(MySQLConnection.obj) : error LNK2001: symbole externe non résolu _mysql_error@4
22>database.lib(QueryResult.obj) : error LNK2019: symbole externe non résolu _mysql_free_result@4 référencé dans la fonction "private: void __thiscall PreparedResultSet::CleanUp(void)" (?CleanUp@PreparedResultSet@@AAEXXZ)
22>database.lib(MySQLConnection.obj) : error LNK2001: symbole externe non résolu _mysql_free_result@4
22>database.lib(QueryResult.obj) : error LNK2019: symbole externe non résolu _mysql_fetch_row@4 référencé dans la fonction "public: bool __thiscall ResultSet::NextRow(void)" (?NextRow@ResultSet@@QAE_NXZ)
22>database.lib(QueryResult.obj) : error LNK2019: symbole externe non résolu _mysql_fetch_lengths@4 référencé dans la fonction "public: bool __thiscall ResultSet::NextRow(void)" (?NextRow@ResultSet@@QAE_NXZ)
20>SmartScript.cpp
22>database.lib(QueryResult.obj) : error LNK2019: symbole externe non résolu _mysql_stmt_fetch@4 référencé dans la fonction "private: bool __thiscall PreparedResultSet::_NextRow(void)" (?_NextRow@PreparedResultSet@@AAE_NXZ)
22>database.lib(QueryResult.obj) : error LNK2019: symbole externe non résolu _mysql_stmt_store_result@4 référencé dans la fonction "public: __thiscall PreparedResultSet::PreparedResultSet(struct MySQLStmt *,struct MySQLResult *,unsigned __int64,unsigned int)" (??0PreparedResultSet@@QAE@PAUMySQLStmt@@PAUMySQLResult@@_KI@Z)
22>database.lib(QueryResult.obj) : error LNK2019: symbole externe non résolu _mysql_stmt_bind_result@8 référencé dans la fonction __catch$??0PreparedResultSet@@QAE@PAUMySQLStmt@@PAUMySQLResult@@_KI@Z$0
22>database.lib(QueryResult.obj) : error LNK2019: symbole externe non résolu _mysql_stmt_free_result@4 référencé dans la fonction __catch$??0PreparedResultSet@@QAE@PAUMySQLStmt@@PAUMySQLResult@@_KI@Z$2
22>database.lib(QueryResult.obj) : error LNK2019: symbole externe non résolu _mysql_stmt_error@4 référencé dans la fonction "public: __thiscall PreparedResultSet::PreparedResultSet(struct MySQLStmt *,struct MySQLResult *,unsigned __int64,unsigned int)" (??0PreparedResultSet@@QAE@PAUMySQLStmt@@PAUMySQLResult@@_KI@Z)
20>SmartScriptMgr.cpp
22>database.lib(MySQLConnection.obj) : error LNK2001: symbole externe non résolu _mysql_stmt_error@4
22>database.lib(QueryResult.obj) : error LNK2019: symbole externe non résolu _mysql_stmt_num_rows@4 référencé dans la fonction __catch$??0PreparedResultSet@@QAE@PAUMySQLStmt@@PAUMySQLResult@@_KI@Z$0
22>database.lib(MySQLConnection.obj) : error LNK2001: symbole externe non résolu _mysql_stmt_num_rows@4
22>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_field_count@4 référencé dans la fonction __catch$?_Query@MySQLConnection@@QAE_NPBDPAPAUMySQLResult@@PAPAUMySQLField@@PA_KPAI@Z$4
20>AccountMgr.cpp
22>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_affected_rows@4 référencé dans la fonction __catch$?_Query@MySQLConnection@@QAE_NPBDPAPAUMySQLResult@@PAPAUMySQLField@@PA_KPAI@Z$4
22>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_errno@4 référencé dans la fonction "public: bool __thiscall MySQLConnection::Execute(class PreparedStatement *)" (?Execute@MySQLConnection@@QAE_NPAVPreparedStatement@@@Z)
22>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_set_character_set@8 référencé dans la fonction __catch$?Open@MySQLConnection@@UAEIXZ$6
22>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_init@4 référencé dans la fonction "public: virtual unsigned int __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAEIXZ)
22>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_real_connect@32 référencé dans la fonction __catch$?Open@MySQLConnection@@UAEIXZ$0
22>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_query@8 référencé dans la fonction "public: bool __thiscall MySQLConnection::Execute(char const *)" (?Execute@MySQLConnection@@QAE_NPBD@Z)
22>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_store_result@4 référencé dans la fonction __catch$?_Query@MySQLConnection@@QAE_NPBDPAPAUMySQLResult@@PAPAUMySQLField@@PA_KPAI@Z$4
22>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_ping@4 référencé dans la fonction "public: void __thiscall MySQLConnection::Ping(void)" (?Ping@MySQLConnection@@QAEXXZ)
22>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_get_server_info@4 référencé dans la fonction __catch$?Open@MySQLConnection@@UAEIXZ$2
22>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_get_server_version@4 référencé dans la fonction "protected: unsigned int __thiscall MySQLConnection::GetServerVersion(void)const " (?GetServerVersion@MySQLConnection@@IBEIXZ)
22>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_options@12 référencé dans la fonction __catch$?Open@MySQLConnection@@UAEIXZ$0
22>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_real_escape_string@16 référencé dans la fonction "public: unsigned int __thiscall MySQLConnection::EscapeString(char *,char const *,unsigned int)" (?EscapeString@MySQLConnection@@QAEIPADPBDI@Z)
22>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_stmt_init@4 référencé dans la fonction "protected: void __thiscall MySQLConnection::PrepareStatement(unsigned int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,enum ConnectionFlags)" (?PrepareStatement@MySQLConnection@@IAEXIABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@W4ConnectionFlags@@@Z)
22>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_stmt_prepare@12 référencé dans la fonction __catch$?PrepareStatement@MySQLConnection@@IAEXIABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@W4ConnectionFlags@@@Z$2
22>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_stmt_execute@4 référencé dans la fonction __catch$?Execute@MySQLConnection@@QAE_NPAVPreparedStatement@@@Z$0
22>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_stmt_bind_param@8 référencé dans la fonction "public: bool __thiscall MySQLConnection::Execute(class PreparedStatement *)" (?Execute@MySQLConnection@@QAE_NPAVPreparedStatement@@@Z)
22>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_stmt_close@4 référencé dans la fonction __catch$?PrepareStatement@MySQLConnection@@IAEXIABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@W4ConnectionFlags@@@Z$4
22>database.lib(MySQLPreparedStatement.obj) : error LNK2001: symbole externe non résolu _mysql_stmt_close@4
22>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_stmt_result_metadata@4 référencé dans la fonction __catch$?_Query@MySQLConnection@@QAE_NPAVPreparedStatement@@PAPAUMySQLResult@@PA_KPAI@Z$4
22>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_stmt_field_count@4 référencé dans la fonction __catch$?_Query@MySQLConnection@@QAE_NPAVPreparedStatement@@PAPAUMySQLResult@@PA_KPAI@Z$4
22>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_autocommit@8 référencé dans la fonction __catch$?Open@MySQLConnection@@UAEIXZ$6
22>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_more_results@4 référencé dans la fonction "public: class PreparedResultSet * __thiscall MySQLConnection::Query(class PreparedStatement *)" (?Query@MySQLConnection@@QAEPAVPreparedResultSet@@PAVPreparedStatement@@@Z)
22>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_next_result@4 référencé dans la fonction "public: class PreparedResultSet * __thiscall MySQLConnection::Query(class PreparedStatement *)" (?Query@MySQLConnection@@QAEPAVPreparedResultSet@@PAVPreparedStatement@@@Z)
22>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_close@4 référencé dans la fonction "public: void __thiscall MySQLConnection::Close(void)" (?Close@MySQLConnection@@QAEXXZ)
22>database.lib(MySQLPreparedStatement.obj) : error LNK2019: symbole externe non résolu _mysql_stmt_param_count@4 référencé dans la fonction "public: __thiscall MySQLPreparedStatement::MySQLPreparedStatement(struct MySQLStmt *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (??0MySQLPreparedStatement@@QAE@PAUMySQLStmt@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
22>database.lib(MySQLPreparedStatement.obj) : error LNK2019: symbole externe non résolu _mysql_stmt_attr_set@12 référencé dans la fonction "public: __thiscall MySQLPreparedStatement::MySQLPreparedStatement(struct MySQLStmt *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (??0MySQLPreparedStatement@@QAE@PAUMySQLStmt@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
22>C:\Program Files\MySQL\MySQL Server 8.0\lib\libmysql.lib : warning LNK4272: type d'ordinateur bibliothèque 'x64' en conflit avec le type d'ordinateur cible 'x86'
22>C:\WOW_Trinity\Build\bin\RelWithDebInfo\authserver.exe : fatal error LNK1120: 42 externes non résolus
22>Génération du projet "authserver.vcxproj" terminée -- ÉCHEC.

"

And a second one :
"

23>   Création de la bibliothèque C:/WOW_Trinity/Build/src/server/worldserver/RelWithDebInfo/worldserver.lib et de l'objet C:/WOW_Trinity/Build/src/server/worldserver/RelWithDebInfo/worldserver.exp
23>database.lib(MySQLThreading.obj) : error LNK2019: symbole externe non résolu _mysql_server_init@12 référencé dans la fonction "void __cdecl MySQL::Library_Init(void)" (?Library_Init@MySQL@@YAXXZ)
23>database.lib(MySQLThreading.obj) : error LNK2019: symbole externe non résolu _mysql_server_end@0 référencé dans la fonction "void __cdecl MySQL::Library_End(void)" (?Library_End@MySQL@@YAXXZ)
23>database.lib(DatabaseWorkerPool.obj) : error LNK2019: symbole externe non résolu _mysql_get_client_info@0 référencé dans la fonction "public: __thiscall DatabaseWorkerPool<class CharacterDatabaseConnection>::DatabaseWorkerPool<class CharacterDatabaseConnection>(void)" (??0?$DatabaseWorkerPool@VCharacterDatabaseConnection@@@@QAE@XZ)
23>database.lib(MySQLConnection.obj) : error LNK2001: symbole externe non résolu _mysql_get_client_info@0
23>database.lib(DatabaseWorkerPool.obj) : error LNK2019: symbole externe non résolu _mysql_get_client_version@0 référencé dans la fonction "public: __thiscall DatabaseWorkerPool<class CharacterDatabaseConnection>::DatabaseWorkerPool<class CharacterDatabaseConnection>(void)" (??0?$DatabaseWorkerPool@VCharacterDatabaseConnection@@@@QAE@XZ)
23>database.lib(DatabaseWorkerPool.obj) : error LNK2019: symbole externe non résolu _mysql_thread_safe@0 référencé dans la fonction "public: __thiscall DatabaseWorkerPool<class CharacterDatabaseConnection>::DatabaseWorkerPool<class CharacterDatabaseConnection>(void)" (??0?$DatabaseWorkerPool@VCharacterDatabaseConnection@@@@QAE@XZ)
23>database.lib(QueryResult.obj) : error LNK2019: symbole externe non résolu _mysql_fetch_fields@4 référencé dans la fonction __catch$??0PreparedResultSet@@QAE@PAUMySQLStmt@@PAUMySQLResult@@_KI@Z$0
23>database.lib(MySQLConnection.obj) : error LNK2001: symbole externe non résolu _mysql_fetch_fields@4
23>database.lib(QueryResult.obj) : error LNK2019: symbole externe non résolu _mysql_error@4 référencé dans la fonction "public: bool __thiscall ResultSet::NextRow(void)" (?NextRow@ResultSet@@QAE_NXZ)
23>database.lib(MySQLConnection.obj) : error LNK2001: symbole externe non résolu _mysql_error@4
23>database.lib(QueryResult.obj) : error LNK2019: symbole externe non résolu _mysql_free_result@4 référencé dans la fonction "private: void __thiscall PreparedResultSet::CleanUp(void)" (?CleanUp@PreparedResultSet@@AAEXXZ)
23>database.lib(MySQLConnection.obj) : error LNK2001: symbole externe non résolu _mysql_free_result@4
23>database.lib(QueryResult.obj) : error LNK2019: symbole externe non résolu _mysql_fetch_row@4 référencé dans la fonction "public: bool __thiscall ResultSet::NextRow(void)" (?NextRow@ResultSet@@QAE_NXZ)
23>database.lib(QueryResult.obj) : error LNK2019: symbole externe non résolu _mysql_fetch_lengths@4 référencé dans la fonction "public: bool __thiscall ResultSet::NextRow(void)" (?NextRow@ResultSet@@QAE_NXZ)
23>database.lib(QueryResult.obj) : error LNK2019: symbole externe non résolu _mysql_stmt_fetch@4 référencé dans la fonction "private: bool __thiscall PreparedResultSet::_NextRow(void)" (?_NextRow@PreparedResultSet@@AAE_NXZ)
23>database.lib(QueryResult.obj) : error LNK2019: symbole externe non résolu _mysql_stmt_store_result@4 référencé dans la fonction "public: __thiscall PreparedResultSet::PreparedResultSet(struct MySQLStmt *,struct MySQLResult *,unsigned __int64,unsigned int)" (??0PreparedResultSet@@QAE@PAUMySQLStmt@@PAUMySQLResult@@_KI@Z)
23>database.lib(QueryResult.obj) : error LNK2019: symbole externe non résolu _mysql_stmt_bind_result@8 référencé dans la fonction __catch$??0PreparedResultSet@@QAE@PAUMySQLStmt@@PAUMySQLResult@@_KI@Z$0
23>database.lib(QueryResult.obj) : error LNK2019: symbole externe non résolu _mysql_stmt_free_result@4 référencé dans la fonction __catch$??0PreparedResultSet@@QAE@PAUMySQLStmt@@PAUMySQLResult@@_KI@Z$2
23>database.lib(QueryResult.obj) : error LNK2019: symbole externe non résolu _mysql_stmt_error@4 référencé dans la fonction "public: __thiscall PreparedResultSet::PreparedResultSet(struct MySQLStmt *,struct MySQLResult *,unsigned __int64,unsigned int)" (??0PreparedResultSet@@QAE@PAUMySQLStmt@@PAUMySQLResult@@_KI@Z)
23>database.lib(MySQLConnection.obj) : error LNK2001: symbole externe non résolu _mysql_stmt_error@4
23>database.lib(QueryResult.obj) : error LNK2019: symbole externe non résolu _mysql_stmt_num_rows@4 référencé dans la fonction __catch$??0PreparedResultSet@@QAE@PAUMySQLStmt@@PAUMySQLResult@@_KI@Z$0
23>database.lib(MySQLConnection.obj) : error LNK2001: symbole externe non résolu _mysql_stmt_num_rows@4
23>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_field_count@4 référencé dans la fonction __catch$?_Query@MySQLConnection@@QAE_NPBDPAPAUMySQLResult@@PAPAUMySQLField@@PA_KPAI@Z$4
23>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_affected_rows@4 référencé dans la fonction __catch$?_Query@MySQLConnection@@QAE_NPBDPAPAUMySQLResult@@PAPAUMySQLField@@PA_KPAI@Z$4
23>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_errno@4 référencé dans la fonction "public: bool __thiscall MySQLConnection::Execute(class PreparedStatement *)" (?Execute@MySQLConnection@@QAE_NPAVPreparedStatement@@@Z)
23>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_set_character_set@8 référencé dans la fonction __catch$?Open@MySQLConnection@@UAEIXZ$6
23>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_init@4 référencé dans la fonction "public: virtual unsigned int __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAEIXZ)
23>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_real_connect@32 référencé dans la fonction __catch$?Open@MySQLConnection@@UAEIXZ$0
23>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_query@8 référencé dans la fonction "public: bool __thiscall MySQLConnection::Execute(char const *)" (?Execute@MySQLConnection@@QAE_NPBD@Z)
23>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_store_result@4 référencé dans la fonction __catch$?_Query@MySQLConnection@@QAE_NPBDPAPAUMySQLResult@@PAPAUMySQLField@@PA_KPAI@Z$4
23>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_ping@4 référencé dans la fonction "public: void __thiscall MySQLConnection::Ping(void)" (?Ping@MySQLConnection@@QAEXXZ)
23>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_get_server_info@4 référencé dans la fonction __catch$?Open@MySQLConnection@@UAEIXZ$2
23>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_get_server_version@4 référencé dans la fonction "protected: unsigned int __thiscall MySQLConnection::GetServerVersion(void)const " (?GetServerVersion@MySQLConnection@@IBEIXZ)
23>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_options@12 référencé dans la fonction __catch$?Open@MySQLConnection@@UAEIXZ$0
23>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_real_escape_string@16 référencé dans la fonction "public: unsigned int __thiscall MySQLConnection::EscapeString(char *,char const *,unsigned int)" (?EscapeString@MySQLConnection@@QAEIPADPBDI@Z)
23>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_stmt_init@4 référencé dans la fonction "protected: void __thiscall MySQLConnection::PrepareStatement(unsigned int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,enum ConnectionFlags)" (?PrepareStatement@MySQLConnection@@IAEXIABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@W4ConnectionFlags@@@Z)
23>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_stmt_prepare@12 référencé dans la fonction __catch$?PrepareStatement@MySQLConnection@@IAEXIABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@W4ConnectionFlags@@@Z$2
23>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_stmt_execute@4 référencé dans la fonction __catch$?Execute@MySQLConnection@@QAE_NPAVPreparedStatement@@@Z$0
23>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_stmt_bind_param@8 référencé dans la fonction "public: bool __thiscall MySQLConnection::Execute(class PreparedStatement *)" (?Execute@MySQLConnection@@QAE_NPAVPreparedStatement@@@Z)
23>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_stmt_close@4 référencé dans la fonction __catch$?PrepareStatement@MySQLConnection@@IAEXIABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@W4ConnectionFlags@@@Z$4
23>database.lib(MySQLPreparedStatement.obj) : error LNK2001: symbole externe non résolu _mysql_stmt_close@4
23>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_stmt_result_metadata@4 référencé dans la fonction __catch$?_Query@MySQLConnection@@QAE_NPAVPreparedStatement@@PAPAUMySQLResult@@PA_KPAI@Z$4
23>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_stmt_field_count@4 référencé dans la fonction __catch$?_Query@MySQLConnection@@QAE_NPAVPreparedStatement@@PAPAUMySQLResult@@PA_KPAI@Z$4
23>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_autocommit@8 référencé dans la fonction __catch$?Open@MySQLConnection@@UAEIXZ$6
23>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_more_results@4 référencé dans la fonction "public: class PreparedResultSet * __thiscall MySQLConnection::Query(class PreparedStatement *)" (?Query@MySQLConnection@@QAEPAVPreparedResultSet@@PAVPreparedStatement@@@Z)
23>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_next_result@4 référencé dans la fonction "public: class PreparedResultSet * __thiscall MySQLConnection::Query(class PreparedStatement *)" (?Query@MySQLConnection@@QAEPAVPreparedResultSet@@PAVPreparedStatement@@@Z)
23>database.lib(MySQLConnection.obj) : error LNK2019: symbole externe non résolu _mysql_close@4 référencé dans la fonction "public: void __thiscall MySQLConnection::Close(void)" (?Close@MySQLConnection@@QAEXXZ)
23>database.lib(MySQLPreparedStatement.obj) : error LNK2019: symbole externe non résolu _mysql_stmt_param_count@4 référencé dans la fonction "public: __thiscall MySQLPreparedStatement::MySQLPreparedStatement(struct MySQLStmt *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (??0MySQLPreparedStatement@@QAE@PAUMySQLStmt@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
23>database.lib(MySQLPreparedStatement.obj) : error LNK2019: symbole externe non résolu _mysql_stmt_attr_set@12 référencé dans la fonction "public: __thiscall MySQLPreparedStatement::MySQLPreparedStatement(struct MySQLStmt *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (??0MySQLPreparedStatement@@QAE@PAUMySQLStmt@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
23>C:\Program Files\MySQL\MySQL Server 8.0\lib\libmysql.lib : warning LNK4272: type d'ordinateur bibliothèque 'x64' en conflit avec le type d'ordinateur cible 'x86'
23>C:\WOW_Trinity\Build\bin\RelWithDebInfo\worldserver.exe : fatal error LNK1120: 42 externes non résolus
23>Génération du projet "worldserver.vcxproj" terminée -- ÉCHEC.
"
Thank you !

And sorry for the long potato post :(

Tharanei

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...