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

Thanks again. Changing kernel was not solved the problem but I get what is the problem. It is caused by low RAM. 

 

I made a swap file and solved the problem. Here is how I solved:

free
dd if=/dev/zero of=/var/swap.img bs=1024k count=1000
mkswap /var/swap.img
swapon /var/swap.img
free
Link to comment
Share on other sites

Hehe, no wonder I got another error. Again I tried to solve this by myself, by inspecting forums, googling error codes. Some websites I cannot open because of Turkey's internet blocking system (shame), maybe I missed the solution of this.

 

Here is what I get when I try to run worldserver (by using: ./worldserver )

Using configuration file /home/root/server/etc/worldserver.conf.
Using SSL version: OpenSSL 1.0.1f 6 Jan 2014 (library: OpenSSL 1.0.1f 6 Jan 2014)
Using Boost version: 1.54.0
In mysql_stmt_prepare() id: 68, sql: "UPDATE creature SET zoneId = ?, areaId = ? WHERE guid = ?"
Unknown column 'zoneId' in 'field list'
In mysql_stmt_prepare() id: 69, sql: "UPDATE gameobject SET zoneId = ?, areaId = ? WHERE guid = ?"
Unknown column 'zoneId' in 'field list'
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;my_password;world

P.S: I changed my real password as "my_password" while copying here.

P.S. 2: The Authserver is running properly and database settings in config files have same syntax, I didn't messed them up for sure.

P.S. 3: I installed Webmin, create databases from its GUI, ran SQL files for each databases. 

Link to comment
Share on other sites

Hi there, 

 

Who compile it on Centos ? Help me pls.
I have this error, but libpthread exist.
 

../../../dep/jemalloc/libjemalloc.a(jemalloc.c.o): In function `malloc_init_hard':


jemalloc.c:(.text+0xeb6): undefined reference to `pthread_atfork'
collect2: [src/server/worldserver/worldserver] Error 1
make[1]: *** [src/server/worlderror: ld returned 1 exit status
make[2]: *** server/CMakeFiles/worldserver.dir/all] Error 2
make: *** [all] Error 2

 
 
In logs 
 

Linking C executable cmTryCompileExec1794243927
/usr/bin/cmake28 -E cmake_link_script CMakeFiles/cmTryCompileExec1794243927.dir/link.txt --verbose=1
/usr/bin/cc    -std=gnu99      CMakeFiles/cmTryCompileExec1794243927.dir/CheckSymbolExists.c.o  -o cmTryCompileExec1794243927 -rdynamic
CMakeFiles/cmTryCompileExec1794243927.dir/CheckSymbolExists.c.o: In function `main':
CheckSymbolExists.c:(.text+0x16): undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
gmake[1]: Leaving directory `/etc/opt/trinity/TrinityCore/build/CMakeFiles/CMakeTmp'
gmake[1]: *** [cmTryCompileExec1794243927] Error 1
gmake: *** [cmTryCompileExec1794243927/fast] Error 2
 
 
and
 
 
 
Linking C executable cmTryCompileExec2551262449
/usr/bin/cmake28 -E cmake_link_script CMakeFiles/cmTryCompileExec2551262449.dir/link.txt --verbose=1
/usr/bin/cc    -std=gnu99  -DCHECK_FUNCTION_EXISTS=pthread_create    CMakeFiles/cmTryCompileExec2551262449.dir/CheckFunctionExists.c.o  -o cmTryCompileExec2551262449 -rdynamic -lpthreads
/opt/centos/devtoolset-1.1/root/usr/libexec/gcc/x86_64-redhat-linux/4.7.2/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
gmake[1]: *** [cmTryCompileExec2551262449] Error 1
gmake[1]: Leaving directory `/etc/opt/trinity/TrinityCore/build/CMakeFiles/CMakeTmp'
gmake: *** [cmTryCompileExec2551262449/fast] Error 2

 

 
on CentOS 6.5 x86_64
 
-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detected 64-bit platform
-- UNIX: Using jemalloc
-- UNIX: Using default configuration directory
-- UNIX: Using default library directory
-- UNIX: Configuring uninstall target
-- UNIX: Created uninstall target
-- UNIX: Detected compiler: /usr/bin/cc
-- GCC: Enabled c++11 support
-- GCC: Enabled C99 support
-- GCC: SFMT enabled, SSE2 flags forced
-- Found OpenSSL library: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so
-- Found OpenSSL headers: /usr/include
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Boost version: 1.56.0
-- Found the following Boost libraries:
--   system
--   thread
--   program_options
-- Using mysql-config: /usr/bin/mysql_config
-- Found MySQL library: /usr/lib64/mysql/libmysqlclient_r.so
-- Found MySQL headers: /usr/include/mysql
-- Found Readline library: /usr/lib64/libreadline.so
-- Include dir is: /usr/include
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.3") 
-- Found BZip2: /usr/lib64/libbz2.so (found version "1.0.5") 
-- Looking for BZ2_bzCompressInit in /usr/lib64/libbz2.so
-- Looking for BZ2_bzCompressInit in /usr/lib64/libbz2.so - found
-- Found git binary : /usr/bin/git
 
* TrinityCore revision   : 083ae4e18318 2014-10-07 02:24:54 +0200 (master branch)
* TrinityCore buildtype  : Release
 
* Install core to        : /usr/local
* Install libraries to   : /usr/local/lib
* Install configs to     : /usr/local/etc
 
* Build world/auth       : Yes (default)
* Build with scripts     : Yes (default)
* 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)
* Use GIT revision hash  : Yes
 
-- SCRIPT PREPARATIONS
  -> Prepared: Spells
  -> Prepared: Commands
  -> Prepared: Custom
  -> Prepared: World
  -> Prepared: Outdoor PVP Zones
  -> Prepared: Eastern Kingdoms
  -> Prepared: Kalimdor
  -> Prepared: Outland
  -> Prepared: Northrend
  -> Prepared: Events
  -> Prepared: Pet
-- SCRIPT PREPARATION COMPLETE
 
-- Configuring done
-- Generating done

Edited by opex
Link to comment
Share on other sites

From: http://www.trinitycore.org/f/topic/1518-trouble-with-your-trinity-install-readme-1st-faqs/#entry47706

Compile core with:

declare -x CFLAGS="-m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g3 -ggdb3 -pipe -msse3 -fno-strength-reduce -fno-delete-null-pointer-checks -fno-strict-aliasing -frename-registers -rdynamic -fno-fast-math -lpthread"

declare -x CXXFLAGS="-m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g3 -ggdb3 -pipe -msse3 -fno-strength-reduce -fno-delete-null-pointer-checks -fno-strict-aliasing -frename-registers -rdynamic -fno-fast-math -lpthread"

cmake ../ -DCMAKE_BUILD_TYPE=None -DPREFIX=/your/installation/path

Link to comment
Share on other sites

From: http://www.trinitycore.org/f/topic/1518-trouble-with-your-trinity-install-readme-1st-faqs/#entry47706

Compile core with:

declare -x CFLAGS="-m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g3 -ggdb3 -pipe -msse3 -fno-strength-reduce -fno-delete-null-pointer-checks -fno-strict-aliasing -frename-registers -rdynamic -fno-fast-math -lpthread"

declare -x CXXFLAGS="-m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g3 -ggdb3 -pipe -msse3 -fno-strength-reduce -fno-delete-null-pointer-checks -fno-strict-aliasing -frename-registers -rdynamic -fno-fast-math -lpthread"

cmake ../ -DCMAKE_BUILD_TYPE=None -DPREFIX=/your/installation/path

 

Thank you for your answer, but now i have this error

 

 /usr/lib/../lib64/crt1.o: In function `_start':

(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
make[2]: *** [src/server/shared/sharedPCH.h.gch] Error 1
make[1]: *** [src/server/shared/CMakeFiles/generate_sharedPCH.cpp.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/usr/lib/../lib64/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
make[2]: *** [src/server/game/gamePCH.h.gch] Error 1
make[1]: *** [src/server/game/CMakeFiles/generate_gamePCH.cpp.dir/all] Error 2
make: *** [all] Error 2
Link to comment
Share on other sites

I have followed the compilation guide on the wiki to the letter.

I've encountered 153 errors while compiling, not sure where to move on from here.


Error	1	error LNK2019: unresolved external symbol _mysql_server_init@12 referenced in function "public: static void __cdecl MySQL::Library_Init(void)" (?Library_Init@MySQL@@SAXXZ)	C:UsersServerDesktopServerBuildsrcserverauthserverMain.obj	authserver
Error	2	error LNK2019: unresolved external symbol _mysql_server_end@0 referenced in function "public: static void __cdecl MySQL::Library_End(void)" (?Library_End@MySQL@@SAXXZ)	C:UsersServerDesktopServerBuildsrcserverauthserverMain.obj	authserver
Error	3	error LNK2019: unresolved external symbol _mysql_ping@4 referenced in function "private: virtual bool __thiscall PingOperation::Execute(void)" (?Execute@PingOperation@@EAE_NXZ)	C:UsersServerDesktopServerBuildsrcserverauthserverMain.obj	authserver
Error	4	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)	C:UsersServerDesktopServerBuildsrcserverauthserverMain.obj	authserver
Error	5	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)	C:UsersServerDesktopServerBuildsrcserverauthserverMain.obj	authserver
Error	6	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)	C:UsersServerDesktopServerBuildsrcserverauthserverMain.obj	authserver
Error	7	error LNK2019: unresolved external symbol _mysql_free_result@4 referenced in function "public: __thiscall ResultSet::~ResultSet(void)" (??1ResultSet@@QAE@XZ)	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(QueryResult.obj)	authserver
Error	8	error LNK2001: unresolved external symbol _mysql_free_result@4	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(MySQLConnection.obj)	authserver
Error	9	error LNK2019: unresolved external symbol _mysql_fetch_row@4 referenced in function "public: bool __thiscall ResultSet::NextRow(void)" (?NextRow@ResultSet@@QAE_NXZ)	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(QueryResult.obj)	authserver
Error	10	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)	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(QueryResult.obj)	authserver
Error	11	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)	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(QueryResult.obj)	authserver
Error	12	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)	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(QueryResult.obj)	authserver
Error	13	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)	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(QueryResult.obj)	authserver
Error	14	error LNK2019: unresolved external symbol _mysql_stmt_free_result@4 referenced in function "private: void __thiscall PreparedResultSet::CleanUp(void)" (?CleanUp@PreparedResultSet@@AAEXXZ)	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(QueryResult.obj)	authserver
Error	15	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)	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(QueryResult.obj)	authserver
Error	16	error LNK2001: unresolved external symbol _mysql_stmt_error@4	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(MySQLConnection.obj)	authserver
Error	17	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)	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(QueryResult.obj)	authserver
Error	18	error LNK2001: unresolved external symbol _mysql_stmt_num_rows@4	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(MySQLConnection.obj)	authserver
Error	19	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)	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(MySQLConnection.obj)	authserver
Error	20	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)	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(MySQLConnection.obj)	authserver
Error	21	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)	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(MySQLConnection.obj)	authserver
Error	22	error LNK2019: unresolved external symbol _mysql_errno@4 referenced in function "public: bool __thiscall MySQLConnection::Execute(class PreparedStatement *)" (?Execute@MySQLConnection@@QAE_NPAVPreparedStatement@@@Z)	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(MySQLConnection.obj)	authserver
Error	23	error LNK2019: unresolved external symbol _mysql_error@4 referenced in function "public: bool __thiscall MySQLConnection::Execute(char const *)" (?Execute@MySQLConnection@@QAE_NPBD@Z)	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(MySQLConnection.obj)	authserver
Error	24	error LNK2019: unresolved external symbol _mysql_thread_id@4 referenced in function "private: bool __thiscall MySQLConnection::_HandleMySQLErrno(unsigned int)" (?_HandleMySQLErrno@MySQLConnection@@AAE_NI@Z)	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(MySQLConnection.obj)	authserver
Error	25	error LNK2019: unresolved external symbol _mysql_set_character_set@8 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ)	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(MySQLConnection.obj)	authserver
Error	26	error LNK2019: unresolved external symbol _mysql_init@4 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ)	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(MySQLConnection.obj)	authserver
Error	27	error LNK2019: unresolved external symbol _mysql_real_connect@32 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ)	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(MySQLConnection.obj)	authserver
Error	28	error LNK2019: unresolved external symbol _mysql_query@8 referenced in function "public: bool __thiscall MySQLConnection::Execute(char const *)" (?Execute@MySQLConnection@@QAE_NPBD@Z)	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(MySQLConnection.obj)	authserver
Error	29	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)	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(MySQLConnection.obj)	authserver
Error	30	error LNK2019: unresolved external symbol _mysql_get_server_info@4 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ)	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(MySQLConnection.obj)	authserver
Error	31	error LNK2019: unresolved external symbol _mysql_get_client_info@0 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ)	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(MySQLConnection.obj)	authserver
Error	32	error LNK2019: unresolved external symbol _mysql_options@12 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ)	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(MySQLConnection.obj)	authserver
Error	33	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)	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(MySQLConnection.obj)	authserver
Error	34	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)	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(MySQLConnection.obj)	authserver
Error	35	error LNK2019: unresolved external symbol _mysql_stmt_execute@4 referenced in function "public: bool __thiscall MySQLConnection::Execute(class PreparedStatement *)" (?Execute@MySQLConnection@@QAE_NPAVPreparedStatement@@@Z)	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(MySQLConnection.obj)	authserver
Error	36	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)	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(MySQLConnection.obj)	authserver
Error	37	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)	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(MySQLConnection.obj)	authserver
Error	38	error LNK2001: unresolved external symbol _mysql_stmt_close@4	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(PreparedStatement.obj)	authserver
Error	39	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)	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(MySQLConnection.obj)	authserver
Error	40	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)	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(MySQLConnection.obj)	authserver
Error	41	error LNK2019: unresolved external symbol _mysql_autocommit@8 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ)	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(MySQLConnection.obj)	authserver
Error	42	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)	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(MySQLConnection.obj)	authserver
Error	43	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)	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(MySQLConnection.obj)	authserver
Error	44	error LNK2019: unresolved external symbol _mysql_close@4 referenced in function "public: virtual __thiscall MySQLConnection::~MySQLConnection(void)" (??1MySQLConnection@@UAE@XZ)	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(MySQLConnection.obj)	authserver
Error	45	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)	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(PreparedStatement.obj)	authserver
Error	46	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)	C:UsersServerDesktopServerBuildsrcserverauthservershared.lib(PreparedStatement.obj)	authserver
Error	47	error LNK1120: 42 unresolved externals	C:UsersServerDesktopServerBuildbinReleaseauthserver.exe	authserver
Error	48	error LNK2019: unresolved external symbol _mysql_server_init@12 referenced in function "public: static void __cdecl MySQL::Library_Init(void)" (?Library_Init@MySQL@@SAXXZ)	C:UsersServerDesktopServerBuildsrcserverbnetserverMain.obj	bnetserver
Error	49	error LNK2019: unresolved external symbol _mysql_server_end@0 referenced in function "public: static void __cdecl MySQL::Library_End(void)" (?Library_End@MySQL@@SAXXZ)	C:UsersServerDesktopServerBuildsrcserverbnetserverMain.obj	bnetserver
Error	50	error LNK2019: unresolved external symbol _mysql_ping@4 referenced in function "private: virtual bool __thiscall PingOperation::Execute(void)" (?Execute@PingOperation@@EAE_NXZ)	C:UsersServerDesktopServerBuildsrcserverbnetserverMain.obj	bnetserver
Error	51	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)	C:UsersServerDesktopServerBuildsrcserverbnetserverMain.obj	bnetserver
Error	52	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)	C:UsersServerDesktopServerBuildsrcserverbnetserverMain.obj	bnetserver
Error	53	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)	C:UsersServerDesktopServerBuildsrcserverbnetserverMain.obj	bnetserver
Error	54	error LNK2019: unresolved external symbol _mysql_free_result@4 referenced in function "public: __thiscall ResultSet::~ResultSet(void)" (??1ResultSet@@QAE@XZ)	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(QueryResult.obj)	bnetserver
Error	55	error LNK2001: unresolved external symbol _mysql_free_result@4	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(MySQLConnection.obj)	bnetserver
Error	56	error LNK2019: unresolved external symbol _mysql_fetch_row@4 referenced in function "public: bool __thiscall ResultSet::NextRow(void)" (?NextRow@ResultSet@@QAE_NXZ)	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(QueryResult.obj)	bnetserver
Error	57	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)	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(QueryResult.obj)	bnetserver
Error	58	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)	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(QueryResult.obj)	bnetserver
Error	59	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)	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(QueryResult.obj)	bnetserver
Error	60	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)	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(QueryResult.obj)	bnetserver
Error	61	error LNK2019: unresolved external symbol _mysql_stmt_free_result@4 referenced in function "private: void __thiscall PreparedResultSet::CleanUp(void)" (?CleanUp@PreparedResultSet@@AAEXXZ)	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(QueryResult.obj)	bnetserver
Error	62	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)	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(QueryResult.obj)	bnetserver
Error	63	error LNK2001: unresolved external symbol _mysql_stmt_error@4	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(MySQLConnection.obj)	bnetserver
Error	64	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)	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(QueryResult.obj)	bnetserver
Error	65	error LNK2001: unresolved external symbol _mysql_stmt_num_rows@4	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(MySQLConnection.obj)	bnetserver
Error	66	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)	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(MySQLConnection.obj)	bnetserver
Error	67	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)	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(MySQLConnection.obj)	bnetserver
Error	68	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)	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(MySQLConnection.obj)	bnetserver
Error	69	error LNK2019: unresolved external symbol _mysql_errno@4 referenced in function "public: bool __thiscall MySQLConnection::Execute(class PreparedStatement *)" (?Execute@MySQLConnection@@QAE_NPAVPreparedStatement@@@Z)	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(MySQLConnection.obj)	bnetserver
Error	70	error LNK2001: unresolved external symbol _mysql_errno@4	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(Transaction.obj)	bnetserver
Error	71	error LNK2019: unresolved external symbol _mysql_error@4 referenced in function "public: bool __thiscall MySQLConnection::Execute(char const *)" (?Execute@MySQLConnection@@QAE_NPBD@Z)	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(MySQLConnection.obj)	bnetserver
Error	72	error LNK2019: unresolved external symbol _mysql_thread_id@4 referenced in function "private: bool __thiscall MySQLConnection::_HandleMySQLErrno(unsigned int)" (?_HandleMySQLErrno@MySQLConnection@@AAE_NI@Z)	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(MySQLConnection.obj)	bnetserver
Error	73	error LNK2019: unresolved external symbol _mysql_set_character_set@8 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ)	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(MySQLConnection.obj)	bnetserver
Error	74	error LNK2019: unresolved external symbol _mysql_init@4 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ)	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(MySQLConnection.obj)	bnetserver
Error	75	error LNK2019: unresolved external symbol _mysql_real_connect@32 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ)	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(MySQLConnection.obj)	bnetserver
Error	76	error LNK2019: unresolved external symbol _mysql_query@8 referenced in function "public: bool __thiscall MySQLConnection::Execute(char const *)" (?Execute@MySQLConnection@@QAE_NPBD@Z)	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(MySQLConnection.obj)	bnetserver
Error	77	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)	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(MySQLConnection.obj)	bnetserver
Error	78	error LNK2019: unresolved external symbol _mysql_get_server_info@4 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ)	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(MySQLConnection.obj)	bnetserver
Error	79	error LNK2019: unresolved external symbol _mysql_get_client_info@0 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ)	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(MySQLConnection.obj)	bnetserver
Error	80	error LNK2019: unresolved external symbol _mysql_options@12 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ)	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(MySQLConnection.obj)	bnetserver
Error	81	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)	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(MySQLConnection.obj)	bnetserver
Error	82	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)	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(MySQLConnection.obj)	bnetserver
Error	83	error LNK2019: unresolved external symbol _mysql_stmt_execute@4 referenced in function "public: bool __thiscall MySQLConnection::Execute(class PreparedStatement *)" (?Execute@MySQLConnection@@QAE_NPAVPreparedStatement@@@Z)	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(MySQLConnection.obj)	bnetserver
Error	84	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)	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(MySQLConnection.obj)	bnetserver
Error	85	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)	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(MySQLConnection.obj)	bnetserver
Error	86	error LNK2001: unresolved external symbol _mysql_stmt_close@4	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(PreparedStatement.obj)	bnetserver
Error	87	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)	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(MySQLConnection.obj)	bnetserver
Error	88	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)	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(MySQLConnection.obj)	bnetserver
Error	89	error LNK2019: unresolved external symbol _mysql_autocommit@8 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ)	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(MySQLConnection.obj)	bnetserver
Error	90	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)	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(MySQLConnection.obj)	bnetserver
Error	91	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)	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(MySQLConnection.obj)	bnetserver
Error	92	error LNK2019: unresolved external symbol _mysql_close@4 referenced in function "public: virtual __thiscall MySQLConnection::~MySQLConnection(void)" (??1MySQLConnection@@UAE@XZ)	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(MySQLConnection.obj)	bnetserver
Error	93	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)	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(PreparedStatement.obj)	bnetserver
Error	94	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)	C:UsersServerDesktopServerBuildsrcserverbnetservershared.lib(PreparedStatement.obj)	bnetserver
Error	95	error LNK1120: 42 unresolved externals	C:UsersServerDesktopServerBuildbinReleasebnetserver.exe	bnetserver
Error	96	error LNK2019: unresolved external symbol _mysql_server_init@12 referenced in function "public: static void __cdecl MySQL::Library_Init(void)" (?Library_Init@MySQL@@SAXXZ)	C:UsersServerDesktopServerBuildsrcserverworldserverMain.obj	worldserver
Error	97	error LNK2019: unresolved external symbol _mysql_server_end@0 referenced in function "public: static void __cdecl MySQL::Library_End(void)" (?Library_End@MySQL@@SAXXZ)	C:UsersServerDesktopServerBuildsrcserverworldserverMain.obj	worldserver
Error	98	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)	C:UsersServerDesktopServerBuildsrcserverworldserverMain.obj	worldserver
Error	99	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)	C:UsersServerDesktopServerBuildsrcserverworldserverMain.obj	worldserver
Error	100	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)	C:UsersServerDesktopServerBuildsrcserverworldserverMain.obj	worldserver
Error	101	error LNK2019: unresolved external symbol _mysql_ping@4 referenced in function "private: virtual bool __thiscall PingOperation::Execute(void)" (?Execute@PingOperation@@EAE_NXZ)	C:UsersServerDesktopServerBuildsrcserverworldservergame.lib(World.obj)	worldserver
Error	102	error LNK2001: unresolved external symbol _mysql_real_escape_string@16	C:UsersServerDesktopServerBuildsrcserverworldserverscripts.lib(cs_misc.obj)	worldserver
Error	103	error LNK2001: unresolved external symbol _mysql_real_escape_string@16	C:UsersServerDesktopServerBuildsrcserverworldserverscripts.lib(cs_wp.obj)	worldserver
Error	104	error LNK2001: unresolved external symbol _mysql_real_escape_string@16	C:UsersServerDesktopServerBuildsrcserverworldservergame.lib(PlayerDump.obj)	worldserver
Error	105	error LNK2001: unresolved external symbol _mysql_real_escape_string@16	C:UsersServerDesktopServerBuildsrcserverworldserverscripts.lib(cs_ban.obj)	worldserver
Error	106	error LNK2001: unresolved external symbol _mysql_real_escape_string@16	C:UsersServerDesktopServerBuildsrcserverworldserverscripts.lib(cs_go.obj)	worldserver
Error	107	error LNK2001: unresolved external symbol _mysql_real_escape_string@16	C:UsersServerDesktopServerBuildsrcserverworldserverscripts.lib(cs_gobject.obj)	worldserver
Error	108	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)	C:UsersServerDesktopServerBuildsrcserverworldservergame.lib(CharacterHandler.obj)	worldserver
Error	109	error LNK2001: unresolved external symbol _mysql_real_escape_string@16	C:UsersServerDesktopServerBuildsrcserverworldservergame.lib(GroupHandler.obj)	worldserver
Error	110	error LNK2001: unresolved external symbol _mysql_real_escape_string@16	C:UsersServerDesktopServerBuildsrcserverworldservergame.lib(PetitionsHandler.obj)	worldserver
Error	111	error LNK2001: unresolved external symbol _mysql_real_escape_string@16	C:UsersServerDesktopServerBuildsrcserverworldservergame.lib(Pet.obj)	worldserver
Error	112	error LNK2019: unresolved external symbol _mysql_free_result@4 referenced in function "public: __thiscall ResultSet::~ResultSet(void)" (??1ResultSet@@QAE@XZ)	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(QueryResult.obj)	worldserver
Error	113	error LNK2001: unresolved external symbol _mysql_free_result@4	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(MySQLConnection.obj)	worldserver
Error	114	error LNK2019: unresolved external symbol _mysql_fetch_row@4 referenced in function "public: bool __thiscall ResultSet::NextRow(void)" (?NextRow@ResultSet@@QAE_NXZ)	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(QueryResult.obj)	worldserver
Error	115	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)	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(QueryResult.obj)	worldserver
Error	116	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)	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(QueryResult.obj)	worldserver
Error	117	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)	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(QueryResult.obj)	worldserver
Error	118	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)	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(QueryResult.obj)	worldserver
Error	119	error LNK2019: unresolved external symbol _mysql_stmt_free_result@4 referenced in function "private: void __thiscall PreparedResultSet::CleanUp(void)" (?CleanUp@PreparedResultSet@@AAEXXZ)	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(QueryResult.obj)	worldserver
Error	120	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)	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(QueryResult.obj)	worldserver
Error	121	error LNK2001: unresolved external symbol _mysql_stmt_error@4	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(MySQLConnection.obj)	worldserver
Error	122	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)	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(QueryResult.obj)	worldserver
Error	123	error LNK2001: unresolved external symbol _mysql_stmt_num_rows@4	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(MySQLConnection.obj)	worldserver
Error	124	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)	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(MySQLConnection.obj)	worldserver
Error	125	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)	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(MySQLConnection.obj)	worldserver
Error	126	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)	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(MySQLConnection.obj)	worldserver
Error	127	error LNK2019: unresolved external symbol _mysql_errno@4 referenced in function "public: bool __thiscall MySQLConnection::Execute(class PreparedStatement *)" (?Execute@MySQLConnection@@QAE_NPAVPreparedStatement@@@Z)	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(MySQLConnection.obj)	worldserver
Error	128	error LNK2001: unresolved external symbol _mysql_errno@4	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(Transaction.obj)	worldserver
Error	129	error LNK2019: unresolved external symbol _mysql_error@4 referenced in function "public: bool __thiscall MySQLConnection::Execute(char const *)" (?Execute@MySQLConnection@@QAE_NPBD@Z)	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(MySQLConnection.obj)	worldserver
Error	130	error LNK2019: unresolved external symbol _mysql_thread_id@4 referenced in function "private: bool __thiscall MySQLConnection::_HandleMySQLErrno(unsigned int)" (?_HandleMySQLErrno@MySQLConnection@@AAE_NI@Z)	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(MySQLConnection.obj)	worldserver
Error	131	error LNK2019: unresolved external symbol _mysql_set_character_set@8 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ)	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(MySQLConnection.obj)	worldserver
Error	132	error LNK2019: unresolved external symbol _mysql_init@4 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ)	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(MySQLConnection.obj)	worldserver
Error	133	error LNK2019: unresolved external symbol _mysql_real_connect@32 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ)	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(MySQLConnection.obj)	worldserver
Error	134	error LNK2019: unresolved external symbol _mysql_query@8 referenced in function "public: bool __thiscall MySQLConnection::Execute(char const *)" (?Execute@MySQLConnection@@QAE_NPBD@Z)	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(MySQLConnection.obj)	worldserver
Error	135	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)	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(MySQLConnection.obj)	worldserver
Error	136	error LNK2019: unresolved external symbol _mysql_get_server_info@4 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ)	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(MySQLConnection.obj)	worldserver
Error	137	error LNK2019: unresolved external symbol _mysql_get_client_info@0 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ)	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(MySQLConnection.obj)	worldserver
Error	138	error LNK2019: unresolved external symbol _mysql_options@12 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ)	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(MySQLConnection.obj)	worldserver
Error	139	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)	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(MySQLConnection.obj)	worldserver
Error	140	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)	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(MySQLConnection.obj)	worldserver
Error	141	error LNK2019: unresolved external symbol _mysql_stmt_execute@4 referenced in function "public: bool __thiscall MySQLConnection::Execute(class PreparedStatement *)" (?Execute@MySQLConnection@@QAE_NPAVPreparedStatement@@@Z)	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(MySQLConnection.obj)	worldserver
Error	142	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)	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(MySQLConnection.obj)	worldserver
Error	143	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)	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(MySQLConnection.obj)	worldserver
Error	144	error LNK2001: unresolved external symbol _mysql_stmt_close@4	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(PreparedStatement.obj)	worldserver
Error	145	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)	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(MySQLConnection.obj)	worldserver
Error	146	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)	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(MySQLConnection.obj)	worldserver
Error	147	error LNK2019: unresolved external symbol _mysql_autocommit@8 referenced in function "public: virtual bool __thiscall MySQLConnection::Open(void)" (?Open@MySQLConnection@@UAE_NXZ)	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(MySQLConnection.obj)	worldserver
Error	148	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)	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(MySQLConnection.obj)	worldserver
Error	149	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)	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(MySQLConnection.obj)	worldserver
Error	150	error LNK2019: unresolved external symbol _mysql_close@4 referenced in function "public: virtual __thiscall MySQLConnection::~MySQLConnection(void)" (??1MySQLConnection@@UAE@XZ)	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(MySQLConnection.obj)	worldserver
Error	151	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)	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(PreparedStatement.obj)	worldserver
Error	152	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)	C:UsersServerDesktopServerBuildsrcserverworldservershared.lib(PreparedStatement.obj)	worldserver
Error	153	error LNK1120: 43 unresolved externals	C:UsersServerDesktopServerBuildbinReleaseworldserver.exe	worldserver

Link to comment
Share on other sites

Are you talking about the following mysql libs? I'm not able to compile it properly not because of my lack of skill set to follow instructions but because of the lack of precise and clear instructions regarding the libs. 

 

libmySQL.dll

libeay32.dll

ssleay32.dll

 

​I appreciate your help very much, where should I proceed?

Edited by Ragnar
Link to comment
Share on other sites

I am running all required software on Windows 8, with Boost 1.56.0 and Visual Studio 2013 Pro.

I have tried about thirty times now to get this to work, and I had ONE successful CMAKE, but when I compiled in C++ I had errors. So I deleted everything and started over again, and now I'm back to CMAKE errors for Boost. And yes, before you ask, I have already registered BOOST_ROOT system variable to the correct path of Boost 1.56.0... I have been on every forum I can think of to find this error and I've tried literally every 'fix' and I am still getting the error. I have uninstalled Visual Studios three times, deleted and re-downloaded TrinityCore (through GIT Bash, GIT GUI, SVN, and even downloaded the ZIP), and I had one successful CMAKE, but the project had compile errors - so I scrapped that one good CMAKE... I am at a complete loss... any help would be greatly appreciated.

 

The exact error I get in CMAKE is:

 

CMake Error at cmake/macros/FindBoost.cmake:1115 (message):
Unable to find the requested Boost libraries.

Boost version: 1.56.0

Boost include path: C:/boost/boost_1_56_0

Could not find the following static Boost libraries:

boost_system
boost_thread
boost_program_options

No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.
Call Stack (most recent call first):
cmake/macros/ConfigureBoost.cmake:28 (find_package)
CMakeLists.txt:60 (include)

Link to comment
Share on other sites

+olfson: You shouldn't download any .zips. What you have to do is using git clone to get the repository.

Since you didn't say what errors do you get I'm going to guess it's related to MySQL. You need to go back to CMake and change MYSQL_LIBRARY (enable Advanced checkbox) to the proper 32 or 64 bits libmysql.lib (https://github.com/TrinityCore/TrinityCore/releases/download/TDB335.56/TDB_full_335.56_2014_09_21.7z).

Link to comment
Share on other sites

Hi,

 

I'm trying to compile Trinity but I met a problem while generating Visual C++ solutions with CMake.

I get this error while configuring :

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in tufhe CMake files:
LIB_EAY (ADVANCED)
linked by target "authserver" in directory C:/Trinity/src/server/authserver
linked by target "worldserver" in directory C:/Trinity/src/server/worldserver
SSL_EAY (ADVANCED)
linked by target "authserver" in directory C:/Trinity/src/server/authserver
linked by target "worldserver" in directory C:/Trinity/src/server/worldserver

 

I first thought it was because OpenSSL wasn't installed properly... but I checked three times : it was (the 32 bits version ).

So I have no idea... I scoured google and these forums for more information about similar errors, and the only ones getting something like it were the ones who didn't install OpenSSL... Which I did.

 

Do someone have any idea about what might cause this CMake error?

 

I'm using Windows 8.

 

Thanks in advance for your time,

InnocenceLost.

Link to comment
Share on other sites

ZeroMQ is only required in the 4.3.4 and 6.x branches (details will be given later on)

 

+InnocenceLost: you need to point OPENSSL_ROOT_DIR to the correct place. In CMake GUI change OPENSSL_ROOT_DIR to C:/path/to/OpenSSL-Win32.

If you do not see the OPENSSL_ROOT_DIR thick the Advanced check-box. 

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