Nay Posted April 16, 2017 Report Share Posted April 16, 2017 If you build the server to C:/TrinityCoreBuild, you cannot launch the binaries from C:/TrinityCoreBuild/bin/Release/worldserver.exe You can either copy the contents of the Release directory somewhere else OR, as explained, use the CMAKE_INSTALL_PREFIX to put the files in the correct place automatically (once you compile the INSTALL project in Visual Studio or run "make install" on Linux). 1 Link to comment Share on other sites More sharing options...
Naios Posted April 17, 2017 Report Share Posted April 17, 2017 If you want to use the automatic script recompiler you must use the INSTALL target. otherwise it won't reinstall changed libraries. You don't have to do additional stuff when you use the INSTALL target. 1 Link to comment Share on other sites More sharing options...
D3vil Posted April 18, 2017 Report Share Posted April 18, 2017 update the boost library to least 1.59 Link to comment Share on other sites More sharing options...
Aokromes Posted April 18, 2017 Report Share Posted April 18, 2017 16 minutes ago, D3vil said: update the boost library to least 1.59 1.61 in fact for windows. Link to comment Share on other sites More sharing options...
TehGipo Posted April 22, 2017 Report Share Posted April 22, 2017 yo guys got some errors during compiling and i can't seem to find a way to fix them (using vs 2015) https://pastebin.com/darhgjt5 Link to comment Share on other sites More sharing options...
kmilo93sd Posted May 6, 2017 Report Share Posted May 6, 2017 Hi, I have a problem with the server files. I do not know much English, so maybe I'll write weird. I tried to compile version 4.3.4, but some files were not generated, among them missing authserver.exe, worldserver.exe and mmap_extractor.exe. I thought it would be a problem with that version, but I downloaded and compiled the 3.3.5 that appears in the guide and did not generate any of the files mentioned, nor did the extraction files. I think the problem may be from cmake, when generating the files the following message appears: "WARNING: Target "common" requests linking to directory "C:/local/boost_1_59_0/libs/system". Targets may link only to libraries. CMake is dropping the item." This warning appears repeatedly when cmake goes through several directories, among them, those responsible for generating the mentioned files. I had to manually specify a path for cmake to find the boost libraries it was telling me, but I think the path I've specified is not correct. The libraries that cmake can not find automatically are: Boost_DIR-NOTFOUND Boost_FILESYSTEM_LIBRARY_DEBUG-NOTFOUND Boost_FILESYSTEM_LIBRARY_RELEASE-NOTFOUND Boost_IOSTREAMS_LIBRARY_DEBUG-NOTFOUND Boost_IOSTREAMS_LIBRARY_RELEASE-NOTFOUND Boost_PROGRAM_OPTIONS_LIBRARY_DEBUG-NOTFOUND Boost_PROGRAM_OPTIONS_LIBRARY_RELEASE-NOTFOUND Boost_SYSTEM_LIBRARY_DEBUG-NOTFOUND Boost_SYSTEM_LIBRARY_RELEASE-NOTFOUND Boost_THREAD_LIBRARY_DEBUG-NOTFOUND Boost_THREAD_LIBRARY_RELEASE-NOTFOUND I left the error indicating that cmake did not find those libraries so I indicated the path C: \ local \ boost_1_59_0 \ libs and in that folder I looked for the ones cmake said to me, but obviously it is not that, because cmake did not find them. I think that's the reason I do not have those files, does anyone know how I can fix it? To clarify, the "tools" field is marked in the configuration. Link to comment Share on other sites More sharing options...
Aokromes Posted May 6, 2017 Report Share Posted May 6, 2017 I sugest you to downgrade to boost 1.63 1 Link to comment Share on other sites More sharing options...
kmilo93sd Posted May 6, 2017 Report Share Posted May 6, 2017 17 minutes ago, Aokromes said: I sugest you to downgrade to boost 1.63 thanks for the answer aokromes, I’d tried first with boost 1.59, and later i tried with 1.64. I'll try now with 1.63 version, back in a moment. Link to comment Share on other sites More sharing options...
kmilo93sd Posted May 6, 2017 Report Share Posted May 6, 2017 Okay I installed boost version 1.63, I solved the problem of the libraries in cmake, I do not see any error or warning, cmake found the libraries automatically (I put it now in c: / boost_1_63_0). The problem now is when I finish compiling with visual studio 2017, it sends the following message: ========== Compilar: 22 correctos, 3 incorrectos, 0 actualizados, 0 omitidos ========== I checked if I had the files and only generated them: Then looking for the errors in the output of visual studio, I found 2 that refer to the missing files. Link to comment Share on other sites More sharing options...
Aokromes Posted May 6, 2017 Report Share Posted May 6, 2017 you mixed 32 and 64 bits mysql libraries. 1 Link to comment Share on other sites More sharing options...
kmilo93sd Posted May 6, 2017 Report Share Posted May 6, 2017 (edited) 1 hour ago, Aokromes said: you mixed 32 and 64 bits mysql libraries. The problem was that I installed appserv and xampp in 32-bit version, so they generated conflict with visual studio. I just uninstalled them and re-installed mysql community server, with that the problem has been solved. Now I was able to get all the files and the compilation did not give me any error. Thanks Aokromes, you are my hero! Edited May 6, 2017 by kmilo93sd Link to comment Share on other sites More sharing options...
codeman3518 Posted May 7, 2017 Report Share Posted May 7, 2017 Kmilo93sd are you using a different version of trinitycore for a different language or what because I don't even have the option to change the directory for cmake to locate the directory for boost, which I will try 63 since my other computer doesn't see it and I can't set the path to the libraries for boost because I don't get the option to unless there is a command in cmake I can do which I think there is I just need to look it up, thanks for the post it helps with my problem too. 1 Link to comment Share on other sites More sharing options...
kmilo93sd Posted May 7, 2017 Report Share Posted May 7, 2017 (edited) 2 hours ago, codeman8214 said: Kmilo93sd are you using a different version of trinitycore for a different language or what because I don't even have the option to change the directory for cmake to locate the directory for boost, which I will try 63 since my other computer doesn't see it and I can't set the path to the libraries for boost because I don't get the option to unless there is a command in cmake I can do which I think there is I just need to look it up, thanks for the post it helps with my problem too. Hi, I do not understand much english, I do not know if I understand correctly what you want. Do you need to manually set the boost path in cmake? In that case, you must have the "advanced" box active, it's up, beside the add button Edited May 7, 2017 by kmilo93sd 1 Link to comment Share on other sites More sharing options...
codeman3518 Posted May 7, 2017 Report Share Posted May 7, 2017 That was the answer I was looking for, I can't believe I missed something that simple I feel dumb now lol, thanks. 1 Link to comment Share on other sites More sharing options...
LordKanelsnegle Posted May 14, 2017 Report Share Posted May 14, 2017 Hey guys, when I try to build the solution for Legion using Visual Studio Community 2017 I get the following errors: I'm on Windows 10, 64-bit, and both the CMake and Build configurations were set to x64. I'm not sure if it's of any use but when I went to check the file for the first two errors an additional error showed up: The line causing the 3 errors in the mysql_com.h file is 'my_socket fd;'. Link to comment Share on other sites More sharing options...
Nay Posted May 14, 2017 Report Share Posted May 14, 2017 Update your source, this error was fixed last night. Link to comment Share on other sites More sharing options...
j8a2b0e7 Posted May 16, 2017 Report Share Posted May 16, 2017 Hi there. Im getting an error compiling the project CMake: http://dpaste.com/1KC3W25 Visual Studio - Build: http://dpaste.com/3GWD28Y (line 491) Any idea? Link to comment Share on other sites More sharing options...
CDawg Posted May 16, 2017 Report Share Posted May 16, 2017 33 minutes ago, j8a2b0e7 said: Hi there. Im getting an error compiling the project CMake: http://dpaste.com/1KC3W25 Visual Studio - Build: http://dpaste.com/3GWD28Y (line 491) Any idea? Update your boost library. It's looking for a 64 bit boost. Link to comment Share on other sites More sharing options...
j8a2b0e7 Posted May 16, 2017 Report Share Posted May 16, 2017 1 minute ago, CDawg said: Update your boost library. It's looking for a 64 bit boost. It is the latest version. Tried both the 32-bit and 64-bit versions. Also switched the project's architecture in Visual Studio Link to comment Share on other sites More sharing options...
CDawg Posted May 16, 2017 Report Share Posted May 16, 2017 6 minutes ago, j8a2b0e7 said: It is the latest version. Tried both the 32-bit and 64-bit versions. Also switched the project's architecture in Visual Studio I don't see boost in your cmake output. Did you skip a step? Add an environment variable to "System" variables named "BOOST_ROOT" pointing to your Boost installation directory, e.g "C:/local/boost_1_60_0". (Make sure that it does not have a trailing slash. If you still get problems, add the same variable in the "USER" variables section too, like shown in the image below.) Notice that this image shows the version number 1.59.0 - use your actual version number in your settings. Restart CMake if it was already running Link to comment Share on other sites More sharing options...
new-b-e Posted May 19, 2017 Report Share Posted May 19, 2017 (edited) Help Please inux min 18.1 Boost 1.64 GNU 5.4.0 OpenSSL 1.0.2g mysql Ver 14.14 Distrib 5.7.18, for Linux (x86_64) using EditLine wrapper cmake version 3.5.1 gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609 ZLIB: version 1.2.8 installed clang and Afl-clang. 7.2 master When i cmake i get no errors other than pthread shows 4 lines before found.but finishes no errors. when i do the make it goes to 23% and fails with line after line of this type of stuff. /home/trinity/TrinityCore/src/server/game/Server/Packets/QueryPackets.h:235:43: error: declaration of ‘TaggedPosition<Position::XYZ> WorldPackets::Query::CorpseLocation::Position’ [-fpermissive] I am not enough of a programmer to find the fault. probably have the wrong version of something. Any directions for a struggling newb? CMakeError.log Edited May 21, 2017 by new-b-e add more info Link to comment Share on other sites More sharing options...
Ibeatdungeon Posted May 19, 2017 Report Share Posted May 19, 2017 I am also seeing the compile failure on master like the above user, ubuntu 16.10https://pastebin.com/qm6g0NvE Link to comment Share on other sites More sharing options...
new-b-e Posted May 21, 2017 Report Share Posted May 21, 2017 (edited) Reloaded OS 3 more times and it compiled. Running boost 1.58 and now everything is working. thanks so much for all the help. Edited May 22, 2017 by new-b-e Things changed Link to comment Share on other sites More sharing options...
ChiefMcClane Posted May 24, 2017 Report Share Posted May 24, 2017 **Description:** When I try compile with CMake then I got this error. ---------------------------- CMake Error at cmake/macros/FindBoost.cmake:1193 (message): Unable to find the requested Boost libraries. Boost version: 1.64.0 Boost include path: D:/boost_1_64_0 Could not find the following static Boost libraries: boost_system boost_filesystem boost_thread boost_program_options boost_iostreams 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. If you still have problems search on forum for TCE00020. Call Stack (most recent call first): dep/boost/CMakeLists.txt:37 (find_package) ---------------------------- I Installed boost 1.64.0 and add it to the systemvariables See here -> https://www.dropbox.com/s/qk0xbv870ku3wfo/systemvariables.jpg?dl **Branch(es):** master **TC hash/commit**: 5b754ee08c433302531bbbb66aabf898d594dc1b **TDB version**: newest **Operating system**: Windows 10 Pro 64bit Link to comment Share on other sites More sharing options...
CDawg Posted May 24, 2017 Report Share Posted May 24, 2017 1 hour ago, ChiefMcClane said: **Description:** When I try compile with CMake then I got this error. ---------------------------- CMake Error at cmake/macros/FindBoost.cmake:1193 (message): Unable to find the requested Boost libraries. Boost version: 1.64.0 Boost include path: D:/boost_1_64_0 Could not find the following static Boost libraries: boost_system boost_filesystem boost_thread boost_program_options boost_iostreams 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. If you still have problems search on forum for TCE00020. Call Stack (most recent call first): dep/boost/CMakeLists.txt:37 (find_package) ---------------------------- I Installed boost 1.64.0 and add it to the systemvariables See here -> https://www.dropbox.com/s/qk0xbv870ku3wfo/systemvariables.jpg?dl **Branch(es):** master **TC hash/commit**: 5b754ee08c433302531bbbb66aabf898d594dc1b **TDB version**: newest **Operating system**: Windows 10 Pro 64bit Link to comment Share on other sites More sharing options...
Recommended Posts