Adds openssl and boost lib includes for OSX build

This adds the paths to the openssl and boost
libraries (installed with brew) for the MacOS X
build. Furthermore the MacOS X build instructions
in the README.md has been improved (formatting).
This commit is contained in:
maitscha 2016-11-09 08:55:31 +01:00 committed by Christoph Mayerhofer
parent 032e721532
commit 46d87f9c91
2 changed files with 42 additions and 36 deletions

View file

@ -115,31 +115,38 @@ TODO
### On OS X: ### On OS X:
1. install Xcode from AppStore 1. Install Xcode from AppStore
2. install [homebrew] (http://brew.sh/) 2. Install [homebrew](http://brew.sh/)
3. install [bitmonero] (https://github.com/monero-project/bitmonero) dependencies: 3. Install [monero](https://github.com/monero-project/monero) dependencies:
```brew install boost --c++11```
```brew install pkgconfig``` `brew install boost --c++11`
```brew install cmake``` `brew install openssl` - to install openssl headers
4. install latest Qt using official installer from [qt.io] (https://www.qt.io/download-open-source/), homebrew version might be outdated `brew install pkgconfig`
`brew install cmake`
4. Install latest Qt using official installer from [qt.io](https://www.qt.io/download-open-source/) (homebrew version might be outdated).
5. Add Qt bin dir to your path: 5. Add Qt bin dir to your path:
```export PATH=$PATH:$HOME/Qt5/5.7/clang_64/bin``` `export PATH=$PATH:$HOME/Qt/5.7/clang_64/bin`
where ```Qt5``` is the folder you selected to install Qt where ```Qt``` is the folder you selected to install Qt.
6. Clone repository and build:
``` 6. Grab an up-to-date copy of the monero-core repository.
git clone https://github.com/monero-project/monero-core.git
cd monero-core `git clone https://github.com/monero-project/monero-core.git`
build.sh 7. Go into the repository.
``` `cd monero-core`
8. Start the build:
`build.sh`
The executable can be found in the `build/release/bin` folder.
### On Windows: ### On Windows:
@ -191,6 +198,3 @@ TODO
mingw32-make deploy mingw32-make deploy
``` ```
- grab result binary and dependencies in ```.\release\bin``` - grab result binary and dependencies in ```.\release\bin```

View file

@ -130,8 +130,10 @@ linux {
macx { macx {
LIBS+= \ LIBS+= \
-L/usr/local/lib \ -L/usr/local/lib \
-lboost_serialization \ -L/usr/local/opt/openssl/lib \
-L/usr/local/opt/boost/lib \
-lboost_serialization \
-lboost_thread-mt \ -lboost_thread-mt \
-lboost_system \ -lboost_system \
-lboost_date_time \ -lboost_date_time \