Jump to content
TrinityCore

canemuto

Plebs
  • Posts

    3
  • Joined

  • Last visited

Everything posted by canemuto

  1. Post wasn't posting, then showed up three times, can't delete my own post.
  2. I ran into a handful of issues while compiling both 32 bit and 64 bit versions of the server. This is a small collection of the issues I ran into and the solutions that worked. Thank you everyone who contributes to this forum and helps people resolve these issues. CMake Errors Keywords: FindBoost - Boost libraries Example: CMake Error at cmake/macros/FindBoost .cmake:1231 (message): Unable to find the requested Boost libraries. No Boost libraries were found. Problem: CMake can't find Boost. Solution: Remove or Rename \TrinityCore\cmake\macro\FindBoost.txt I renamed mine to FindBoost.old Credit: yastoyerte VB Compiling Errors Keywords: LNK1104 - libboost Example: LINK : fatal error LNK1104 : cannot open file 'libboost_filesystem-vc141-mt-gd-1_65_1.lib' [C:\Users\Alan\Downloads\AshamaneCore-master\build\CMakeFiles\CMakeTmp\cmTC_09a14.vcxproj] LINK : fatal errorLNK1104 : no se puede abrir el archivo 'libboost_filesystem-vc141-mt-gd-1_64.lib' [C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\cmTC_70757.vcxproj] Problem: Wrong, bad, or incompatible version of Boost. Solution: Remove your current version and replace with an older or newer version. I had to go from 1_70_0 to 1_66_0. Credit: Aokromes Keywords: LNK2019 - External Symbol Example: error LNK2019: unresolved external symbol mysql_close referenced in function "public: virtual __cdecl MySQLConnection::~MySQLConnection error LNK2019: unresolved external symbol mys ql_server_init referenced in function "bool __cdecl Sta rtD B(void) " Problem: SQL, Boost, OpenSSL or something you downloaded and isntalled is either 32bit or 64bit. Check everything and make sure they are all the same type. Solution: Make sure you all of your programs, libraries, etc. are all either 32bit or 64bit. Don't mix and match. Credit: Nay Thank you again to everyone who contributes. I hope this helps someone.
  3. I have seen several post (here, stackoverflow, and the emu forum) going back over a year with this issue: CMake Error at cmake/macros/FindBoost.cmake:1231 (message): Unable to find the requested Boost libraries. Boost version: 1.66.0 Boost include path: C:/boost_1_66_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:41 (find_package) I haven't seen anyone post a solution. I followed the Trinity Wiki Requirements section and I received this same error. The Wiki Requirements specifically say " we recommend to compile all on 64 bits mode ". So I installed VS2017 x64, CMake x64, Boost msi x64, OpenSSL x64, etc. However CMake defaults everything to being x86. EVENTUALLY, I gave up trying to make CMake work with x64, removed everything, started over using only x86 dependencies. This resolved the issue. I fought with this for far longer than I'd like to admit before giving up. Because of all of the frustration that this has caused, for myself and several others, I'm requesting someone who knows more than I do, please go through the Windows Requirements on the Trinity Wiki to update/change the instructions regarding compiling in x64? Or update the cmakelist.txt to be compatible with x64? please?
×
×
  • Create New...