brew install cpp-ethereum CMake Error



我正试图在Mac OS X 10.13.5上手动构建我的以太坊客户端(使用brew会出现类似的错误(。我按照简单的说明:

git clone https://github.com/ethereum/cpp-ethereum.git
cd cpp-ethereum
mkdir -p build
cd build
cmake ..

它给了我一个错误,并使构建失败:

CMake Error at CMakeLists.txt:7 (include):
include could not find load file:
evmc/cmake/cable/bootstrap.cmake

CMake Error at CMakeLists.txt:8 (include):
include could not find load file:
CableBuildInfo

CMake Error at CMakeLists.txt:9 (include):
include could not find load file:
CableBuildType

CMake Error at CMakeLists.txt:10 (include):
include could not find load file:
CableToolchains

CMake Error at CMakeLists.txt:19 (cable_configure_toolchain):
Unknown CMake command "cable_configure_toolchain".

-- Configuring incomplete, errors occurred!

我知道CMake是用来管理构建过程的,但我不明白是什么导致了这个问题。是什么原因导致我的构建失败?我该如何解决这些问题?

我想你可以试试

git clone --recursive https://github.com/ethereum/cpp-ethereum.git

我是从aleth github项目中读到的。

在克隆的文件夹中运行此程序

git submodule update --init --recursive

最新更新