CMake - New Boost version may have incorrect or missing dependencies and imported targets

Hi there,

I am trying to compile TrinityCore master branch.

My build has 6 failed with error messages like “LINK 1104:cannot open file libboost_filesystem-vc142-mt-x64-1_75.lib”, thus I didn’t have any mapgenerator.exe in build\bin\RelWithDebInfo.

Then I go back to CMake, hit the “configure” button again and browse the log.

I see there is few warning line in the log as shown below:

CMake Warning at C:/Program Files/CMake/share/cmake-3.19/Modules/FindBoost.cmake:1204 (message):
New Boost version may have incorrect or missing dependencies and imported targets
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.19/Modules/FindBoost.cmake:1326 (_Boost_COMPONENT_DEPENDENCIES)
C:/Program Files/CMake/share/cmake-3.19/Modules/FindBoost.cmake:1935 (_Boost_MISSING_DEPENDENCIES)
dep/boost/CMakeLists.txt:47 (find_package)

Maybe I can fix this warning first then the build will be success?

Highly appreciated for any advice :slight_smile: