Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

Can't compile cpp-ethereum for windows(Unable to find the requested Boost libraries) #5152

Closed
shenyimei opened this issue Aug 1, 2018 · 2 comments

Comments

@shenyimei
Copy link

shenyimei commented Aug 1, 2018

I build from Windows, which USES vs2015, but always prompts an error, which cannot be carried down,Request for help,thanks.

CMake Error at C:/.hunter/_Base/Download/Hunter/0.21.16/aa1facc/Unpacked/cmake/f
ind/FindBoost.cmake:1247 (message):
Unable to find the requested Boost libraries.

Boost version: 1.65.1

Boost include path:
C:/.hunter/_Base/aa1facc/bb712de/4de1f3d/Install/include

Could not find the following static Boost libraries:

      boost_fiber

Some (but not all) of the required Boost libraries were found. You may
need to install these additional Boost libraries. Alternatively, set
BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
to the location of Boost.
Call Stack (most recent call first):
C:/.hunter/_Base/aa1facc/bb712de/4de1f3d/Install/lib/cmake/Boost/BoostConfig.c
make:40 (find_package)
CMakeLists.txt:72 (find_package)

[hunter ** INTERNAL **] Library not exists: Boost_FIBER_LIBRARY_DEBUG-NOTFOUND
[hunter ** INTERNAL **] [Directory:C:/.hunter/_Base/aa1facc/bb712de/4de1f3d/Inst
all/lib/cmake/Boost]

------------------------------ WIKI -------------------------------
https://github.com/ruslo/hunter/wiki/error.internal

CMake Error at C:/.hunter/_Base/Download/Hunter/0.21.16/aa1facc/Unpacked/cmake/m
odules/hunter_wiki.cmake:12 (message):
Call Stack (most recent call first):
C:/.hunter/_Base/Download/Hunter/0.21.16/aa1facc/Unpacked/cmake/modules/hunter
_internal_error.cmake:13 (hunter_wiki)
C:/.hunter/_Base/aa1facc/bb712de/4de1f3d/Install/lib/cmake/Boost/BoostConfig.c
make:88 (hunter_internal_error)
CMakeLists.txt:72 (find_package)

CMake Error at CMakeLists.txt:72 (find_package):
Found package configuration file:

C:/.hunter/_Base/aa1facc/bb712de/4de1f3d/Install/lib/cmake/Boost/BoostConfig

.cmake

but it set Boost_FOUND to FALSE so package "Boost" is considered to be NOT
FOUND.

-- Configuring incomplete, errors occurred!
See also "E:/ethereum/cpp-ethereum/build/CMakeFiles/CMakeOutput.log".
See also "E:/ethereum/cpp-ethereum/build/CMakeFiles/CMakeError.log".

@gumb0
Copy link
Member

gumb0 commented Aug 1, 2018

What is your exact Visual Studio version?

I build it fine with Version 14.0.25431.01 Update 3

@shenyimei
Copy link
Author

@gumb0 Thank you for your reply. When this problem occurred, I used Version 14.0.23107.0 D14REL. Later, I used Version 14.0.25431.01 Update 3 to compile successfully.

@gumb0 gumb0 closed this as completed Aug 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants