BitShares2.0 —— 第一章 创世篇(一):先导 初识比特股代码编译运行方法

前言

我不懂区块链,只是个使用者,文章内容纯属剽窃。

前前言

我的开发环境:
开发环境

BitShares官方站

下载-编译-安装-运行

我没有按照github (英)主页上的编译,而参考 wiki-macos页面编译的。

  • 安装 XCode 和 command line tools https://guide.macports.org/#installing.xcode. 在 OS X 10.11 (El Capitan) 与以上的版本,在终端中运行开发人员命令时,系统将提示您安装开发人员工具,这一步可省掉.
  • 安装 boost:
    brew search boost
    brew install boost@1.60
  • 更新 openssl:
    brew upgrade openssl
  • 运行以下命令
#Initialize Homebrew:
brew doctor
brew update
brew install boost cmake git openssl autoconf automake libtool 
brew link --force openssl 
#Install dependencies:
brew install boost cmake git openssl autoconf automake libtool 
brew link --force openssl 
#Clone the Bitshares repository:
git clone https://github.com/bitshares/bitshares-core.git
cd bitshares-core
#Build BitShares:
git submodule update --init --recursive
  • 如果装了 boost 直接运行(指定使用 boost1.60版本)
    cmake -DBOOST_ROOT=/usr/local/opt/boost@1.60 -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl .
  • 最后一步:make

后记:剽窃的文章如下:

https://github.com/bitshares/bitshares-core/wiki/Building-on-OS-X

没了。。。。。。

不用打赏,吃不起土,我可以光合作用。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值