首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法在Aion FastVM中构建可靠编译器

无法在Aion FastVM中构建可靠编译器
EN

Stack Overflow用户
提问于 2018-09-26 15:59:23
回答 1查看 70关注 0票数 1

我正在使用FastVM指南上的步骤来构建它。我被困在了你必须构建可靠编译器的部分。我已经安装了先决条件,但是当我运行make时,我得到了以下内容:

代码语言:javascript
复制
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

我不知道我哪里出了问题。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2018-09-26 19:04:17

看起来Aion FastVM是为运行Ubuntu16.04而不是18.04而构建的。这是我采取的步骤,使它启动和运行。我参考了艾奥斯·吉顿上的步骤。

  1. 创建一个Ubuntu16.04x86-64环境(本地或在AWS / Azure / DigitalOcean /etc上)。
  2. 在您的新环境中运行以下逐行

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

  1. 重新启动VM:sudo reboot now

在构建稳健编译器时,我确实收到了一些警告,但它们只是警告而已。什么都没有被终止。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/52521912

复制
相关文章

相似问题

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