Skip to content

Commit

Permalink
Updated build mac-os instruction like (#318)
Browse files Browse the repository at this point in the history
Updated macOS build instruction
  • Loading branch information
FreakyMaryk authored and psolstice committed Dec 4, 2018
1 parent 24f13ca commit 3ba3295
Showing 1 changed file with 23 additions and 12 deletions.
35 changes: 23 additions & 12 deletions doc/build-macos.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,33 +16,43 @@ Then install [Homebrew](http://brew.sh).
Dependencies
----------------------

brew install automake berkeley-db4 libtool boost miniupnpc openssl pkg-config protobuf python3 qt libevent
brew install automake berkeley-db4 libtool boost miniupnpc openssl pkg-config protobuf python qt libevent qrencode

If you want to build the disk image with `make deploy` (.dmg / optional), you need RSVG
In case you want to build the disk image with `make deploy` (.dmg / optional), you need RSVG

brew install librsvg
brew install librsvg
Berkley DB
------------------------
It is recommended to use Berkeley DB 4.8. If you have to build it yourself, you can use [the installation script included in contrib/] (https://github.com/bitcoin/bitcoin/blob/master/contrib/install_db4.sh)like so:
./contrib/install_db4.sh .

NOTE: Building with Qt4 is still supported, however, could result in a broken UI. Building with Qt5 is recommended.
from the root of the repository.

Note: You only need Berkeley DB if the wallet is enabled (see Disable-wallet mode).


Build Zcoin Core
------------------------
1. Build Zcoin-core:

Configure and build the headless bitcoin binaries as well as the GUI (if Qt is found).

Configure and build the headless zcoin binaries as well as the GUI (if Qt is found).

In case you want to build the disk image with `make deploy` (.dmg / optional), by passing `--with-gui` to configure.

You can disable the GUI build by passing `--without-gui` to configure.

./autogen.sh
./configure --with-boost-libdir=/usr/local/Cellar/boost/1.66.0/lib
./configure
make

2. It is recommended to build and run the unit tests:

make check

3. You can also create a .dmg that contains the .app bundle (optional):
` make check`
3. You can also create a .dmg that contains the .app bundle (optional):

make deploy
` make deploy`


Running
Expand Down Expand Up @@ -89,6 +99,7 @@ Uncheck everything except Qt Creator during the installation process.
Notes
-----

* Tested on OS X 10.11 through 10.12 on 64-bit Intel processors only.
* Tested on macOS 10.11 through 10.14 on 64-bit Intel processors only.

* Building with downloaded Qt binaries is not officially supported. See the notes in [#7714](https://github.com/bitcoin/bitcoin/issues/7714)

0 comments on commit 3ba3295

Please sign in to comment.