I used to compile KiCad in MSYS2 as described here:
It was working fine until fall 2024 (I it was September I compiled it successfully the last time).
Since then this is not working.
How to make it work again?
It fails at this command:
cmake -DCMAKE_BUILD_TYPE=Release -G "MSYS Makefiles" -DCMAKE_PREFIX_PATH=/mingw64 -DCMAKE_INSTALL_PREFIX=/mingw64 -DDEFAULT_INSTALL_PATH=/mingw64 -DOCC_INCLUDE_DIR=/mingw64/include/opencascade ../../
It ends with this error:
CMake Error at C:/msys64/mingw64/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
Could NOT find Boost (missing: Boost_INCLUDE_DIR locale
unit_test_framework) (Required is at least version "1.71.0")
Call Stack (most recent call first):
C:/msys64/mingw64/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
C:/msys64/mingw64/share/cmake/Modules/FindBoost.cmake:2409 (find_package_handle_standard_args)
CMakeLists.txt:807 (find_package)