Jump to content
TrinityCore

yastoyerte

Plebs
  • Posts

    1
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by yastoyerte

  1. Hi,
     

    i'm not a expert at this full topic.
    But have fight this issue for myself.
    I have solve this with this steps.

    Software Version use, base on the Wiki. 

    1. Visual Studio 2019 (MSVC 16.2)
    2. Boost 1.70 (set Env BOOST_ROOT=C:/SDK/boost_1_70_0)
      1. Setup from boost_1_70_0-unsupported-msvc-14.2-64.exe
    3. cmake 3.15 (cmake-3.15.1-win64-x64.msi)

    Fix on the Master Branch.

    1. Remove or Rename \TrinityCore\cmake\macro\FindBoost.txt. So cmake pickup lastest FindBoost.cmake from  C:\Program Files\CMake\share\cmake-3.15\Modules\FindBoost.cmake .  To find Boost 1.70.0.
    2. Fix TrinityCore\CMakeLists.txt . Add 
      cmake_policy(SET CMP0074 OLD) 
    3. Fix src/common/Utilities/TaskScheduler.h with patch from 3.5.5 for Visual Studio 2019 see https://github.com/TrinityCore/TrinityCore/pull/2363  Keyword use const . Line ~123 
      1.     /// Container which provides Task order, insert and reschedule operations.
            struct Compare
            {
        1. OLD: bool operator() (TaskContainer const& left, TaskContainer const& right)
          NEW     bool operator() (TaskContainer const& left, TaskContainer const& right) const

     

    Mybe this helps a bit.

    • Upvote 1
×
×
  • Create New...