Skip to content
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

hunter can't build Boost 1.81.0 #763

Open
zhiqiangxu opened this issue Nov 5, 2024 · 0 comments
Open

hunter can't build Boost 1.81.0 #763

zhiqiangxu opened this issue Nov 5, 2024 · 0 comments

Comments

@zhiqiangxu
Copy link

Not sure it's the right place, but I met an issue related with compiling boost from cmake, which can be reproduced below:

$ git clone https://github.com/zhiqiangxu/quai-gpu-miner
$ cd quai-gpu-miner
$ git checkout ipfs
$ mkdir build
$ cd build
$ cmake .. -DETHASHCUDA=ON -DETHASHCL=ON -DAPICORE=ON -DETHASHCL=OFF

Here's the output:

-- [cable ] Cable 0.5.0 initialized
-- Build type: Release
-- [hunter] Calculating Toolchain-SHA1
-- [hunter] Calculating Config-SHA1
-- [hunter] HUNTER_ROOT: /home/xxxx/.hunter
-- [hunter] [ Hunter-ID: e14bc15 | Toolchain-ID: b165021 | Config-ID: 4b0f3fe ]
-- [hunter] BOOST_ROOT: /home/xxxx/.hunter/_Base/e14bc15/b165021/4b0f3fe/Install (ver.: 1.81.0)
-- [hunter] BOOST_ROOT: /home/xxxx/.hunter/_Base/e14bc15/b165021/4b0f3fe/Install (ver.: 1.81.0)
-- [hunter] BOOST_ROOT: /home/xxxx/.hunter/_Base/e14bc15/b165021/4b0f3fe/Install (ver.: 1.81.0)
-- [hunter] BOOST_ROOT: /home/xxxx/.hunter/_Base/e14bc15/b165021/4b0f3fe/Install (ver.: 1.81.0)
CMake Error at /home/xxxx/.hunter/_Base/e14bc15/b165021/4b0f3fe/Install/lib/cmake/Boost-1.81.0/BoostConfig.cmake:141 (find_package):
  Found package configuration file:

    /home/xxxx/.hunter/_Base/e14bc15/b165021/4b0f3fe/Install/lib/cmake/boost_system-1.81.0/boost_system-config.cmake

  but it set boost_system_FOUND to FALSE so package "boost_system" is
  considered to be NOT FOUND.  Reason given by package:

  No suitable build variant has been found.

  The following variants have been tried and rejected:

  * libboost_system-mt-d-x64.a (static, default is shared, set
  Boost_USE_STATIC_LIBS=ON to override)

  * libboost_system-mt-x64.a (static, default is shared, set
  Boost_USE_STATIC_LIBS=ON to override)

Call Stack (most recent call first):
  /home/xxxx/.hunter/_Base/e14bc15/b165021/4b0f3fe/Install/lib/cmake/Boost-1.81.0/BoostConfig.cmake:262 (boost_find_component)
  CMakeLists.txt:66 (find_package)

Environment and version info:

$ uname -a
Linux hk-node-02 5.15.0-43-generic #46-Ubuntu SMP Tue Jul 12 10:30:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
$ cmake -version
cmake version 3.22.1

CMake suite maintained and supported by Kitware (kitware.com/cmake).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant