Nay Posted December 29, 2015 Report Share Posted December 29, 2015 The libmysql.lib and the libmysql.dll files do not match. You need to use the DLL corresponding to the .lib you used to compile. Link to comment Share on other sites More sharing options...
YaGa Posted December 29, 2015 Report Share Posted December 29, 2015 check "Advanced" and manually set the right path Link to comment Share on other sites More sharing options...
MHard Posted December 29, 2015 Report Share Posted December 29, 2015 I think this is a bug in Trinity. if you use the standard с connector supplied by mysql http://dev.mysql.com/downloads/connector/c/ we have mysql_version.h #define PROTOCOL_VERSION 10 #define MYSQL_SERVER_VERSION "5.7.6-m16" #define MYSQL_VERSION_ID 50706 #define MYSQL_PORT 3306 #define MYSQL_PORT_DEFAULT 0 #define MYSQL_UNIX_ADDR "/tmp/mysql.sock" #define MYSQL_CONFIG_NAME "my" #define MYSQL_COMPILATION_COMMENT "MySQL Connector/C (GPL)" #define LIBMYSQL_VERSION "6.1.6" #define LIBMYSQL_VERSION_ID 60106 as you can see this condition is not met WPFatal(mysql_get_client_version() == MYSQL_VERSION_ID, "Used MySQL library version (%s) does not match the version used to compile TrinityCore (%s).", mysql_get_client_info(), MYSQL_SERVER_VERSION); because LIBMYSQL_VERSION_ID 60106 != MYSQL_VERSION_ID 50706 Link to comment Share on other sites More sharing options...
MHard Posted December 29, 2015 Report Share Posted December 29, 2015 (edited) and why even compare the version of MySQL server and MySQL connector library ? maybe the condition should be different? WPFatal(mysql_get_client_version() == LIBMYSQL_VERSION_ID, "Used MySQL library version (%s) does not match the version used to compile TrinityCore (%s).", mysql_get_client_info(), MYSQL_SERVER_VERSION); Edited December 29, 2015 by MHard Link to comment Share on other sites More sharing options...
Shauren Posted December 29, 2015 Report Share Posted December 29, 2015 @MHard we do not support using the connector library, only the lib shipped with MySQL server installation. Additionally LIBMYSQL_VERSION_ID define is not present in older versions of MySQL (5.5) so it cannot be used. Link to comment Share on other sites More sharing options...
Daniel25 Posted December 29, 2015 Report Share Posted December 29, 2015 I havent changed anything since my last compilation of trinity core, dunno why I get this error now. And I dont know like to fix it.... I was using 5.9 version always. Link to comment Share on other sites More sharing options...
MHard Posted December 29, 2015 Report Share Posted December 29, 2015 11 minutes ago, Shauren said: @MHard we do not support using the connector library, only the lib shipped with MySQL server installation. Additionally LIBMYSQL_VERSION_ID define is not present in older versions of MySQL (5.5) so it cannot be used. very strange. maybe it would be more flexible? #ifdef LIBMYSQL_VERSION_ID // use MYSQL >= 5.6 WPFatal(mysql_get_client_version() == LIBMYSQL_VERSION_ID, "Used MySQL library version (%s) does not match the version used to compile TrinityCore (%s).", mysql_get_client_info(), MYSQL_SERVER_VERSION); #else WPFatal(mysql_get_client_version() == MYSQL_VERSION_ID, "Used MySQL library version (%s) does not match the version used to compile TrinityCore (%s).", mysql_get_client_info(), MYSQL_SERVER_VERSION); #endif Link to comment Share on other sites More sharing options...
Inten Posted December 29, 2015 Report Share Posted December 29, 2015 Good evening,I again and again get the same error displays even though the files are 1. Available, and 2. I also ZerMPQ 4.0.4 installed. I just do not find the error and could really use some help. Link to comment Share on other sites More sharing options...
Nay Posted December 30, 2015 Report Share Posted December 30, 2015 Can you post CMake configuration? Namely ZMQ_INCLUDE_DIR and ZMQ_LIBRARY Link to comment Share on other sites More sharing options...
Daniel25 Posted December 30, 2015 Report Share Posted December 30, 2015 9 hours ago, Nay said: The libmysql.lib and the libmysql.dll files do not match. You need to use the DLL corresponding to the .lib you used to compile. What way i can change the lib that I use to compile so it match with the 5.5.9 or 5.6? Link to comment Share on other sites More sharing options...
Nay Posted December 30, 2015 Report Share Posted December 30, 2015 MYSQL_LIBRARY variable in CMake and then recompiling. (Tick Advanced in CMake-gui if you don't see this var) 1 Link to comment Share on other sites More sharing options...
Inten Posted December 30, 2015 Report Share Posted December 30, 2015 Link to comment Share on other sites More sharing options...
Daniel25 Posted December 30, 2015 Report Share Posted December 30, 2015 8 hours ago, Nay said: MYSQL_LIBRARY variable in CMake and then recompiling. (Tick Advanced in CMake-gui if you don't see this var) A lot of thanks you, fixed. :) Link to comment Share on other sites More sharing options...
ReaZze Posted December 30, 2015 Report Share Posted December 30, 2015 Hello there, I want to compile the 6.x Core and become this error on command "make". Can everyone help me? Scanning dependencies of target zmqpp Scanning dependencies of target Recast Scanning dependencies of target Detour Scanning dependencies of target g3dlib Scanning dependencies of target format Scanning dependencies of target jemalloc Scanning dependencies of target gsoap Scanning dependencies of target casc [ 0%] [ 0%] [ 0%] [ 0%] [ 0%] Building CXX object dep/cppformat/CMakeFiles/format.dir/form at.cc.o Building CXX object dep/zmqpp/CMakeFiles/zmqpp.dir/zmqpp/context.cpp.o Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourAlloc.cpp.o Building CXX object dep/gsoap/CMakeFiles/gsoap.dir/soapC.cpp.o Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/Recast.cpp.o /bin/sh: 1: Cannot fork make[2]: *** [dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/Recast.cpp.o] Error 2 make[1]: *** [dep/recastnavigation/Recast/CMakeFiles/Recast.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... /usr/lib/gcc/x86_64-linux-gnu/4.7/cc1plus: error while loading shared libraries: libc.so.6: can not map zero-fill pages: Cannot allocate memory /usr/bin/cmake: error while loading shared libraries: libgcrypt.so.11: failed to map segment fr om shared object: Cannot allocate memory make[2]: *** [dep/zmqpp/CMakeFiles/zmqpp.dir/zmqpp/message.cpp.o] Error 127 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [dep/gsoap/CMakeFiles/gsoap.dir/soapC.cpp.o] Error 1 make[1]: *** [dep/gsoap/CMakeFiles/gsoap.dir/all] Error 2 [ 0%] [ 0%] Building CXX object dep/cppformat/CMakeFiles/format.dir/posix.cc.o Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourCommon.cpp.o cc1plus: out of memory allocating 120 bytes after a total of 270336 bytes virtual memory exhausted: Cannot allocate memory [ 1%] make[2]: *** [dep/cppformat/CMakeFiles/format.dir/posix.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [dep/zmqpp/CMakeFiles/zmqpp.dir/zmqpp/context.cpp.o] Error 1 make[1]: *** [dep/zmqpp/CMakeFiles/zmqpp.dir/all] Error 2 [ 1%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/arena.c.o [ 1%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/atomic.c.o as: out of memory allocating 524411 bytes after a total of 0 bytes cc1plus: out of memory allocating 1458 bytes after a total of 692224 bytes [ 1%] virtual memory exhausted: Cannot allocate memory Building CXX object dep/CascLib/CMakeFiles/casc.dir/src/common/Common.cpp.o c++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions. make[2]: *** [dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourAlloc.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [dep/CascLib/CMakeFiles/casc.dir/src/common/Common.cpp.o] Error 4 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourCommon.cpp.o] Erro r 1 Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourNavMesh.cpp. o make[2]: *** [dep/cppformat/CMakeFiles/format.dir/format.cc.o] Error 1 make[1]: *** [dep/cppformat/CMakeFiles/format.dir/all] Error 2 [ 1%] [ 1%] [ 1%] [ 1%] Building CXX object dep/CascLib/CMakeFiles/casc.dir/src/common/Dire ctory.cpp.o Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/base.c.o Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/chunk.c.o Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/bitmap.c.o c++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions. make[2]: *** [dep/CascLib/CMakeFiles/casc.dir/src/common/Directory.cpp.o] Error 4 make[1]: *** [dep/CascLib/CMakeFiles/casc.dir/all] Error 2 gcc: internal compiler error: Killed (program cc1) Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions. make[2]: *** [dep/jemalloc/CMakeFiles/jemalloc.dir/src/bitmap.c.o] Error 4 make[2]: *** Waiting for unfinished jobs.... cc1: out of memory allocating 32768 bytes after a total of 1134592 bytes virtual memory exhausted: Cannot allocate memory make[2]: *** [dep/g3dlite/CMakeFiles/g3dlib.dir/source/AABox.cpp.o] Killed make[1]: *** [dep/g3dlite/CMakeFiles/g3dlib.dir/all] Error 2 [ 1%] make[2]: *** [dep/jemalloc/CMakeFiles/jemalloc.dir/src/chunk.c.o] Error 1 make[2]: *** [dep/jemalloc/CMakeFiles/jemalloc.dir/src/arena.c.o] Error 1 Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/chunk_dss.c.o cc1: out of memory allocating 32768 bytes after a total of 1527808 bytes cc1: out of memory allocating 8032 bytes after a total of 835584 bytes make[2]: *** [dep/jemalloc/CMakeFiles/jemalloc.dir/src/base.c.o] Error 1 make[2]: *** [dep/jemalloc/CMakeFiles/jemalloc.dir/src/chunk_dss.c.o] Error 1 make[1]: *** [dep/jemalloc/CMakeFiles/jemalloc.dir/all] Error 2 make[1]: *** [dep/recastnavigation/Detour/CMakeFiles/Detour.dir/all] Error 2 make: *** [all] Error 2 Link to comment Share on other sites More sharing options...
lizardman Posted December 30, 2015 Report Share Posted December 30, 2015 (edited) From the errors on the log, you seem to be running out of memory. How much do you have on that specific box/vm? If it's a VM, try increasing the memory allocated to it. Edited December 30, 2015 by lizardman 1 Link to comment Share on other sites More sharing options...
ReaZze Posted December 30, 2015 Report Share Posted December 30, 2015 i have 1GB ram on my vserver. Link to comment Share on other sites More sharing options...
lizardman Posted December 30, 2015 Report Share Posted December 30, 2015 10 minutes ago, ReaZze said: i have 1GB ram on my vserver. I have yet to try compiling trinitycore on linux, but I've compiled other gameservers before and in one particular case, had to have 8gbs free in order to compile everything, so try increasing it to 2-4gbs and see if it compiles. 1 Link to comment Share on other sites More sharing options...
ReaZze Posted December 30, 2015 Report Share Posted December 30, 2015 (edited) Ok, thank you. Edit: You have right, the ram was a problem. Edited December 30, 2015 by ReaZze Link to comment Share on other sites More sharing options...
Brlott1 Posted January 5, 2016 Report Share Posted January 5, 2016 So after redoing a lot, the error I am now getting in Cmake (even after changing back to VS 2013, and Cmake 3.3.2) is "Error in configuration process, project Files may be invalid" The download is direct from the installation guide. If anyone has an idea I would love to try them. Link to comment Share on other sites More sharing options...
Nay Posted January 5, 2016 Report Share Posted January 5, 2016 @Brlott1 The actual error should be displayed above that text 1 Link to comment Share on other sites More sharing options...
Noee Posted January 6, 2016 Report Share Posted January 6, 2016 (edited) hi, execuse me english I download release source code on linux (TDB 6.03) but at compilation 21% take me error root/TrinityCore/src/server/game/Entities/Taxi/TaxiPathGraph.cpp:26:63: fatal error: boost/property_map/transform_value_property_map.hpp: No such file or directory compilation terminated. make[2]: *** [src/server/game/CMakeFiles/game.dir/Entities/Taxi/TaxiPathGraph.cpp.o] Error 1 make[1]: *** [src/server/game/CMakeFiles/game.dir/all] Error 2 make: *** [all] Error 2 I try download source for patch 6.2.0 (TDB 6.02) This compilation is fuction and run but idk where get function lauchner for this patch I download some repack for Win and use maps, dbc for bin on linux, thats work but lauchner included at repack take me eror like wow_64_patched.exe today, I got error #134: "Unable to open DBFilesClient\MovieOverlays.dbc: Can't find file in build manifest so please i need help idk what doing can any help with source code for 03 tbd or this lauchner? ty Edited January 6, 2016 by Noee Link to comment Share on other sites More sharing options...
Vincent Posted January 6, 2016 Report Share Posted January 6, 2016 try your boost (min. 1.54) to update Link to comment Share on other sites More sharing options...
Nuppi Posted January 6, 2016 Report Share Posted January 6, 2016 Hello i installed ZeroMQ 4.0.4 and i get these errors on Visual Studio 13 Error 2 error C1083: Cannot open include file: 'zmq.h': No such file or directory (L:\Sorce\Trin\dep\zmqpp\zmqpp\context.cpp) l:\sorce\trin\dep\zmqpp\zmqpp\context.hpp 13 1 zmqpp Error 3 error C1083: Cannot open include file: 'zmq.h': No such file or directory (L:\Sorce\Trin\dep\zmqpp\zmqpp\frame.cpp) l:\sorce\trin\dep\zmqpp\zmqpp\exception.hpp 14 1 zmqpp Error 4 error C1083: Cannot open include file: 'zmq.h': No such file or directory (L:\Sorce\Trin\dep\zmqpp\zmqpp\message.cpp) l:\sorce\trin\dep\zmqpp\zmqpp\exception.hpp 14 1 zmqpp Error 5 error C1083: Cannot open include file: 'zmq.h': No such file or directory (L:\Sorce\Trin\dep\zmqpp\zmqpp\poller.cpp) l:\sorce\trin\dep\zmqpp\zmqpp\exception.hpp 14 1 zmqpp Error 7 error C1083: Cannot open include file: 'zmq.h': No such file or directory (L:\Sorce\Trin\dep\zmqpp\zmqpp\socket.cpp) l:\sorce\trin\dep\zmqpp\zmqpp\context.hpp 13 1 zmqpp Error 6 error C1083: Cannot open include file: 'zmq.h': No such file or directory (L:\Sorce\Trin\dep\zmqpp\zmqpp\zmqpp.cpp) l:\sorce\trin\dep\zmqpp\zmqpp\zmqpp.hpp 51 1 zmqpp Error 9 error C1083: Cannot open include file: 'zmq.h': No such file or directory (L:\Sorce\Trin\src\server\game\Handlers\CharacterHandler.cpp) l:\sorce\trin\dep\zmqpp\zmqpp\compatibility.hpp 24 1 game Error 10 error C1083: Cannot open include file: 'zmq.h': No such file or directory (L:\Sorce\Trin\src\server\game\Server\BattlenetServerManager.cpp) L:\Sorce\Trin\dep\zmqpp\zmqpp\zmqpp.hpp 51 1 game Error 11 error C1083: Cannot open include file: 'zmq.h': No such file or directory (L:\Sorce\Trin\src\server\game\Server\WorldSession.cpp) l:\sorce\trin\dep\zmqpp\zmqpp\compatibility.hpp 24 1 game Error 8 error LNK1181: cannot open input file '..\..\..\dep\zmqpp\Release\zmqpp.lib' L:\Sorce\Trin1\src\server\bnetserver\LINK bnetserver Error 12 error LNK1181: cannot open input file '..\game\Release\game.lib' L:\Sorce\Trin1\src\server\worldserver\LINK worldserver Error 1 error MSB6003: The specified task executable "Lib.exe" could not be run. Der Vorgang ist bei einer Datei mit einem geöffneten Bereich, der einem Benutzer zugeordnet ist, nicht anwendbar. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets 1000 5 Detour CMake 3.3.2 works without error 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 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 Looking for include file pthread.h Looking for include file pthread.h - not found Found Threads: TRUE Found MySQL library: C:/Program Files (x86)/MySQL/MySQL Server 5.5/lib/libmysql.lib Found MySQL headers: C:/Program Files (x86)/MySQL/MySQL Server 5.5/include Found MySQL executable: C:/Program Files (x86)/MySQL/MySQL Server 5.5/bin/mysql.exe Boost version: 1.59.0 Found the following Boost libraries: system filesystem thread program_options iostreams regex Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM - Success Found git binary : C:/Program Files (x86)/Git/cmd/git.cmd * TrinityCore revision : 9f4e4b9546e5+ 2016-01-05 23:37:45 +0100 (6.x branch) * Install core to : C:/Program Files (x86)/TrinityCore * 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) * Show source tree : No (default) * Use GIT revision hash : Yes Looking for open Looking for open - found Found ZMQ library: l:/ZeroMQ/lib/libzmq-v120-mt-4_0_4.lib Found ZMQ headers: l:/ZeroMQ/include SCRIPT PREPARATIONS -> Prepared: Spells -> Prepared: Commands -> Prepared: Custom -> Prepared: World -> Prepared: Outdoor PVP Zones -> Prepared: Eastern Kingdoms -> Prepared: Kalimdor -> Prepared: Outland -> Prepared: Northrend -> Prepared: The Maelstrom -> Prepared: Events -> Prepared: Pet SCRIPT PREPARATION COMPLETE Configuring done Generating done Can someone help me Link to comment Share on other sites More sharing options...
Noee Posted January 6, 2016 Report Share Posted January 6, 2016 (edited) I downloaded 1.60 and compile...failed updating 56 targets... ...skipped 6 targets... ...updated 13034 targets... I try again compile 6.03 TDB version source code and again [ 20%] Building CXX object src/server/game/CMakeFiles/game.dir/Entities/Taxi/TaxiPathGraph.cpp.o /home/zippo/trinitycore3/src/server/game/Entities/Taxi/TaxiPathGraph.cpp:26:63: fatal error: boost/property_map/transform_value_property_map.hpp: No such file or directory compilation terminated. make[2]: *** [src/server/game/CMakeFiles/game.dir/Entities/Taxi/TaxiPathGraph.cpp.o] Error 1 make[1]: *** [src/server/game/CMakeFiles/game.dir/all] Error 2 make: *** [all] Error 2 Edited January 6, 2016 by Noee Link to comment Share on other sites More sharing options...
Brlott1 Posted January 6, 2016 Report Share Posted January 6, 2016 @Nay Here is the screenshot itself. Link to comment Share on other sites More sharing options...
Recommended Posts