After running cmake -S . -B build, I received the following error message. I installed boost@1.87.0, google-test, and google-benchmark via Homebrew. I then tried editing the CMakeLists.txt to change the Boost version from 1.86.0 to 1.87.0, but the same error persists. Additionally, I attempted to install boost.cobalt on my Mac, but the error remains unchanged.
Here’s the error message for reference:
CMake Error at /usr/local/lib/cmake/Boost-1.87.0/BoostConfig.cmake:141 (find_package):
Could not find a package configuration file provided by "boost_cobalt"
(requested version 1.87.0) with any of the following names:
boost_cobaltConfig.cmake
boost_cobalt-config.cmake
Add the installation prefix of "boost_cobalt" to CMAKE_PREFIX_PATH or set
"boost_cobalt_DIR" to a directory containing one of the above files. If
"boost_cobalt" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
/usr/local/lib/cmake/Boost-1.87.0/BoostConfig.cmake:262 (boost_find_component)
/usr/local/share/cmake/Modules/FindBoost.cmake:610 (find_package)
Chapter_10/CMakeLists.txt:9 (find_package)
Any suggestions on how to resolve this issue would be greatly appreciated!
After running
cmake -S . -B build, I received the following error message. I installedboost@1.87.0,google-test, andgoogle-benchmarkvia Homebrew. I then tried editing theCMakeLists.txtto change the Boost version from1.86.0to1.87.0, but the same error persists. Additionally, I attempted to installboost.cobalton my Mac, but the error remains unchanged.Here’s the error message for reference:
Any suggestions on how to resolve this issue would be greatly appreciated!