diff --git a/README.md b/README.md index 9662189e..fe88fc89 100755 --- a/README.md +++ b/README.md @@ -139,17 +139,21 @@ Install the OS X command line tools: When the popup appears, click `Install`. +If you're running macOS Mojave 10.14/Xcode 10.0 or later, and want to use the depends system, you'll also need to use the following script to install the macOS system headers into /usr/include. + + open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg + Then install [Homebrew](https://brew.sh) /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" #### Dependencies - brew install cmake automake berkeley-db4 leveldb libtool boost@1.66 --c++11 --without-single --without-static miniupnpc openssl pkg-config protobuf qt5 libevent imagemagick --with-librsvg + brew install cmake automake berkeley-db4 leveldb libtool boost@1.60 --c++11 --without-single --without-static miniupnpc openssl pkg-config protobuf qt5 libevent imagemagick --with-librsvg -Link boost 1.66 +Link boost 1.60 - brew link boost@1.66 --force + brew link boost@1.60 --force #### Build Luxcore diff --git a/src/qt/blockexplorer.cpp b/src/qt/blockexplorer.cpp index f226cbec..731a4241 100755 --- a/src/qt/blockexplorer.cpp +++ b/src/qt/blockexplorer.cpp @@ -543,7 +543,7 @@ std::string AddressToString(const CTxDestination& Address) continue; } else if (!nTxSummed && nEntry > 1) { // avoid partial deltas + TxToRow sum - for (AddressIndexVector::const_iterator rit(&aIndex.at(nEntry-1)); rit!=aIndex.begin(); rit--) { + for (AddressIndexVector::const_iterator rit = (aIndex.begin() + (nEntry-1)); rit!=aIndex.begin(); rit--) { if (rit->first.txhash != it->first.txhash) break; Sum -= rit->second; } diff --git a/src/qt/hexaddressconverter.cpp b/src/qt/hexaddressconverter.cpp index 9294540a..735c5437 100644 --- a/src/qt/hexaddressconverter.cpp +++ b/src/qt/hexaddressconverter.cpp @@ -6,6 +6,7 @@ #include #include +#include #define paternAddress "^[a-fA-F0-9]{40,40}$"