Jump to content
TrinityCore

Glathberif

Plebs
  • Posts

    1
  • Joined

  • Last visited

Glathberif's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi everyone, I'm trying to setup my own local server to play WoW by myself basically, so just trying to setup the basics. I finally managed to generate the build files with CMake successfully, and when compiling the source (Building in VS), worldserver and authserver both fail to build in the same fashion. Here's the end of the logs, that includes what goes wrong for worldserver (authserver fails similarly). 21>WheatyExceptionReport.cpp 21>ServiceWin32.cpp 21>database.lib(MySQLThreading.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "void __cdecl MySQL::Library_Init(void)" ([email protected]@@YAXXZ) 21>database.lib(MySQLThreading.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "void __cdecl MySQL::Library_End(void)" ([email protected]@@YAXXZ) 21>database.lib(DatabaseWorkerPool.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: __thiscall DatabaseWorkerPool<class CharacterDatabaseConnection>::DatabaseWorkerPool<class CharacterDatabaseConnection>(void)" ([email protected]@@@@[email protected]) 21>database.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol [email protected] 21>database.lib(DatabaseWorkerPool.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: __thiscall DatabaseWorkerPool<class CharacterDatabaseConnection>::DatabaseWorkerPool<class CharacterDatabaseConnection>(void)" ([email protected]@@@@[email protected]) 21>database.lib(DatabaseWorkerPool.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "private: unsigned int __thiscall DatabaseWorkerPool<class CharacterDatabaseConnection>::OpenConnections(enum DatabaseWorkerPool<class CharacterDatabaseConnection>::InternalIndex,unsigned char)" ([email protected][email protected]@@@@[email protected]@[email protected]) 21>database.lib(DatabaseWorkerPool.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "private: unsigned long __thiscall DatabaseWorkerPool<class CharacterDatabaseConnection>::EscapeString(char *,char const *,unsigned long)" ([email protected][email protected]@@@@[email protected]) 21>database.lib(DatabaseWorkerPool.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: __thiscall DatabaseWorkerPool<class CharacterDatabaseConnection>::DatabaseWorkerPool<class CharacterDatabaseConnection>(void)" ([email protected]@@@@[email protected]) 21>database.lib(PreparedStatement.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: __thiscall MySQLPreparedStatement::MySQLPreparedStatement(struct st_mysql_stmt *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" ([email protected]@[email protected][email protected]@[email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@Z) 21>database.lib(PreparedStatement.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: __thiscall MySQLPreparedStatement::MySQLPreparedStatement(struct st_mysql_stmt *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" ([email protected]@[email protected][email protected]@[email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@Z) 21>database.lib(PreparedStatement.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: __thiscall MySQLPreparedStatement::~MySQLPreparedStatement(void)" ([email protected]@[email protected]) 21>database.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol [email protected] 21>database.lib(QueryResult.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function [email protected]@[email protected][email protected]@[email protected]@[email protected]$0 21>database.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol [email protected] 21>database.lib(QueryResult.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall ResultSet::NextRow(void)" ([email protected]@@QAE_NXZ) 21>database.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol [email protected] 21>database.lib(QueryResult.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "private: void __thiscall PreparedResultSet::CleanUp(void)" ([email protected]@@AAEXXZ) 21>database.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol [email protected] 21>database.lib(QueryResult.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall ResultSet::NextRow(void)" ([email protected]@@QAE_NXZ) 21>database.lib(QueryResult.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall ResultSet::NextRow(void)" ([email protected]@@QAE_NXZ) 21>database.lib(QueryResult.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "private: bool __thiscall PreparedResultSet::_NextRow(void)" ([email protected]@@AAE_NXZ) 21>database.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]) 21>database.lib(QueryResult.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function [email protected]@[email protected][email protected]@[email protected]@[email protected]$0 21>database.lib(QueryResult.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function [email protected]@[email protected][email protected]@[email protected]@[email protected]$2 21>database.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]) 21>database.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol [email protected] 21>database.lib(QueryResult.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function [email protected]@[email protected][email protected]@[email protected]@[email protected]$0 21>database.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol [email protected] 21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function [email protected]@@[email protected]@[email protected]@[email protected]$4 21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function [email protected]@@[email protected]@[email protected]@[email protected]$4 21>database.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) 21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function [email protected]@@UAEIXZ$6 21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: virtual unsigned int __thiscall MySQLConnection::Open(void)" ([email protected]@@UAEIXZ) 21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function [email protected]@@UAEIXZ$0 21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: bool __thiscall MySQLConnection::Execute(char const *)" ([email protected]@@[email protected]) 21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function [email protected]@@[email protected]@[email protected]@[email protected]$4 21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: void __thiscall MySQLConnection::Ping(void)" ([email protected]@@QAEXXZ) 21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function [email protected]@@UAEIXZ$2 21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function [email protected]@@UAEIXZ$0 21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "protected: void __thiscall MySQLConnection::PrepareStatement(unsigned int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,enum ConnectionFlags)" ([email protected]@@[email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@Z) 21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function [email protected]@@[email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@Z$2 21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function [email protected]@@[email protected]@@Z$0 21>database.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) 21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function [email protected]@@[email protected]@[email protected]@[email protected]$4 21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function [email protected]@@[email protected]@[email protected]@[email protected]$4 21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function [email protected]@@UAEIXZ$6 21>database.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) 21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_next_res[email protected] referenced in function "public: class PreparedResultSet * __thiscall MySQLConnection::Query(class PreparedStatement *)" ([email protected]@@[email protected]@[email protected]@@Z) 21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: void __thiscall MySQLConnection::Close(void)" ([email protected]@@QAEXXZ) 21>C:\Program Files\MySQL\MySQL Server 5.6\lib\libmysql.lib : warning LNK4272: library machine type 'x64' conflicts with target machine type 'x86' 21>C:\Build\bin\RelWithDebInfo\worldserver.exe : fatal error LNK1120: 42 unresolved externals 21>Done building project "worldserver.vcxproj" -- FAILED. 22>------ Build started: Project: ALL_BUILD, Configuration: RelWithDebInfo Win32 ------ 22>Building Custom Rule C:/Trinity/CMakeLists.txt 22>CMake does not need to re-run because C:/Build/CMakeFiles/generate.stamp is up-to-date. ========== Build: 20 succeeded, 2 failed, 0 up-to-date, 0 skipped ========== Here's the CMake log, in case there's already something wrong there, but I don't think so Selecting Windows SDK version 10.0.17134.0 to target Windows 6.3.9600. CMake Deprecation Warning at CMakeLists.txt:22 (cmake_policy): The OLD behavior for policy CMP0005 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. CMake Deprecation Warning at CMakeLists.txt:24 (cmake_policy): The OLD behavior for policy CMP0043 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. Detected 32-bit platform MSVC: Enabled large address awareness MSVC: Enabled SSE2 support MSVC: Disabled Safe Exception Handlers for debug builds MSVC: Enabled increased number of sections in object files MSVC: Overloaded standard names MSVC: Disabled NON-SECURE warnings MSVC: Disabled POSIX warnings MSVC: Disabled generic compiletime warnings cotire 1.7.10 loaded. Found MySQL library: C:/Program Files/MySQL/MySQL Server 5.6/lib/libmysql.lib Found MySQL headers: C:/Program Files/MySQL/MySQL Server 5.6/include Found MySQL executable: C:/Program Files/MySQL/MySQL Server 5.6/bin/mysql.exe Found git binary : C:/Program Files (x86)/Git/cmd/git.exe * TrinityCore revision : ca7ee982db4d+ 2018-08-31 21:48:56 -0300 (3.3.5 branch) * Install core to : C:/Program Files (x86)/TrinityCore * Build world/auth : Yes (default) * Build with scripts : Yes (static) * Build map/vmap tools : Yes (default) * Build core w/PCH : Yes (default) * Build scripts w/PCH : Yes (default) * Show compile-warnings : No (default) * Use coreside debug : No (default) * Show source tree : Yes (hierarchical) * Use GIT revision hash : Yes (default) CMake Warning (dev) at dep/boost/CMakeLists.txt:44 (find_package): Policy CMP0074 is not set: find_package uses <PackageName>_ROOT variables. Run "cmake --help-policy CMP0074" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Environment variable Boost_ROOT is set to: C:\local\boost_1_66_0 For compatibility, CMake is ignoring the variable. This warning is for project developers. Use -Wno-dev to suppress it. Boost version: 1.66.0 Found the following Boost libraries: system filesystem thread program_options iostreams regex Found OpenSSL library: optimized;C:/OpenSSL-Win32/lib/VC/libssl32MD.lib;C:/OpenSSL-Win32/lib/VC/libcrypto32MD.lib;debug;C:/OpenSSL-Win32/lib/VC/libssl32MDd.lib;C:/OpenSSL-Win32/lib/VC/libcrypto32MDd.lib Found OpenSSL headers: C:/OpenSSL-Win32/include * Script configuration (static): | +- worldserver | +- Commands | +- Custom | +- EasternKingdoms | +- Events | +- Kalimdor | +- Northrend | +- OutdoorPvP | +- Outland | +- Pet | +- Spells | +- World | Configuring done Generating done I really have no idea what's going wrong, any help would be very appreciated! Thank you!
×
×
  • Create New...