我刚刚更新了MSYS2并收到了新版本的Boost库1.69.0。但是在此更新之后,必须支持此增强版本的CMake 3.13.1对我说:
CMake Error at C:/Program Files/JetBrains/CLion 2018.2.6/bin/cmake/win/share/cmake-3.13/Modules/FindBoost.cmake:2100 (message):
Unable to find the requested Boost libraries.
Boost version: 1.69.0
Boost include path: D:/msys64/mingw64/include
Could not find the following Boost libraries:
boost_chrono
boost_filesystem
boost_system
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.
我看到CMake找到了boost 1.69.0,但是没有找到Boost库。为什么?使用Boost 1.68.0,所有功能都完美无缺。
已解决的问题:
今天,我在MSYS中检查了更新并收到了更新的程序包
mingw-w64-x86_64-boost-1.69.0-2
在那之后CMake成功地找到了所有Boost 1.69.0库