我正在使用FastVM指南上的步骤来构建它。我被困在了你必须构建可靠编译器的部分。我已经安装了先决条件,但是当我运行make时,我得到了以下内容:
compilation terminated.
In file included from ./libsolidity/interface/ABI.cpp:21:0:
./libsolidity/interface/ABI.h:25:10: fatal error: json/json.h: No such file or directory
#include <json/json.h>
^~~~~~~~~~~~~
compilation terminated.
In file included from ./libsolidity/interface/Exceptions.h:27:0,
from ./libsolidity/interface/ErrorReporter.h:25,
from ./libsolidity/interface/ErrorReporter.cpp:23:
./libdevcore/Exceptions.h:20:10: fatal error: boost/exception/exception.hpp: No such file or directory
#include <boost/exception/exception.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
^CMakefile:9: recipe for target 'all' failed
make: *** [all] Interrupt我不知道我哪里出了问题。
发布于 2018-09-26 19:04:17
看起来Aion FastVM是为运行Ubuntu16.04而不是18.04而构建的。这是我采取的步骤,使它启动和运行。我参考了艾奥斯·吉顿上的步骤。
cd ~ git clone https://github.com/aionnetwork/aion_fastvm.git sudo apt install build-essential llvm-4.0-dev make cd solidity sudo apt install build-essential libboost-all-dev libjsoncpp-dev make
sudo reboot now。在构建稳健编译器时,我确实收到了一些警告,但它们只是警告而已。什么都没有被终止。
https://stackoverflow.com/questions/52521912
复制相似问题