brew安装cpp以太坊CMake错误

brew安装cpp以太坊CMake错误,cmake,ethereum,Cmake,Ethereum,我正在尝试在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 l

我正在尝试在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是用来管理建筑过程的,但我不知道是什么导致了这个问题。什么是导致我的构建失败的CMakeList?我如何解决这些问题

我想你可以试试

git clone --recursive https://github.com/ethereum/cpp-ethereum.git
我是从aleth github项目中读到的。

我想你可以试试

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

我从aleth github项目中读到它。

在克隆的文件夹中运行它

git submodule update --init --recursive

在克隆的文件夹中运行此命令

git submodule update --init --recursive
仔细阅读:它讲述了git克隆的递归https://github.com/ethereum/cpp-ethereum.git,并注意到
--recursive
选项很重要。请仔细阅读:它讲述了
git clone--recursivehttps://github.com/ethereum/cpp-ethereum.git
,请注意,
--递归
选项很重要。