aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Jacobs <roy.jacobs@12roar.com>2017-03-04 05:17:23 +0100
committerRoy Jacobs <roy.jacobs@12roar.com>2017-03-04 06:02:23 +0100
commit2a8419c7cd0cad2e6cd1173eeef9495acc6fb016 (patch)
tree5fa03c4e7adc46bfcc9fdc5c7a1efdc8fd27dacc
parentb43f88cece1faef1df67a4ddc265ab5b05d2e68e (diff)
downloadmonzero-gui-2a8419c7cd0cad2e6cd1173eeef9495acc6fb016.tar.gz
monzero-gui-2a8419c7cd0cad2e6cd1173eeef9495acc6fb016.tar.xz
monzero-gui-2a8419c7cd0cad2e6cd1173eeef9495acc6fb016.zip
Windows build guide updated
-rw-r--r--README.md43
1 files changed, 24 insertions, 19 deletions
diff --git a/README.md b/README.md
index c34a882e..c2cbfa5f 100644
--- a/README.md
+++ b/README.md
@@ -158,8 +158,13 @@ More info: http://stackoverflow.com/a/35098040/1683164
### On Windows:
1. Install [msys2](http://msys2.github.io/), follow the instructions on that page on how to update packages to the latest versions
+
2. Install monero dependencies as described in [monero documentation](https://github.com/monero-project/monero) into msys2 environment.
**As we only build application for x86, install only dependencies for x86 architecture (i686 in package name)**
+ ```
+ pacman -S mingw-w64-i686-toolchain make mingw-w64-i686-cmake mingw-w64-i686-boost
+
+ ```
3. Install git into msys2 environment:
@@ -173,35 +178,35 @@ More info: http://stackoverflow.com/a/35098040/1683164
- Tools > MinGW 5.3.0
- continue with installation
-5. Open ```mingw``` shell:
+5. Open ```MinGW-w64 Win32 Shell``` shell:
```%MSYS_ROOT%\msys2_shell.cmd -mingw32```
Where ```%MSYS_ROOT%``` will be ```c:\msys32``` if your host OS is x86-based or ```c:\msys64``` if your host OS
is x64-based
-6. Clone repository:
+6. Install the latest version of boost, specificly the required static libraries:
```
+ cd
+ wget http://sourceforge.net/projects/boost/files/boost/1.63.0/boost_1_63_0.tar.bz2
+ tar xjf boost_1_63_0.tar.bz2
+ cd boost_1_63_0
+ ./bootstrap.sh mingw
+ ./b2 --prefix=/mingw32/boost --layout=tagged --without-mpi --without-python toolset=gcc address-model=32 variant=debug,release link=static threading=multi runtime-link=static -j$(nproc) install
+ ```
+
+7. Clone repository:
+ ```
+ cd
git clone https://github.com/monero-project/monero-core.git
```
-7. Build libwallet:
+8. Build the GUI:
```
cd monero-core
- ./get_libwallet_api.sh
+ export PATH=$(ls -rd /c/Qt/5.[6,7,8]/mingw53_32/bin | head -1):$PATH
+ ./build.sh
+ cd build
+ make deploy
```
- close ```mingw``` shell after it done
-
-8. Build application:
-
- - open ```Qt environment``` shell (Qt 5.7 for Desktop (MinGW 5.3.0 32 bit) is shortcut name)
- - navigate to the project dir and build the app:
- ```
- cd %MSYS_ROOT%\%USERNAME%\monero-core
- mkdir build
- cd build
- qmake ..\ -r "CONFIG+=release"
- mingw32-make release
- mingw32-make deploy
- ```
- - grab result binary and dependencies in ```.\release\bin```
+ The resulting executable can be found in ```.\release\bin```