UniverseGaming Posted September 4, 2014 Report Share Posted September 4, 2014 ound OpenSSL library: optimized;C:/OpenSSL-Win64/lib/VC/libeay32MD.lib;C:/OpenSSL-Win32/lib/VC/libeay32MD.lib;debug;C:/OpenSSL-Win64/lib/VC/libeay32MD.lib;C:/OpenSSL-Win32/lib/VC/libeay32MDd.lib Found OpenSSL headers: C:/OpenSSL-Win64/include read the log it has win-64 in it see Link to comment Share on other sites More sharing options...
Nay Posted September 4, 2014 Report Share Posted September 4, 2014 I'll help you read. Let's break it down by lines: C:/OpenSSL-Win64/lib/VC/libeay32MD.lib; C:/OpenSSL-Win32/lib/VC/libeay32MD.lib; debug; C:/OpenSSL-Win64/lib/VC/libeay32MD.lib; C:/OpenSSL-Win32/lib/VC/libeay32MDd.lib Link to comment Share on other sites More sharing options...
UniverseGaming Posted September 4, 2014 Report Share Posted September 4, 2014 yes thats because i have both win32 and win64 but if u read first one in the list of win64 this means the compiler will search for this one first or auto choose on the project on which arch to use but wow on its own it seems to have resolved it self 5 hours of dealing with this thing so i post and after i post it wants to work.... the joys of coding -.- Link to comment Share on other sites More sharing options...
Paradox Posted September 4, 2014 Report Share Posted September 4, 2014 Why did you repost the error log? did you not read what he wrote? Link to comment Share on other sites More sharing options...
Sheldoor Posted September 4, 2014 Report Share Posted September 4, 2014 In fact I did read, and it now shows the latest version on Visual Studio lol! Link to comment Share on other sites More sharing options...
Paradox Posted September 4, 2014 Report Share Posted September 4, 2014 yes thats because i have both win32 and win64 but if u read first one in the list of win64 this means the compiler will search for this one first or auto choose on the project on which arch to use but wow on its own it seems to have resolved it self 5 hours of dealing with this thing so i post and after i post it wants to work.... the joys of coding -.- In fact I did read, and it now shows the latest version on Visual Studio lol! Universegaming: good luck on the rest of the complicated messes you will have attempting to run an illegal public server, some of which will be way more complicated than figuring out that 32 != 64. Sheldoor: Nay needs to look closer, you were already using VS 2013, he thought you were using VS 2012... try deleting your build directory and starting over. P.S. I hate this fucking editor! 1 Link to comment Share on other sites More sharing options...
Sheldoor Posted September 4, 2014 Report Share Posted September 4, 2014 I did everything suggested, and it's not working. I do appreciate the replies, but since it's a bother to some. I'll figure something out! Link to comment Share on other sites More sharing options...
paulinodemoura Posted September 4, 2014 Report Share Posted September 4, 2014 (edited) after I update windows (win7) visual studio was not edit the sql files in the C:Program Files (x86)MySQL then move the files to C: MySQL include and C: MySQL lib only "libmysql.dll and libmysql.lib" and compiled successfully. then move back to source. (C:Program Files (x86)MySQL) cmake in advanced config (set location of the files) I hope this information is useful for those who have same problem. Edited September 4, 2014 by paulinodemoura Link to comment Share on other sites More sharing options...
Nay Posted September 4, 2014 Report Share Posted September 4, 2014 +paulinodemoura: You are linking with the wrong version of libmysql.lib. Since you are compilingin Win32 you need 32 bits libmysql.lib. See the last note in http://collab.kpsn.org/display/tc/Win#Win-ConfiguringandGeneratingVisualC++solutionswithCMake 1 Link to comment Share on other sites More sharing options...
paulinodemoura Posted September 4, 2014 Report Share Posted September 4, 2014 confirmed, C: Program Files MySQL MySQL Server 5.6 (64) also C: Program Files (x86) MySQL MySQL Server 5.6 (32) I do not know how it happened, I never imagined that version 64 was installed. Mysql notifier not show 64. chose full installation it may be the problem. thanks Nay Link to comment Share on other sites More sharing options...
narancs93 Posted September 5, 2014 Report Share Posted September 5, 2014 I have the same error and I was searching for the solution for hours but I couldnt solve it. Nay, you might wrote the solution, but I dont clearly understand what you said. Could you explain me a little more? I downloaded the files but where can I change the MYSQL_LIBRARY in Cmake? In the CMake.txt or in the Cmake program before generating the source? Link to comment Share on other sites More sharing options...
Nay Posted September 5, 2014 Report Share Posted September 5, 2014 I downloaded the files but where can I change the MYSQL_LIBRARY in Cmake? In the CMake.txt or in the Cmake program before generating the source? In CMake, like this: 1 Link to comment Share on other sites More sharing options...
narancs93 Posted September 5, 2014 Report Share Posted September 5, 2014 THANK YOU! Finally it works. Link to comment Share on other sites More sharing options...
Piripe Posted September 6, 2014 Report Share Posted September 6, 2014 (edited) had the same problem here, without any changes, and on fresh install(independant machine), now testing if this works for me too =) Eddit: Tested and worked for me too, dont know why the mysql library seems to have changed =/, i had the same problem for 3.3.5 and for 4.3.4 Edited September 6, 2014 by Piripe Link to comment Share on other sites More sharing options...
Aokromes Posted September 6, 2014 Report Share Posted September 6, 2014 had the same problem here, without any changes, and on fresh install(independant machine), now testing if this works for me too =) Eddit: Tested and worked for me too, dont know why the mysql library seems to have changed =/, i had the same problem for 3.3.5 and for 4.3.4We dropped mysql dep from trinitycore to avoid the need of maintain it and make it work on future Visual Studio versions. Link to comment Share on other sites More sharing options...
Piripe Posted September 7, 2014 Report Share Posted September 7, 2014 We dropped mysql dep from trinitycore to avoid the need of maintain it and make it work on future Visual Studio versions. Thanks for the answer =), we shuld add the information of this posts to the wiki then: You linked with the wrong mysql lib. An easy way to fix that is to download https://github.com/T...5/mysql_lib.zip and change MYSQL_LIBRARY in CMake (enable Advanced if you don't see it) and point it to the 32 or 64 bit libmysql.lib, depending in what mode you are compiling. In CMake, like this: Link to comment Share on other sites More sharing options...
Nay Posted September 7, 2014 Report Share Posted September 7, 2014 This info is already in the wiki... I guess I could add the screenshot since that appeals more to Windows users... Link to comment Share on other sites More sharing options...
Billy Posted September 7, 2014 Report Share Posted September 7, 2014 I just pulled Commit hash: d3cced4b03db15f1e71a1df900084fa5ed1ae02d Now I'm getting the following error in Cmake 2.8.12.2CMake Error: Error in cmake code at D:/TrinityCore/src/server/game/CMakeLists.txt:16: Parse error. Expected a command name, got unquoted argument with text "<<<<<<<". SCRIPT PREPARATIONS Link to comment Share on other sites More sharing options...
Nay Posted September 7, 2014 Report Share Posted September 7, 2014 Billy, reset your changes to D:/TrinityCore/src/server/game/CMakeLists.txt... Link to comment Share on other sites More sharing options...
Billy Posted September 7, 2014 Report Share Posted September 7, 2014 Billy, reset your changes to D:/TrinityCore/src/server/game/CMakeLists.txt... Thanks for catching my brain-fart, Nay. lol Link to comment Share on other sites More sharing options...
runic Posted September 10, 2014 Report Share Posted September 10, 2014 OS: Linux ubuntu 14.04 commit hash: 0892c71a16a1fc01822946bdb006eff5bdec9315 while run cmake getting these errors ... 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 the CMake files: ACE_INCLUDE_DIR (ADVANCED) used as include directory in directory /root/wow/source/src/server/shared used as include directory in directory /root/wow/source/src/server/shared used as include directory in directory /root/wow/source/src/server/shared used as include directory in directory /root/wow/source/src/server/game used as include directory in directory /root/wow/source/src/server/game used as include directory in directory /root/wow/source/src/server/game used as include directory in directory /root/wow/source/src/server/collision used as include directory in directory /root/wow/source/src/server/collision used as include directory in directory /root/wow/source/src/server/collision used as include directory in directory /root/wow/source/src/server/authserver used as include directory in directory /root/wow/source/src/server/authserver used as include directory in directory /root/wow/source/src/server/authserver used as include directory in directory /root/wow/source/src/server/scripts used as include directory in directory /root/wow/source/src/server/scripts used as include directory in directory /root/wow/source/src/server/scripts used as include directory in directory /root/wow/source/src/server/worldserver used as include directory in directory /root/wow/source/src/server/worldserver used as include directory in directory /root/wow/source/src/server/worldserver ACE_LIBRARY (ADVANCED) linked by target "shared" in directory /root/wow/source/src/server/shared linked by target "authserver" in directory /root/wow/source/src/server/authserver linked by target "worldserver" in directory /root/wow/source/src/server/worldserver -- Configuring incomplete, errors occurred! See also "/root/wow/source/build/CMakeFiles/CMakeOutput.log". See also "/root/wow/source/build/CMakeFiles/CMakeError.log". Link to comment Share on other sites More sharing options...
Nay Posted September 10, 2014 Report Share Posted September 10, 2014 We no longer use Ace. Clear your CMake caches (build folder) and run CMake again. Link to comment Share on other sites More sharing options...
runic Posted September 10, 2014 Report Share Posted September 10, 2014 +Nay: i know about that, but boost is not enough stable to running server, i have deleted the build directory but still get that errors ... Link to comment Share on other sites More sharing options...
Paradox Posted September 10, 2014 Report Share Posted September 10, 2014 We can't provide support for an outdated revision. Link to comment Share on other sites More sharing options...
runic Posted September 10, 2014 Report Share Posted September 10, 2014 We can't provide support for an outdated revision. i wanna be on last revision,but that cannot be right now, boost version is very unstable on linux, thats because i used old version Link to comment Share on other sites More sharing options...
Recommended Posts