-
Posts
4 -
Joined
-
Last visited
Posts posted by wallase
-
-
On 4/17/2016, 1:09:39, Nay said:
can you guys tell me why i am getting 2 failed in Build?
21>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)
21>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)
21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_fetch_fields@4 referenced in function __catch$?_Query@MySQLConnection@@QAE_NPBDPAPAUst_mysql_res@@PAPAUst_mysql_field@@PA_KPAI@Z$4
21>database.lib(QueryResult.obj) : error LNK2001: unresolved external symbol _mysql_fetch_fields@4
21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_field_count@4 referenced in function __catch$?_Query@MySQLConnection@@QAE_NPBDPAPAUst_mysql_res@@PAPAUst_mysql_field@@PA_KPAI@Z$4
21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_affected_rows@4 referenced in function __catch$?_Query@MySQLConnection@@QAE_NPBDPAPAUst_mysql_res@@PAPAUst_mysql_field@@PA_KPAI@Z$4
21>database.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)
21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_error@4 referenced in function __catch$?Execute@MySQLConnection@@QAE_NPBD@Z$0
21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_set_character_set@8 referenced in function __catch$?Open@MySQLConnection@@UAEIXZ$6
21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_init@4 referenced in function "public: virtual unsigned int __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAEIXZ)
21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_real_connect@32 referenced in function __catch$?Open@MySQLConnection@@UAEIXZ$0
21>database.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)
21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_store_result@4 referenced in function __catch$?_Query@MySQLConnection@@QAE_NPBDPAPAUst_mysql_res@@PAPAUst_mysql_field@@PA_KPAI@Z$4
21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_get_server_info@4 referenced in function __catch$?Open@MySQLConnection@@UAEIXZ$2
21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_get_client_info@0 referenced in function __catch$?Open@MySQLConnection@@UAEIXZ$0
21>database.lib(DatabaseWorkerPool.obj) : error LNK2001: unresolved external symbol _mysql_get_client_info@0
21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_options@12 referenced in function __catch$?Open@MySQLConnection@@UAEIXZ$0
21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_free_result@4 referenced in function __catch$?_Query@MySQLConnection@@QAE_NPBDPAPAUst_mysql_res@@PAPAUst_mysql_field@@PA_KPAI@Z$4
21>database.lib(QueryResult.obj) : error LNK2001: unresolved external symbol _mysql_free_result@4
21>database.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)
21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_stmt_prepare@12 referenced in function __catch$?PrepareStatement@MySQLConnection@@IAEXIPBDW4ConnectionFlags@@@Z$2
21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_stmt_execute@4 referenced in function __catch$?Execute@MySQLConnection@@QAE_NPAVPreparedStatement@@@Z$0
21>database.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)
21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_stmt_close@4 referenced in function __catch$?PrepareStatement@MySQLConnection@@IAEXIPBDW4ConnectionFlags@@@Z$4
21>database.lib(PreparedStatement.obj) : error LNK2001: unresolved external symbol _mysql_stmt_close@4
21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_stmt_result_metadata@4 referenced in function __catch$?_Query@MySQLConnection@@QAE_NPAVPreparedStatement@@PAPAUst_mysql_res@@PA_KPAI@Z$4
21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_stmt_error@4 referenced in function "public: bool __thiscall MySQLConnection::Execute(class PreparedStatement *)" (?Execute@MySQLConnection@@QAE_NPAVPreparedStatement@@@Z)
21>database.lib(QueryResult.obj) : error LNK2001: unresolved external symbol _mysql_stmt_error@4
21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_stmt_num_rows@4 referenced in function __catch$?_Query@MySQLConnection@@QAE_NPAVPreparedStatement@@PAPAUst_mysql_res@@PA_KPAI@Z$4
21>database.lib(QueryResult.obj) : error LNK2001: unresolved external symbol _mysql_stmt_num_rows@4
21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_stmt_field_count@4 referenced in function __catch$?_Query@MySQLConnection@@QAE_NPAVPreparedStatement@@PAPAUst_mysql_res@@PA_KPAI@Z$4
21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_autocommit@8 referenced in function __catch$?Open@MySQLConnection@@UAEIXZ$6
21>database.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)
21>database.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)
21>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol _mysql_close@4 referenced in function "public: virtual __thiscall MySQLConnection::~MySQLConnection(void)" (??1MySQLConnection@@UAE@XZ)
21>database.lib(DatabaseWorkerPool.obj) : error LNK2019: unresolved external symbol _mysql_ping@4 referenced in function "private: virtual bool __thiscall PingOperation::Execute(void)" (?Execute@PingOperation@@EAE_NXZ)
21>database.lib(DatabaseWorkerPool.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)
21>database.lib(DatabaseWorkerPool.obj) : error LNK2019: unresolved external symbol _mysql_get_server_version@4 referenced in function "private: unsigned int __thiscall DatabaseWorkerPool<class CharacterDatabaseConnection>::OpenConnections(enum DatabaseWorkerPool<class CharacterDatabaseConnection>::InternalIndex,unsigned char)" (?OpenConnections@?$DatabaseWorkerPool@VCharacterDatabaseConnection@@@@AAEIW4InternalIndex@1@E@Z)
21>database.lib(DatabaseWorkerPool.obj) : error LNK2019: unresolved external symbol _mysql_real_escape_string@16 referenced in function "private: unsigned long __thiscall DatabaseWorkerPool<class CharacterDatabaseConnection>::EscapeString(char *,char const *,unsigned long)" (?EscapeString@?$DatabaseWorkerPool@VCharacterDatabaseConnection@@@@AAEKPADPBDK@Z)
21>database.lib(DatabaseWorkerPool.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)
21>database.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)
21>database.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)
21>database.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)
21>database.lib(QueryResult.obj) : error LNK2019: unresolved external symbol _mysql_stmt_fetch@4 referenced in function __catch$??0PreparedResultSet@@QAE@PAUst_mysql_stmt@@PAUst_mysql_res@@_KI@Z$2
21>database.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)
21>database.lib(QueryResult.obj) : error LNK2019: unresolved external symbol _mysql_stmt_bind_result@8 referenced in function __catch$??0PreparedResultSet@@QAE@PAUst_mysql_stmt@@PAUst_mysql_res@@_KI@Z$0
21>database.lib(QueryResult.obj) : error LNK2019: unresolved external symbol _mysql_stmt_free_result@4 referenced in function __catch$??0PreparedResultSet@@QAE@PAUst_mysql_stmt@@PAUst_mysql_res@@_KI@Z$2
21>C:\Trinity\Build\bin\Release\worldserver.exe : fatal error LNK1120: 41 unresolved externals
22>------ Build started: Project: ALL_BUILD, Configuration: Release Win32 ------
22> Building Custom Rule C:/Trinity/Source/CMakeLists.txt
22> CMake does not need to re-run because C:\Trinity\Build\CMakeFiles\generate.stamp is up-to-date.
========== Build: 20 succeeded, 2 failed, 0 up-to-date, 0 skipped ========== -
3 hours ago, Nay said:
@wallase You need Boost compiled for 32 bits (because of some odd reason you picked the 32 bits compilers) and to create an environment variable with the name BOOST_ROOT and the value equal to the directory of your boost install (e.g "C:\boost_1_60_0"). This is all described in the wiki, just read it.
many many thanks mate , its work , lets see what troubles i face further xd
-
i tried on both VS2015 and 2013 i have same error while Configuring with cMake. please help
this showing below message:
The C compiler identification is MSVC 18.0.40629.0
The CXX compiler identification is MSVC 18.0.40629.0
Check for working C compiler using: Visual Studio 12 2013
Check for working C compiler using: Visual Studio 12 2013 -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler using: Visual Studio 12 2013
Check for working CXX compiler using: Visual Studio 12 2013 -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Detecting CXX compile features
Detecting CXX compile features - done
Detected 32-bit platform
MSVC: Enabled large address awareness
MSVC: Enabled SSE2 support
MSVC: Disabled Safe Exception Handlers for debug builds
MSVC: Overloaded standard names
MSVC: Disabled NON-SECURE warnings
MSVC: Disabled POSIX warnings
MSVC: Disabled generic compiletime warnings
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 : acdfc36a4e93 2016-04-16 18:58:47 +0100 (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 : No (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)
Looking for pthread.h
Looking for pthread.h - not found
Found Threads: TRUE
CMake Error at cmake/macros/FindBoost.cmake:1184 (message):
Unable to find the requested Boost libraries.
Unable to find the Boost header files. Please set BOOST_ROOT to the root
directory containing Boost or BOOST_INCLUDEDIR to the directory containing
Boost's headers.
Call Stack (most recent call first):
dep/boost/CMakeLists.txt:29 (find_package)
Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM
Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM - Failed
Looking for open
Looking for open - found
Found OpenSSL library: optimized;C:/OpenSSL-Win32/lib/VC/ssleay32MD.lib;C:/OpenSSL-Win32/lib/VC/libeay32MD.lib;debug;C:/OpenSSL-Win32/lib/VC/ssleay32MDd.lib;C:/OpenSSL-Win32/lib/VC/libeay32MDd.lib
Found OpenSSL headers: C:/OpenSSL-Win32/include
* Script configuration (static):
|+- worldserver
| +- Commands
| +- Custom
| +- EasternKingdoms
| +- Events
| +- Kalimdor
| +- Northrend
| +- OutdoorPvP
| +- Outland
| +- Pet
| +- Spells
| +- World
|
Configuring incomplete, errors occurred!
See also "C:/Build/CMakeFiles/CMakeOutput.log".
See also "C:/Build/CMakeFiles/CMakeError.log".
Compile or cmake problems
in Help and Support
Posted
any suggestion what to do? cant figure out :(