我正尝试在Mac OS X 10.13.5上手动构建我的ethereum客户端(使用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导致我的构建失败,我如何解决这些问题?
发布于 2019-04-29 10:57:24
我想你可以试试
git clone --recursive https://github.com/ethereum/cpp-ethereum.git我是从aleth github项目中读到的。
发布于 2020-01-10 04:40:58
在克隆的文件夹中运行此命令
git submodule update --init --recursivehttps://stackoverflow.com/questions/51395039
复制相似问题