Skip to content

How to build the code examples (clang version 19.1.7 macOS) #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
tsunho12 opened this issue Jan 21, 2025 · 0 comments
Open

How to build the code examples (clang version 19.1.7 macOS) #27

tsunho12 opened this issue Jan 21, 2025 · 0 comments

Comments

@tsunho12
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant