forked from ruslo/hunter
-
Notifications
You must be signed in to change notification settings - Fork 192
Closed
Description
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).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels