]> Git Repo - VerusCoin.git/blame - build-msw.txt
Updated dutch translation
[VerusCoin.git] / build-msw.txt
CommitLineData
cf7c1874 1Copyright (c) 2009-2011 Bitcoin Developers
0a61b0df 2Distributed under the MIT/X11 software license, see the accompanying
3file license.txt or http://www.opensource.org/licenses/mit-license.php.
4This product includes software developed by the OpenSSL Project for use in
5the OpenSSL Toolkit (http://www.openssl.org/). This product includes
6cryptographic software written by Eric Young ([email protected]).
7
8
9WINDOWS BUILD NOTES
10===================
11
12Compilers Supported
13-------------------
e6e87891
GA
14MinGW GCC http://tdm-gcc.tdragon.net/
15 TDM-GCC with gcc 4.5.1 was used to build this release.
16MSYS 1.0.11 was also used (sh needed to compile some dependencies)
0a61b0df 17
e6e87891
GA
18
19Candidate releases were built with MSVC 10.0 (2010), but
20compiling with Visual C++ caused rendering artifacts when
21bitcoin was run.
0a61b0df 22
23
24Dependencies
25------------
26Libraries you need to download separately and build:
27
cf7c1874 28 default path download
e6e87891
GA
29wxWidgets \wxwidgets-2.9.1-mgw http://www.wxwidgets.org/downloads/
30OpenSSL \openssl-1.0.0c-mgw http://www.openssl.org/source/
31Berkeley DB \db-4.7.25.NC-mgw http://www.oracle.com/technology/software/products/berkeley-db/index.html
32Boost \boost-1.43.0-mgw http://www.boost.org/users/download/
0a61b0df 33
34Their licenses:
35wxWidgets LGPL 2.1 with very liberal exceptions
36OpenSSL Old BSD license with the problematic advertising requirement
37Berkeley DB New BSD license with additional requirement that linked software must be free open source
38Boost MIT-like license
39
40Versions used in this release:
cf7c1874
GA
41wxWidgets 2.9.1
42OpenSSL 1.0.0c
0a61b0df 43Berkeley DB 4.7.25.NC
e6e87891 44Boost 1.43.0
0a61b0df 45
46
47Notes
48-----
49The UI layout is edited with wxFormBuilder. The project file is
50uiproject.fbp. It generates uibase.cpp and uibase.h, which define base
51classes that do the rote work of constructing all the UI elements.
52
0a61b0df 53wxWidgets
54---------
e6e87891
GA
55DOS shell:
56cd \wxWidgets-2.9.1-mgw\build\msw
57mingw32-make -f makefile.gcc
0a61b0df 58
59OpenSSL
60-------
e6e87891
GA
61MSYS shell:
62un-tar sources with MSYS 'tar xfz' to avoid issue with symlinks (OpenSSL ticket 2377)
63change 'MAKE' env. variable from 'C:\MinGW32\bin\mingw32-make.exe' to '/c/MinGW32/bin/mingw32-make.exe'
64
65cd /c/openssl-1.0.0c-mgw
66./config
67make
68
69perl util/mkdef.pl 32 libeay enable-static-engine > libeay32.def
70dllwrap --dllname libeay32.dll --output-lib libeay32.a --def libeay32.def libcrypto.a -lws2_32 -lgdi32
71
72after that openssl libeay is in main source dir (openssl-1.0.0c-mgw)
0a61b0df 73
74Berkeley DB
75-----------
e6e87891
GA
76MSYS shell:
77cd /c/db-4.7.25.NC-mgw/build_unix
78sh ../dist/configure --enable-mingw --enable-cxx
79make
80
0a61b0df 81
82Boost
83-----
e6e87891
GA
84DOS prompt:
85downloaded boost jam 3.1.18
86cd \boost-1.43.0-mgw
87bjam toolset=gcc --build-type=complete stage
cf7c1874 88
e6e87891
GA
89Note:
90building with boost 1.45.0 failed because of boost ticket 4614, 4258
91builds fine with boost 1.43.0
92
93Bitcoin
94-------
95DOS prompt:
96cd \bitcoin
97mingw32-make bitcoin.exe bitcoind.exe -f makefile.mingw
98strip bitcoin.exe
99strip bitcoind.exe
This page took 0.033394 seconds and 4 git commands to generate.