编译元界全节点钱包

Linux环境下编译

可以使用的Linux版本

几乎所有的Linux都可进行MVS全节点钱包的编译,官方使用Ubuntu 16.04进行编译测试。

获取源码

git clone https://github.com/mvs-org/metaverse.git

编译

引用到github:
https://github.com/mvs-org/metaverse

MacOSX环境下编译

获取源码

git clone https://github.com/mvs-org/metaverse.git

安装Homebrew

如果已经安装可以跳过此步骤。

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

编译

引用到github:
https://github.com/mvs-org/metaverse

Windows环境下编译

Dependencies:

Get the source code

Download all the dependencies to the specific folder as below:

boost_1_63_0/
zeromq-4.2.1/
secp256k1/
metaverse/

Build Metaverse Step by Step

  • Build Boost

    bootstrap.bat
    b2.exe address-model=64 runtime-link=static link=static
  • Build zeromq-4.2.1
    Open zeromq-4.2.1\builds\msvc\vs2015\libzmq.sln, switch to libzmq project, then build x64 Platform StaticDebug and StaticRelease versions separately.

  • Build secp256k1
    Open secp256k1\builds\msvc\vs2013\secp256k1.sln, switch to secp256k1 project, then build x64 Platform StaticDebug or StaticRelease versions separately.

  • Build metaverse
    Open metaverse\builds\msvc-140\metaverse.sln, switch to mvsd project, then build x64 Platform Debug or Release versions separately.