Nay Posted February 16, 2015 Report Share Posted February 16, 2015 Threading, networking, filesystem access and other code utilities Link to comment Share on other sites More sharing options...
michael923 Posted February 16, 2015 Report Share Posted February 16, 2015 hmmm i got a crapton of errors, ill rep anyone to teamview and show me what to do from cmake to finish, back when i did this i didnt ever have to enter in paths to libs and includes, there was no boost or zmq... you just pulled core, cmake, build, extractor tools, get mysql server for me (xampp), load your database tables, and started server, change realmlist, wahoooo game time, but now there's obstacles for me. Anyone that's up to it would get a loyal friend for the rest of their computer life. Who would be stupid enough to turn that offer down? cmon.. Link to comment Share on other sites More sharing options...
Nay Posted February 16, 2015 Report Share Posted February 16, 2015 I don't understand, you said "The server.log tells me it can't access mysql" yet you can't compile it? Could you be a little more clear? Installing Trinity today is as easy as it was 2 years ago, as long as you follow and read the guides. http://collab.kpsn.org/display/tc/Installation+Guide Link to comment Share on other sites More sharing options...
michael923 Posted February 16, 2015 Report Share Posted February 16, 2015 i got a working copy but the worldserver.exe is bugged and i know it has to be because something is wrong when i cmake, it comes out like it's right and gives me a build but i must of found a rare bug, i think i have my boost messed up on cmake Link to comment Share on other sites More sharing options...
Nay Posted February 16, 2015 Report Share Posted February 16, 2015 I already told you it's not related to CMake if you already compiled. You likely messed up when building the world database. What steps did you follow to create the world database, exactly? (Files imported, commands executed, etc.) Link to comment Share on other sites More sharing options...
michael923 Posted February 16, 2015 Report Share Posted February 16, 2015 when i open up the trinitycore.sln after cmake is complete, i right click the solution and choose build all. It results in endless errors mostly, if not all relating to mysql and i know my server is on and running and the config files are set correctly and just saying if i fucked up before building the solution it doesnt mean i didnt mess up on something before the actual building process Link to comment Share on other sites More sharing options...
Nay Posted February 17, 2015 Report Share Posted February 17, 2015 Maybe I am sleepy or something but I am sure you said you got it running and now you are saying you have errors on compile. I don't understand. If you got errors, paste them, it's that simple I'm gonna guess you have linker errors due to mysql, see: http://collab.kpsn.org/pages/viewpage.action?pageId=12714432 Link to comment Share on other sites More sharing options...
michael923 Posted February 17, 2015 Report Share Posted February 17, 2015 no, i got bnet server running, i got a version compiled but its fucked up, it's useless, i must create a new one. I'm looking to be taught how to do it beginning to ending... sorry if my intentions weren't well explained, i thought i explained it perfectly. Probably from different areas with different dialog and slang obviously you've been here awhile and do this stuff everyday, you're good with what you do because you know what you're doing. Again, obvious, I used to be great with trinitycore, had a couple servers running even had my own linux dedicated host. I've been out for 2 years and real rusty, i need to get back into the everyday use of trinitycore, how to set it up, fix common errors, get that diagnostic synergy where you know whats wrong everytime. If you don't understand something i say just ask for clarification please. Link to comment Share on other sites More sharing options...
Nay Posted February 17, 2015 Report Share Posted February 17, 2015 Paste the errors/buildlog and I can help you fix it. Link to comment Share on other sites More sharing options...
michael923 Posted February 17, 2015 Report Share Posted February 17, 2015 (edited) server.log TrinityCore rev. unknown 1970-01-01 00:00:00 +0000 (Archived branch) (Win32, Release) (worldserver-daemon) <Ctrl-C> to stop. ______ __ /__ _ __ __/ __ /_/ / _ __ /_ ___ /_ , _ __ __ /`'__/ /' _ `/ / / / / / / _ _ _ _ _ _ _ _ __/`____ /_//_/ /_//_//_//_//__/ `/___/> C O R E /___/ http://TrinityCore.org /__/ Using configuration file worldserver.conf. Using SSL version: OpenSSL 1.0.1j 15 Oct 2014 (library: OpenSSL 1.0.1j 15 Oct 2014) Using Boost version: 1.56.0 DatabasePool world NOT opened. There were errors opening the MySQL connections. Check your SQLDriverLogFile for specific errors. Read wiki at http://collab.kpsn.org/display/tc/TrinityCore+Home Cannot connect to world database 127.0.0.1;3306;root;;world DBErrors.log In mysql_stmt_prepare() id: 8, sql: "INSERT INTO graveyard_zone (ID, GhostZone, Faction) VALUES (?, ?, ?)" Table 'world.graveyard_zone' doesn't exist In mysql_stmt_prepare() id: 9, sql: "DELETE FROM graveyard_zone WHERE ID = ? AND GhostZone = ? AND Faction = ?" Table 'world.graveyard_zone' doesn't exist In mysql_stmt_prepare() id: 12, sql: "INSERT INTO npc_vendor (entry, item, maxcount, incrtime, extendedcost, type) VALUES(?, ?, ?, ?, ?, ?)" Unknown column 'type' in 'field list' In mysql_stmt_prepare() id: 13, sql: "DELETE FROM npc_vendor WHERE entry = ? AND item = ? AND type = ?" Unknown column 'type' in 'where clause' In mysql_stmt_prepare() id: 8, sql: "INSERT INTO graveyard_zone (ID, GhostZone, Faction) VALUES (?, ?, ?)" Table 'world.graveyard_zone' doesn't exist In mysql_stmt_prepare() id: 9, sql: "DELETE FROM graveyard_zone WHERE ID = ? AND GhostZone = ? AND Faction = ?" Table 'world.graveyard_zone' doesn't exist In mysql_stmt_prepare() id: 12, sql: "INSERT INTO npc_vendor (entry, item, maxcount, incrtime, extendedcost, type) VALUES(?, ?, ?, ?, ?, ?)" Unknown column 'type' in 'field list' In mysql_stmt_prepare() id: 13, sql: "DELETE FROM npc_vendor WHERE entry = ? AND item = ? AND type = ?" Unknown column 'type' in 'where clause' Bnet.log TrinityCore rev. unknown 1970-01-01 00:00:00 +0000 (Archived branch) (Win32, Release) (bnetserver) <Ctrl-C> to stop. Using configuration file bnetserver.conf. Using SSL version: OpenSSL 1.0.1j 15 Oct 2014 (library: OpenSSL 1.0.1j 15 Oct 2014) Using Boost version: 1.56.0 Opening DatabasePool 'auth'. Asynchronous connections: 1, synchronous connections: 1. MySQL client library: 5.6.16 MySQL server ver: 5.6.16 Connected to MySQL database at 127.0.0.1 MySQL client library: 5.6.16 MySQL server ver: 5.6.16 Connected to MySQL database at 127.0.0.1 DatabasePool 'auth' opened successfully. 2 total connections running. Started auth database connection pool. Listening on connections from worldservers... Shutting down connections from worldservers... Closing down DatabasePool 'auth'. Asynchronous connections on DatabasePool 'auth' terminated. Proceeding with synchronous connections. All connections on DatabasePool 'auth' closed. Halting process... Build Errors (whole compile) 1>------ Build started: Project: revision.h, Configuration: Release Win32 ------ 1> -- 1> Could not find a proper repository signature (hash) - you may need to pull tags with git fetch -t 1> Continuing anyway - note that the versionstring will be set to "unknown 1970-01-01 00:00:00 (Archived)" 2>------ Build started: Project: bnetserver, Configuration: Release Win32 ------ 3>------ Build started: Project: worldserver, Configuration: Release Win32 ------ 2>Main.obj : error LNK2019: unresolved external symbol _mysql_server_init@12 referenced in function "public: static void __cdecl MySQL::Library_Init(void)" (?Library_Init@MySQL@@SAXXZ) 2>Main.obj : error LNK2019: unresolved external symbol _mysql_server_end@0 referenced in function "public: static void __cdecl MySQL::Library_End(void)" (?Library_End@MySQL@@SAXXZ) 2>Main.obj : error LNK2019: unresolved external symbol _mysql_ping@4 referenced in function "private: virtual bool __thiscall PingOperation::Execute(void)" (?Execute@PingOperation@@EAE_NXZ) 2>Main.obj : 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) 2>Main.obj : 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) 2>Main.obj : 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) 2>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol _mysql_error@4 referenced in function "public: bool __thiscall ResultSet::NextRow(void)" (?NextRow@ResultSet@@QAE_NXZ) 2>shared.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol _mysql_error@4 2>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol _mysql_free_result@4 referenced in function "public: __thiscall ResultSet::~ResultSet(void)" (??1ResultSet@@QAE@XZ) 2>shared.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol _mysql_free_result@4 2>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) 2>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol _mysql_fetch_lengths@4 referenced in function "public: bool __thiscall ResultSet::NextRow(void)" (?NextRow@ResultSet@@QAE_NXZ) 2>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) 2>shared.lib(QueryResult.obj) : 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) 2>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) 2>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) 2>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) 2>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) 2>shared.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol _mysql_stmt_error@4 2>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) 2>shared.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol _mysql_stmt_num_rows@4 2>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) 2>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) 2>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) 2>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_errno@4 referenced in function "public: bool __thiscall MySQLConnection::Execute(class PreparedStatement *)" (?Execute@MySQLConnection@@QAE_NPAVPreparedStatement@@@Z) 2>shared.lib(Transaction.obj) : error LNK2001: unresolved external symbol _mysql_errno@4 2>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) 2>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) 2>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) 2>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) 2>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) 2>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) 2>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) 2>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) 2>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) 2>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) 2>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) 2>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) 2>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) 2>shared.lib(MySQLConnection.obj) : 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) 2>shared.lib(PreparedStatement.obj) : error LNK2001: unresolved external symbol _mysql_stmt_close@4 2>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) 2>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) 2>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) 2>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) 2>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) 2>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_close@4 referenced in function "public: virtual __thiscall MySQLConnection::~MySQLConnection(void)" (??1MySQLConnection@@UAE@XZ) 2>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) 2>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) 2>C:UsersaaronsDesktopTrinityCore-BuildbinReleasebnetserver.exe : fatal error LNK1120: 43 unresolved externals 3>Main.obj : error LNK2019: unresolved external symbol _mysql_server_init@12 referenced in function "public: static void __cdecl MySQL::Library_Init(void)" (?Library_Init@MySQL@@SAXXZ) 3>Main.obj : error LNK2019: unresolved external symbol _mysql_server_end@0 referenced in function "public: static void __cdecl MySQL::Library_End(void)" (?Library_End@MySQL@@SAXXZ) 3>Main.obj : error LNK2019: unresolved external symbol _mysql_get_client_version@0 referenced in function "public: __thiscall DatabaseWorkerPool<class CharacterDatabaseConnection>::DatabaseWorkerPool<class CharacterDatabaseConnection>(void)" (??0?$DatabaseWorkerPool@VCharacterDatabaseConnection@@@@QAE@XZ) 3>Main.obj : 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) 3>Main.obj : error LNK2019: unresolved external symbol _mysql_thread_safe@0 referenced in function "public: __thiscall DatabaseWorkerPool<class CharacterDatabaseConnection>::DatabaseWorkerPool<class CharacterDatabaseConnection>(void)" (??0?$DatabaseWorkerPool@VCharacterDatabaseConnection@@@@QAE@XZ) 3>game.lib(World.obj) : error LNK2019: unresolved external symbol _mysql_ping@4 referenced in function "private: virtual bool __thiscall PingOperation::Execute(void)" (?Execute@PingOperation@@EAE_NXZ) 3>scripts.lib(cs_misc.obj) : error LNK2001: unresolved external symbol _mysql_real_escape_string@16 3>scripts.lib(cs_wp.obj) : error LNK2001: unresolved external symbol _mysql_real_escape_string@16 3>game.lib(PlayerDump.obj) : error LNK2001: unresolved external symbol _mysql_real_escape_string@16 3>scripts.lib(cs_ban.obj) : error LNK2001: unresolved external symbol _mysql_real_escape_string@16 3>scripts.lib(cs_go.obj) : error LNK2001: unresolved external symbol _mysql_real_escape_string@16 3>scripts.lib(cs_gobject.obj) : error LNK2001: unresolved external symbol _mysql_real_escape_string@16 3>game.lib(CharacterHandler.obj) : error LNK2001: unresolved external symbol _mysql_real_escape_string@16 3>game.lib(GroupHandler.obj) : error LNK2001: unresolved external symbol _mysql_real_escape_string@16 3>game.lib(PetitionsHandler.obj) : error LNK2001: unresolved external symbol _mysql_real_escape_string@16 3>game.lib(Pet.obj) : error LNK2001: unresolved external symbol _mysql_real_escape_string@16 3>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol _mysql_error@4 referenced in function "public: bool __thiscall ResultSet::NextRow(void)" (?NextRow@ResultSet@@QAE_NXZ) 3>shared.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol _mysql_error@4 3>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol _mysql_free_result@4 referenced in function "public: __thiscall ResultSet::~ResultSet(void)" (??1ResultSet@@QAE@XZ) 3>shared.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol _mysql_free_result@4 3>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) 3>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol _mysql_fetch_lengths@4 referenced in function "public: bool __thiscall ResultSet::NextRow(void)" (?NextRow@ResultSet@@QAE_NXZ) 3>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) 3>shared.lib(QueryResult.obj) : 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) 3>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) 3>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) 3>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) 3>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) 3>shared.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol _mysql_stmt_error@4 3>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) 3>shared.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol _mysql_stmt_num_rows@4 3>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) 3>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) 3>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) 3>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_errno@4 referenced in function "public: bool __thiscall MySQLConnection::Execute(class PreparedStatement *)" (?Execute@MySQLConnection@@QAE_NPAVPreparedStatement@@@Z) 3>shared.lib(Transaction.obj) : error LNK2001: unresolved external symbol _mysql_errno@4 3>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) 3>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) 3>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) 3>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) 3>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) 3>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) 3>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) 3>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) 3>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) 3>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) 3>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) 3>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) 3>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) 3>shared.lib(MySQLConnection.obj) : 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) 3>shared.lib(PreparedStatement.obj) : error LNK2001: unresolved external symbol _mysql_stmt_close@4 3>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) 3>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) 3>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) 3>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) 3>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) 3>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_close@4 referenced in function "public: virtual __thiscall MySQLConnection::~MySQLConnection(void)" (??1MySQLConnection@@UAE@XZ) 3>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) 3>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) 3>C:UsersaaronsDesktopTrinityCore-BuildbinReleaseworldserver.exe : fatal error LNK1120: 44 unresolved externals 4>------ Skipped Build: Project: INSTALL, Configuration: Release Win32 ------ 4>Project not selected to build for this solution configuration ========== Build: 1 succeeded, 2 failed, 13 up-to-date, 1 skipped ========== idk how i even got the first compiled, but it doesnt work, and what i have now is a mess, i think i should just delete and start over... it would be easier for you to explain too Edited April 14, 2015 by Aokromes Link to comment Share on other sites More sharing options...
Kylroi Posted February 17, 2015 Report Share Posted February 17, 2015 Looks like a bad copy of the source (invalid revision identification) to start with. You may want to rebuild your source tree with a git client and try again. Also, the DBErrors.log is indicating a bad world database creation. Link to comment Share on other sites More sharing options...
Nay Posted February 17, 2015 Report Share Posted February 17, 2015 You don't need to start over. You do need to go back to CMake and recompile (SEE http://collab.kpsn.org/pages/viewpage.action?pageId=12714432 on how to fix the linker errors). As I also said, you didn't create the world database correctly. The wiki explains how to do it, read it. (full TDB 6.00 + /sql/updates/world/*.sql) Link to comment Share on other sites More sharing options...
michael923 Posted February 17, 2015 Report Share Posted February 17, 2015 git extensions should work for that right? i just downloaded the zip. Is there a difference in setup using git besides the ease of using an application for it? Link to comment Share on other sites More sharing options...
Nay Posted February 17, 2015 Report Share Posted February 17, 2015 You don't need Git Extensions, https://msysgit.github.io/ is enough. (Add Git to PATH to fix the error) Link to comment Share on other sites More sharing options...
michael923 Posted February 17, 2015 Report Share Posted February 17, 2015 i reloaded the db, and redid the cmake and build, i'll paypal someone 10$ to teamview me and let me see how you set it up on a 64 bit windows 8 system, last time i did this i was on vista, that could be a big reason i'm having trouble, IDK. Teamviewer will be my remote desktop viewer application. I got more errors so just set it up beginning to end so i can see what's different Link to comment Share on other sites More sharing options...
geca7a Posted March 20, 2015 Report Share Posted March 20, 2015 Hello everyone, We tried installing Trinity Core on our Linux Ubuntu Server 12.04. After many errors we updated our Server to 14.10 because this was suggested in many posts that we red. We followed original installation guide, ubuntu installation in ac-web and many others but cname doesn't want to configure. bgforce@bgfsrv:~/TrinityCore/build$ cmake ../ -DPREFIX=/home/bgforce/bgfsrv -DWITH_WARNINGS=1 -- Detected 32-bit platform -- UNIX: Using jemalloc -- UNIX: Configuring uninstall target -- UNIX: Created uninstall target -- UNIX: Detected compiler: /usr/bin/cc -- Found OpenSSL library: OPENSSL_SSL_LIBRARIES-NOTFOUND;OPENSSL_CRYPTO_LIBRARIES-NOTFOUND -- Found OpenSSL headers: /usr/include CMake Error at cmake/macros/FindBoost.cmake:344 (if): if given arguments: "STREQUAL" "Intel" "OR" "/usr/bin/c++" "MATCHES" "icl" "OR" "/usr/bin/c++" "MATCHES" "icpc" Unknown arguments specified Call Stack (most recent call first): cmake/macros/FindBoost.cmake:741 (_Boost_GUESS_COMPILER_PREFIX) cmake/macros/ConfigureBoost.cmake:28 (find_package) CMakeLists.txt:60 (include) -- Configuring incomplete, errors occurred! See also "/home/bgforce/TrinityCore/build/CMakeFiles/CMakeOutput.log". See also "/home/bgforce/TrinityCore/build/CMakeFiles/CMakeError.log". bgforce@bgfsrv:~/TrinityCore/build$ cmake ../ -DPREFIX=/home/bgforce/TrinityCore/server -DWITH_WARNINGS=1 -- Detected 32-bit platform -- UNIX: Using jemalloc -- UNIX: Configuring uninstall target -- UNIX: Created uninstall target -- UNIX: Detected compiler: /usr/bin/cc -- Found OpenSSL library: OPENSSL_SSL_LIBRARIES-NOTFOUND;OPENSSL_CRYPTO_LIBRARIES-NOTFOUND -- Found OpenSSL headers: /usr/include CMake Error at cmake/macros/FindBoost.cmake:344 (if): if given arguments: "STREQUAL" "Intel" "OR" "/usr/bin/c++" "MATCHES" "icl" "OR" "/usr/bin/c++" "MATCHES" "icpc" Unknown arguments specified Call Stack (most recent call first): cmake/macros/FindBoost.cmake:741 (_Boost_GUESS_COMPILER_PREFIX) cmake/macros/ConfigureBoost.cmake:28 (find_package) CMakeLists.txt:60 (include) -- Configuring incomplete, errors occurred! See also "/home/bgforce/TrinityCore/build/CMakeFiles/CMakeOutput.log". See also "/home/bgforce/TrinityCore/build/CMakeFiles/CMakeError.log". bgforce@bgfsrv:~/TrinityCore/build$ cmake ../ -DPREFIX=/home/bgforce/TrinityCore/build -DWITH_WARNINGS=1 -- Detected 32-bit platform -- UNIX: Using jemalloc -- UNIX: Configuring uninstall target -- UNIX: Created uninstall target -- UNIX: Detected compiler: /usr/bin/cc -- Found OpenSSL library: OPENSSL_SSL_LIBRARIES-NOTFOUND;OPENSSL_CRYPTO_LIBRARIES-NOTFOUND -- Found OpenSSL headers: /usr/include CMake Error at cmake/macros/FindBoost.cmake:344 (if): if given arguments: "STREQUAL" "Intel" "OR" "/usr/bin/c++" "MATCHES" "icl" "OR" "/usr/bin/c++" "MATCHES" "icpc" Unknown arguments specified Call Stack (most recent call first): cmake/macros/FindBoost.cmake:741 (_Boost_GUESS_COMPILER_PREFIX) cmake/macros/ConfigureBoost.cmake:28 (find_package) CMakeLists.txt:60 (include) -- Configuring incomplete, errors occurred! See also "/home/bgforce/TrinityCore/build/CMakeFiles/CMakeOutput.log". See also "/home/bgforce/TrinityCore/build/CMakeFiles/CMakeError.log". We tried different commands, paths but everything returns results that are above^. cmake ../ -DPREFIX=/home/bgforce/wowsrv -DCONF_DIR=/home/bgforce/wowsrv/etc -DLIBSDIR=/home/bgforce/wowsrv/lib -DTOOLS=1 -DWITH_WARNINGS=1 cmake ../ -DPREFIX=/home/`echo $USER`/server cmake ../ -DPREFIX=/home/`echo $USER`/wowsrv cmake ../ -DPREFIX=/home/bgforce/wowsrv cmake ../ -DPREFIX=/home/<username>/server -DWITH_WARNINGS=1 cmake ../ -DPREFIX=/home/bgforce/server -DWITH_WARNINGS=1 cmake ../ -DPREFIX=/home/bgforce/bgfsrv -DWITH_WARNINGS=1 cmake ../ -DPREFIX=/home/bgforce/TrinityCore/server -DWITH_WARNINGS=1 cmake ../ -DPREFIX=/home/bgforce/TrinityCore/build -DWITH_WARNINGS=1 We have installed all Boost packs for 1.54 but we still get that error. Could someone give us advice on how to fix this ? For any addinitional information that is needed please let me know! Link to comment Share on other sites More sharing options...
Nay Posted March 20, 2015 Report Share Posted March 20, 2015 echo "yes" | sudo add-apt-repository ppa:boost-latest/ppa sudo apt-get -qq install libboost1.55-dev libboost-thread1.55-dev libboost-filesystem1.55-dev libboost-system1.55-dev libboost-program-options1.55-dev What compiler are you using? P.S It's Boost, not Boot Link to comment Share on other sites More sharing options...
geca7a Posted March 20, 2015 Report Share Posted March 20, 2015 (edited) Thank you for your reply Nay, We got it running but at 100% we got this error: Linking CXX static library libscripts.a [ 99%] Built target scripts Scanning dependencies of target worldPCH.cpp_dephelp [ 99%] Building CXX object src/server/worldserver/CMakeFiles/worldPCH.cpp_dephelp.dir/PrecompiledHeaders/worldPCH.cpp.o Linking CXX shared module libworldPCH.cpp_dephelp.so [ 99%] Built target worldPCH.cpp_dephelp Scanning dependencies of target generate_worldPCH.cpp [ 99%] Generating worldPCH.h.gch [ 99%] Built target generate_worldPCH.cpp Scanning dependencies of target worldserver [ 99%] Building CXX object src/server/worldserver/CMakeFiles/worldserver.dir/CommandLine/CliRunnable.cpp.o [ 99%] Building CXX object src/server/worldserver/CMakeFiles/worldserver.dir/RemoteAccess/RASession.cpp.o [ 99%] Building CXX object src/server/worldserver/CMakeFiles/worldserver.dir/TCSoap/TCSoap.cpp.o [ 99%] Building CXX object src/server/worldserver/CMakeFiles/worldserver.dir/Main.cpp.o [100%] Building CXX object src/server/worldserver/CMakeFiles/worldserver.dir/PrecompiledHeaders/worldPCH.cpp.o Linking CXX executable worldserver ../game/libgame.a(ScriptLoader.cpp.o): In function `AddEasternKingdomsScripts()': ScriptLoader.cpp:(.text+0x267): undefined reference to `AddSC_boss_thebeast()' collect2: error: ld returned 1 exit status src/server/worldserver/CMakeFiles/worldserver.dir/build.make:203: recipe for target 'src/server/worldserver/worldserver' failed make[2]: *** [src/server/worldserver/worldserver] Error 1 CMakeFiles/Makefile2:1229: recipe for target 'src/server/worldserver/CMakeFiles/worldserver.dir/all' failed make[1]: *** [src/server/worldserver/CMakeFiles/worldserver.dir/all] Error 2 Makefile:116: recipe for target 'all' failed make: *** [all] Error 2 and in make install ..@..:~/TrinityCore/build$ make install [ 2%] Built target jemalloc [ 6%] Built target g3dlib [ 6%] Built target Detour [ 7%] Built target Recast [ 8%] Built target format [ 8%] Built target gsoap [ 8%] Built target revision.h [ 8%] Built target sharedPCH.cpp_dephelp [ 8%] Built target generate_sharedPCH.cpp [ 12%] Built target shared [ 12%] Built target gamePCH.cpp_dephelp [ 13%] Built target generate_gamePCH.cpp [ 33%] Built target game [ 33%] Built target collisionPCH.cpp_dephelp [ 33%] Built target generate_collisionPCH.cpp [ 34%] Built target collision [ 34%] Built target authPCH.cpp_dephelp [ 34%] Built target generate_authPCH.cpp [ 35%] Built target authserver [ 35%] Built target ScriptPCH.cpp_dephelp [ 35%] Built target generate_ScriptPCH.cpp [ 99%] Built target scripts [ 99%] Built target worldPCH.cpp_dephelp [ 99%] Built target generate_worldPCH.cpp Linking CXX executable worldserver ../game/libgame.a(ScriptLoader.cpp.o): In function `AddEasternKingdomsScripts()': ScriptLoader.cpp:(.text+0x267): undefined reference to `AddSC_boss_thebeast()' collect2: error: ld returned 1 exit status src/server/worldserver/CMakeFiles/worldserver.dir/build.make:203: recipe for target 'src/server/worldserver/worldserver' failed make[2]: *** [src/server/worldserver/worldserver] Error 1 CMakeFiles/Makefile2:1229: recipe for target 'src/server/worldserver/CMakeFiles/worldserver.dir/all' failed make[1]: *** [src/server/worldserver/CMakeFiles/worldserver.dir/all] Error 2 Makefile:116: recipe for target 'all' failed make: *** [all] Error 2 Edited March 20, 2015 by geca7a Link to comment Share on other sites More sharing options...
Thugly Posted March 20, 2015 Report Share Posted March 20, 2015 Hi , Why follow a guide on ac-web ? as it has nothing to do with Trinity Core and will be incorrect and usually is .......... You failed to even clone this in windows and now you are trying it on Linux ! Did you even look at the official trinity core wiki ? Please stop making new posts about errors that are down to "USER ERROR" and read the official trinity core wiki page = http://collab.kpsn.org/display/tc/TrinityCore+Home it will answer all your questions and help you install a working core . Regards Thugly related thread = http://www.trinitycore.org/f/topic/11194-extractors-dont-work/ Link to comment Share on other sites More sharing options...
geca7a Posted March 21, 2015 Report Share Posted March 21, 2015 Hi Thugly, "We followed original installation guide, ubuntu installation in ac-web and many others but cname doesn't want to configure.". We followed Ac-Web installation because the original failed many times. I failed but I can investigate and you know what? Our linux version is up and running now. I found solution for the old post here "http://www.trinitycore.org/f/topic/10783-how-to-clone-335-with-git-in-linux-or-other-branches/#entry70787" . This can be closed. Link to comment Share on other sites More sharing options...
Nay Posted March 21, 2015 Report Share Posted March 21, 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...
lwyjdgv Posted March 27, 2015 Report Share Posted March 27, 2015 can i use the Visual Studio 2010 to building trinity? Link to comment Share on other sites More sharing options...
Carbenium Posted March 27, 2015 Report Share Posted March 27, 2015 No. You need VS 2013 Update 4 at least. 1 Link to comment Share on other sites More sharing options...
blackmetalz Posted March 28, 2015 Report Share Posted March 28, 2015 I found solutions in here, Thanks!! Link to comment Share on other sites More sharing options...
jesper54321 Posted March 29, 2015 Report Share Posted March 29, 2015 hey i got cmake errors i will send the error log. Determining if files pthread.h exist failed with the following output: Change Dir: C:/Users/jesper/Desktop/ElunaTrinityWotlk-master-build/CMakeFiles/CMakeTmp Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe" "cmTryCompileExec81486457.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0" Microsoft (R) Build Engine version 12.0.31101.0 [Microsoft .NET Framework, version 4.0.30319.0] Copyright (C) Microsoft Corporation. All rights reserved. Build started 29-03-2015 21:05:21. The target "AfterGenerateAppxManifest" listed in an AfterTargets attribute at "C:Program Files (x86)MSBuildMicrosoft.NetNativeMicrosoft.NetNative.targets (47,11)" does not exist in the project, and will be ignored. The target "AfterGenerateAppxManifest" listed in an AfterTargets attribute at "C:Program Files (x86)MSBuildMicrosoft.NetNativeMicrosoft.NetNative.targets (94,11)" does not exist in the project, and will be ignored. Project "C:UsersjesperDesktopElunaTrinityWotlk-master-buildCMakeFilesCMakeTmpcmTryCompileExec81486457.vcxproj" on node 1 (default targets). PrepareForBuild: Creating directory "cmTryCompileExec81486457.dirDebug". Creating directory "C:UsersjesperDesktopElunaTrinityWotlk-master-buildCMakeFilesCMakeTmpDebug". Creating directory "cmTryCompileExec81486457.dirDebugcmTryCom.4A312264.tlog". InitializeBuildStatus: Creating "cmTryCompileExec81486457.dirDebugcmTryCom.4A312264.tlogunsuccessfulbuild" because "AlwaysCreate" was specified. ClCompile: C:Program Files (x86)Microsoft Visual Studio 12.0VCbinx86_amd64CL.exe /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR="Debug"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec81486457.dirDebug" /Fd"cmTryCompileExec81486457.dirDebugvc120.pdb" /Gd /TC /wd4996 /wd4355 /wd4244 /wd4985 /wd4267 /wd4619 /wd4512 /errorReport:queue "C:UsersjesperDesktopElunaTrinityWotlk-master-buildCMakeFilesCMakeTmpCheckIncludeFiles.c" Microsoft (R) C/C++ Optimizing Compiler Version 18.00.31101 for x64 Copyright (C) Microsoft Corporation. All rights reserved. cl /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR="Debug"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec81486457.dirDebug" /Fd"cmTryCompileExec81486457.dirDebugvc120.pdb" /Gd /TC /wd4996 /wd4355 /wd4244 /wd4985 /wd4267 /wd4619 /wd4512 /errorReport:queue "C:UsersjesperDesktopElunaTrinityWotlk-master-buildCMakeFilesCMakeTmpCheckIncludeFiles.c" CheckIncludeFiles.c C:UsersjesperDesktopElunaTrinityWotlk-master-buildCMakeFilesCMakeTmpCheckIncludeFiles.c(2): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory [C:UsersjesperDesktopElunaTrinityWotlk-master-buildCMakeFilesCMakeTmpcmTryCompileExec81486457.vcxproj] Done Building Project "C:UsersjesperDesktopElunaTrinityWotlk-master-buildCMakeFilesCMakeTmpcmTryCompileExec81486457.vcxproj" (default targets) -- FAILED. Build FAILED. "C:UsersjesperDesktopElunaTrinityWotlk-master-buildCMakeFilesCMakeTmpcmTryCompileExec81486457.vcxproj" (default target) (1) -> (ClCompile target) -> C:UsersjesperDesktopElunaTrinityWotlk-master-buildCMakeFilesCMakeTmpCheckIncludeFiles.c(2): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory [C:UsersjesperDesktopElunaTrinityWotlk-master-buildCMakeFilesCMakeTmpcmTryCompileExec81486457.vcxproj] 0 Warning(s) 1 Error(s) Time Elapsed 00:00:00.87 Source: /* */ #include <pthread.h> int main(void){return 0;} pls help :/ thanks Link to comment Share on other sites More sharing options...
Recommended Posts