Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Compilation fails due to FindBoostThreadpool.cmake missing #15

@fabval

Description

@fabval

I'm trying to build rpc library from source.
The boost libraries have been installed with command:
\.b2 link=shared.

When executing command:
build>cmake -DRPCPROTO=rpcdds -A x64 ..

the boost libraries are correctly found:
-- Found Boost: F:/boost_1_75_0/boost_1_75_0 (found version "1.75.0") found components: thread system date_time chrono regex atomic

but cmake fails at the following instruction:
find_package(BoostThreadpool REQUIRED)

with the following message:

  By not providing "FindBoostThreadpool.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "BoostThreadpool", but CMake did not find one.

  Could not find a package configuration file provided by "BoostThreadpool"
  with any of the following names:

    BoostThreadpoolConfig.cmake
    boostthreadpool-config.cmake

  Add the installation prefix of "BoostThreadpool" to CMAKE_PREFIX_PATH or
  set "BoostThreadpool_DIR" to a directory containing one of the above files.
  If "BoostThreadpool" provides a separate development package or SDK, be
  sure it has been installed.

But no file containing "BoostThreadpool" is present in any directory and at the moment is not possible to complete the compilation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions