首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >brew安装cpp-以太CMake错误

brew安装cpp-以太CMake错误
EN

Stack Overflow用户
提问于 2018-07-18 14:33:41
回答 2查看 605关注 0票数 0

我正尝试在Mac OS X 10.13.5上手动构建我的ethereum客户端(使用brew时会出现类似的错误)。我遵循以下简单的说明:

代码语言:javascript
复制
git clone https://github.com/ethereum/cpp-ethereum.git
cd cpp-ethereum
mkdir -p build
cd build
cmake ..

它会给我一个错误,并导致构建失败:

代码语言:javascript
复制
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导致我的构建失败,我如何解决这些问题?

EN

回答 2

Stack Overflow用户

发布于 2019-04-29 10:57:24

我想你可以试试

代码语言:javascript
复制
git clone --recursive https://github.com/ethereum/cpp-ethereum.git

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

票数 1
EN

Stack Overflow用户

发布于 2020-01-10 04:40:58

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

代码语言:javascript
复制
git submodule update --init --recursive
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/51395039

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档