Skip to content

Building on OS X

theoreticalbts edited this page Dec 7, 2015 · 14 revisions

BitShares OS X Build Instructions

  1. Install XCode and its command line tools by following the instructions here: https://guide.macports.org/#installing.xcode. In OS X 10.11 (El Capitan) and newer, you will be prompted to install developer tools when running a devloper command in the terminal. This step may not be needed.

  2. Install Homebrew by following the instructions here: http://brew.sh/

  3. Initialize Homebrew:

    brew doctor
    brew update
    
  4. Install dependencies:

    brew install boost cmake git openssl autoconf automake 
    brew link --force openssl 
    
  5. Optional. To support importing Bitcoin wallet files:

    brew install berkeley-db
    
  6. Optional. To use TCMalloc in LevelDB:

    brew install google-perftools
    
  7. Clone the Graphene repository:

    git clone [email protected]:Cryptonomex/graphene.git
    cd graphene
    
  8. Build BitShares:

    git submodule update --init --recursive
    cmake .
    make
    
Clone this wiki locally