Jump to content
TrinityCore

Compile or cmake problems


Joy
 Share

Recommended Posts

  • Replies 2.9k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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

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

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

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

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 [email protected] referenced in function "public: static void __cdecl MySQL::Library_Init(void)" ([email protected]@@SAXXZ)
2>Main.obj : error LNK2019: unresolved external symbol [email protected] referenced in function "public: static void __cdecl MySQL::Library_End(void)" ([email protected]@@SAXXZ)
2>Main.obj : error LNK2019: unresolved external symbol [email protected] referenced in function "private: virtual bool __thiscall PingOperation::Execute(void)" ([email protected]@@EAE_NXZ)
2>Main.obj : error LNK2019: unresolved external symbol [email protected] referenced in function "public: __thiscall DatabaseWorkerPool<class LoginDatabaseConnection>::DatabaseWorkerPool<class LoginDatabaseConnection>(void)" ([email protected]@@@@[email protected])
2>Main.obj : error LNK2019: unresolved external symbol [email protected] referenced in function "private: bool __thiscall DatabaseWorkerPool<class LoginDatabaseConnection>::OpenConnections(enum DatabaseWorkerPool<class LoginDatabaseConnection>::InternalIndex,unsigned char)" ([email protected][email protected]@@@@[email protected]@[email protected])
2>Main.obj : error LNK2019: unresolved external symbol [email protected] referenced in function "public: __thiscall DatabaseWorkerPool<class LoginDatabaseConnection>::DatabaseWorkerPool<class LoginDatabaseConnection>(void)" ([email protected]@@@@[email protected])
2>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall ResultSet::NextRow(void)" ([email protected]@@QAE_NXZ)
2>shared.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol [email protected]
2>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: __thiscall ResultSet::~ResultSet(void)" ([email protected]@[email protected])
2>shared.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol [email protected]
2>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall ResultSet::NextRow(void)" ([email protected]@@QAE_NXZ)
2>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall ResultSet::NextRow(void)" ([email protected]@@QAE_NXZ)
2>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: __thiscall PreparedResultSet::PreparedResultSet(struct st_mysql_stmt *,struct st_mysql_res *,unsigned __int64,unsigned int)" ([email protected]@[email protected][email protected]@[email protected]@[email protected])
2>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: __thiscall PreparedResultSet::PreparedResultSet(struct st_mysql_stmt *,struct st_mysql_res *,unsigned __int64,unsigned int)" ([email protected]@[email protected][email protected]@[email protected]@[email protected])
2>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: __thiscall PreparedResultSet::PreparedResultSet(struct st_mysql_stmt *,struct st_mysql_res *,unsigned __int64,unsigned int)" ([email protected]@[email protected][email protected]@[email protected]@[email protected])
2>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: __thiscall PreparedResultSet::PreparedResultSet(struct st_mysql_stmt *,struct st_mysql_res *,unsigned __int64,unsigned int)" ([email protected]@[email protected][email protected]@[email protected]@[email protected])
2>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "private: void __thiscall PreparedResultSet::CleanUp(void)" ([email protected]@@AAEXXZ)
2>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: __thiscall PreparedResultSet::PreparedResultSet(struct st_mysql_stmt *,struct st_mysql_res *,unsigned __int64,unsigned int)" ([email protected]@[email protected][email protected]@[email protected]@[email protected])
2>shared.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol [email protected]
2>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: __thiscall PreparedResultSet::PreparedResultSet(struct st_mysql_stmt *,struct st_mysql_res *,unsigned __int64,unsigned int)" ([email protected]@[email protected][email protected]@[email protected]@[email protected])
2>shared.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol [email protected]
2>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall MySQLConnection::_Query(char const *,struct st_mysql_res * *,struct st_mysql_field * *,unsigned __int64 *,unsigned int *)" ([email protected]@@[email protected]@[email protected]@[email protected])
2>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall MySQLConnection::_Query(char const *,struct st_mysql_res * *,struct st_mysql_field * *,unsigned __int64 *,unsigned int *)" ([email protected]@@[email protected]@[email protected]@[email protected])
2>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall MySQLConnection::_Query(char const *,struct st_mysql_res * *,struct st_mysql_field * *,unsigned __int64 *,unsigned int *)" ([email protected]@@[email protected]@[email protected]@[email protected])
2>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall MySQLConnection::Execute(class PreparedStatement *)" ([email protected]@@[email protected]@@Z)
2>shared.lib(Transaction.obj) : error LNK2001: unresolved external symbol [email protected]
2>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "private: bool __thiscall MySQLConnection::_HandleMySQLErrno(unsigned int)" ([email protected]@@[email protected])
2>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" ([email protected]@@UAE_NXZ)
2>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" ([email protected]@@UAE_NXZ)
2>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" ([email protected]@@UAE_NXZ)
2>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall MySQLConnection::Execute(char const *)" ([email protected]@@[email protected])
2>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall MySQLConnection::_Query(char const *,struct st_mysql_res * *,struct st_mysql_field * *,unsigned __int64 *,unsigned int *)" ([email protected]@@[email protected]@[email protected]@[email protected])
2>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" ([email protected]@@UAE_NXZ)
2>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" ([email protected]@@UAE_NXZ)
2>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" ([email protected]@@UAE_NXZ)
2>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "protected: void __thiscall MySQLConnection::PrepareStatement(unsigned int,char const *,enum ConnectionFlags)" ([email protected]@@[email protected]@@Z)
2>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "protected: void __thiscall MySQLConnection::PrepareStatement(unsigned int,char const *,enum ConnectionFlags)" ([email protected]@@[email protected]@@Z)
2>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall MySQLConnection::Execute(class PreparedStatement *)" ([email protected]@@[email protected]@@Z)
2>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall MySQLConnection::Execute(class PreparedStatement *)" ([email protected]@@[email protected]@@Z)
2>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "protected: void __thiscall MySQLConnection::PrepareStatement(unsigned int,char const *,enum ConnectionFlags)" ([email protected]@@[email protected]@@Z)
2>shared.lib(PreparedStatement.obj) : error LNK2001: unresolved external symbol [email protected]
2>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall MySQLConnection::_Query(class PreparedStatement *,struct st_mysql_res * *,unsigned __int64 *,unsigned int *)" ([email protected]@@[email protected]@[email protected]@[email protected])
2>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall MySQLConnection::_Query(class PreparedStatement *,struct st_mysql_res * *,unsigned __int64 *,unsigned int *)" ([email protected]@@[email protected]@[email protected]@[email protected])
2>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" ([email protected]@@UAE_NXZ)
2>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: class PreparedResultSet * __thiscall MySQLConnection::Query(class PreparedStatement *)" ([email protected]@@[email protected]@[email protected]@@Z)
2>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: class PreparedResultSet * __thiscall MySQLConnection::Query(class PreparedStatement *)" ([email protected]@@[email protected]@[email protected]@@Z)
2>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: virtual __thiscall MySQLConnection::~MySQLConnection(void)" ([email protected]@[email protected])
2>shared.lib(PreparedStatement.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: __thiscall MySQLPreparedStatement::MySQLPreparedStatement(struct st_mysql_stmt *)" ([email protected]@[email protected][email protected]@@Z)
2>shared.lib(PreparedStatement.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: __thiscall MySQLPreparedStatement::MySQLPreparedStatement(struct st_mysql_stmt *)" ([email protected]@[email protected][email protected]@@Z)
2>C:UsersaaronsDesktopTrinityCore-BuildbinReleasebnetserver.exe : fatal error LNK1120: 43 unresolved externals
3>Main.obj : error LNK2019: unresolved external symbol [email protected] referenced in function "public: static void __cdecl MySQL::Library_Init(void)" ([email protected]@@SAXXZ)
3>Main.obj : error LNK2019: unresolved external symbol [email protected] referenced in function "public: static void __cdecl MySQL::Library_End(void)" ([email protected]@@SAXXZ)
3>Main.obj : error LNK2019: unresolved external symbol [email protected] referenced in function "public: __thiscall DatabaseWorkerPool<class CharacterDatabaseConnection>::DatabaseWorkerPool<class CharacterDatabaseConnection>(void)" ([email protected]@@@@[email protected])
3>Main.obj : error LNK2019: unresolved external symbol [email protected] referenced in function "private: bool __thiscall DatabaseWorkerPool<class CharacterDatabaseConnection>::OpenConnections(enum DatabaseWorkerPool<class CharacterDatabaseConnection>::InternalIndex,unsigned char)" ([email protected][email protected]@@@@[email protected]@[email protected])
3>Main.obj : error LNK2019: unresolved external symbol [email protected] referenced in function "public: __thiscall DatabaseWorkerPool<class CharacterDatabaseConnection>::DatabaseWorkerPool<class CharacterDatabaseConnection>(void)" ([email protected]@@@@[email protected])
3>game.lib(World.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "private: virtual bool __thiscall PingOperation::Execute(void)" ([email protected]@@EAE_NXZ)
3>scripts.lib(cs_misc.obj) : error LNK2001: unresolved external symbol [email protected]
3>scripts.lib(cs_wp.obj) : error LNK2001: unresolved external symbol [email protected]
3>game.lib(PlayerDump.obj) : error LNK2001: unresolved external symbol [email protected]
3>scripts.lib(cs_ban.obj) : error LNK2001: unresolved external symbol [email protected]
3>scripts.lib(cs_go.obj) : error LNK2001: unresolved external symbol [email protected]
3>scripts.lib(cs_gobject.obj) : error LNK2001: unresolved external symbol [email protected]
3>game.lib(CharacterHandler.obj) : error LNK2001: unresolved external symbol [email protected]
3>game.lib(GroupHandler.obj) : error LNK2001: unresolved external symbol [email protected]
3>game.lib(PetitionsHandler.obj) : error LNK2001: unresolved external symbol [email protected]
3>game.lib(Pet.obj) : error LNK2001: unresolved external symbol [email protected]
3>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall ResultSet::NextRow(void)" ([email protected]@@QAE_NXZ)
3>shared.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol [email protected]
3>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: __thiscall ResultSet::~ResultSet(void)" ([email protected]@[email protected])
3>shared.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol [email protected]
3>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall ResultSet::NextRow(void)" ([email protected]@@QAE_NXZ)
3>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall ResultSet::NextRow(void)" ([email protected]@@QAE_NXZ)
3>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: __thiscall PreparedResultSet::PreparedResultSet(struct st_mysql_stmt *,struct st_mysql_res *,unsigned __int64,unsigned int)" ([email protected]@[email protected][email protected]@[email protected]@[email protected])
3>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: __thiscall PreparedResultSet::PreparedResultSet(struct st_mysql_stmt *,struct st_mysql_res *,unsigned __int64,unsigned int)" ([email protected]@[email protected][email protected]@[email protected]@[email protected])
3>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: __thiscall PreparedResultSet::PreparedResultSet(struct st_mysql_stmt *,struct st_mysql_res *,unsigned __int64,unsigned int)" ([email protected]@[email protected][email protected]@[email protected]@[email protected])
3>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: __thiscall PreparedResultSet::PreparedResultSet(struct st_mysql_stmt *,struct st_mysql_res *,unsigned __int64,unsigned int)" ([email protected]@[email protected][email protected]@[email protected]@[email protected])
3>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "private: void __thiscall PreparedResultSet::CleanUp(void)" ([email protected]@@AAEXXZ)
3>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: __thiscall PreparedResultSet::PreparedResultSet(struct st_mysql_stmt *,struct st_mysql_res *,unsigned __int64,unsigned int)" ([email protected]@[email protected][email protected]@[email protected]@[email protected])
3>shared.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol [email protected]
3>shared.lib(QueryResult.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: __thiscall PreparedResultSet::PreparedResultSet(struct st_mysql_stmt *,struct st_mysql_res *,unsigned __int64,unsigned int)" ([email protected]@[email protected][email protected]@[email protected]@[email protected])
3>shared.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol [email protected]
3>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall MySQLConnection::_Query(char const *,struct st_mysql_res * *,struct st_mysql_field * *,unsigned __int64 *,unsigned int *)" ([email protected]@@[email protected]@[email protected]@[email protected])
3>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall MySQLConnection::_Query(char const *,struct st_mysql_res * *,struct st_mysql_field * *,unsigned __int64 *,unsigned int *)" ([email protected]@@[email protected]@[email protected]@[email protected])
3>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall MySQLConnection::_Query(char const *,struct st_mysql_res * *,struct st_mysql_field * *,unsigned __int64 *,unsigned int *)" ([email protected]@@[email protected]@[email protected]@[email protected])
3>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall MySQLConnection::Execute(class PreparedStatement *)" ([email protected]@@[email protected]@@Z)
3>shared.lib(Transaction.obj) : error LNK2001: unresolved external symbol [email protected]
3>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "private: bool __thiscall MySQLConnection::_HandleMySQLErrno(unsigned int)" ([email protected]@@[email protected])
3>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" ([email protected]@@UAE_NXZ)
3>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" ([email protected]@@UAE_NXZ)
3>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" ([email protected]@@UAE_NXZ)
3>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall MySQLConnection::Execute(char const *)" ([email protected]@@[email protected])
3>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall MySQLConnection::_Query(char const *,struct st_mysql_res * *,struct st_mysql_field * *,unsigned __int64 *,unsigned int *)" ([email protected]@@[email protected]@[email protected]@[email protected])
3>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" ([email protected]@@UAE_NXZ)
3>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" ([email protected]@@UAE_NXZ)
3>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" ([email protected]@@UAE_NXZ)
3>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "protected: void __thiscall MySQLConnection::PrepareStatement(unsigned int,char const *,enum ConnectionFlags)" ([email protected]@@[email protected]@@Z)
3>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "protected: void __thiscall MySQLConnection::PrepareStatement(unsigned int,char const *,enum ConnectionFlags)" ([email protected]@@[email protected]@@Z)
3>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall MySQLConnection::Execute(class PreparedStatement *)" ([email protected]@@[email protected]@@Z)
3>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall MySQLConnection::Execute(class PreparedStatement *)" ([email protected]@@[email protected]@@Z)
3>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "protected: void __thiscall MySQLConnection::PrepareStatement(unsigned int,char const *,enum ConnectionFlags)" ([email protected]@@[email protected]@@Z)
3>shared.lib(PreparedStatement.obj) : error LNK2001: unresolved external symbol [email protected]
3>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall MySQLConnection::_Query(class PreparedStatement *,struct st_mysql_res * *,unsigned __int64 *,unsigned int *)" ([email protected]@@[email protected]@[email protected]@[email protected])
3>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall MySQLConnection::_Query(class PreparedStatement *,struct st_mysql_res * *,unsigned __int64 *,unsigned int *)" ([email protected]@@[email protected]@[email protected]@[email protected])
3>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" ([email protected]@@UAE_NXZ)
3>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: class PreparedResultSet * __thiscall MySQLConnection::Query(class PreparedStatement *)" ([email protected]@@[email protected]@[email protected]@@Z)
3>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: class PreparedResultSet * __thiscall MySQLConnection::Query(class PreparedStatement *)" ([email protected]@@[email protected]@[email protected]@@Z)
3>shared.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: virtual __thiscall MySQLConnection::~MySQLConnection(void)" ([email protected]@[email protected])
3>shared.lib(PreparedStatement.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: __thiscall MySQLPreparedStatement::MySQLPreparedStatement(struct st_mysql_stmt *)" ([email protected]@[email protected][email protected]@@Z)
3>shared.lib(PreparedStatement.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: __thiscall MySQLPreparedStatement::MySQLPreparedStatement(struct st_mysql_stmt *)" ([email protected]@[email protected][email protected]@@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 by Aokromes
Link to comment
Share on other sites

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

  • 1 month later...

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.

 

[email protected]:~/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".
[email protected]:~/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".
[email protected]:~/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

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

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

[email protected]:~/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 by geca7a
Link to comment
Share on other sites

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

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

--- 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

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

  • Aokromes changed the title to Compile or cmake problems
  • Aokromes locked this topic
  • Carbenium unlocked this topic
  • Aokromes pinned and locked this topic
  • Aokromes featured and featured this topic
  • Aokromes pinned this topic
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.


×
×
  • Create New...