Changes between Version 46 and Version 47 of Windows build instructions
- Timestamp:
- Jun 7, 2017 3:36:39 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Windows build instructions
v46 v47 5 5 == Prerequisites == 6 6 7 * '''Windows 7''', '''Windows Vista''', '''Windows Server 2003''' or '''Windows XP SP3'''.7 * '''Windows 10''', '''Windows 8.1''', '''Windows 8''' or '''Windows 7'''. 8 8 9 9 * '''Visual Studio 2010 with service pack 1'''. 10 10 11 11 * '''Windows Platform SDK v7.1''' [[BR]] 12 http://www.microsoft.com/en-us/download/details.aspx?id=8279 12 http://www.microsoft.com/en-us/download/details.aspx?id=8279 [[BR]] 13 ''Use `--with-sdk=` to specify the path for configure.vbs.'' 13 14 14 15 * '''Windows Driver Development Kit (WDK) v7.1'''. [[BR]] 15 http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=11800 16 http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=11800 [[BR]] 17 ''Use `--with-ddk=` to specify the path for configure.vbs.'' 16 18 17 19 * '''MingW''' (32-bit Windows only): [[BR]] … … 21 23 W32API: http://prdownloads.sf.net/mingw/w32api-3.5.tar.gz?download [[BR]] 22 24 Binutils: http://prdownloads.sf.net/mingw/binutils-2.13.90-20021006-2.tar.gz?download [[BR]] 23 ''Note that neither GCC v3.4.2 nor v3.4.5 is currently able to build a working recompiler. So, make sure you are using the 3.3.x versions! '' 25 ''Note that neither GCC v3.4.2 nor v3.4.5 is currently able to build a working recompiler. So, make sure you are using the 3.3.x versions! '' [[BR]] 26 ''Use `--with-mingw32` and `--with-w32api=` to specify the path to configure.vbs.'' 24 27 25 28 * '''MingW''' (64-bit Windows only). [[BR]] 26 GCC 4.5.4: http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/rubenvb/gcc-4.5-release/x86_64-w64-mingw32-gcc-4.5.4-release-win64_rubenvb.7z/download 29 GCC 4.5.4: http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/rubenvb/gcc-4.5-release/x86_64-w64-mingw32-gcc-4.5.4-release-win64_rubenvb.7z/download [[BR]] 30 ''Use `--with-mingw-w64=` to specify the path for configure.vbs.'' 27 31 28 * '''Qt v4.7.x or later''' [[BR]] 29 Note! This has to be built with the Visual C++ compiler mentioned above. 32 * '''Qt v5.6.x or later''' [[BR]] 33 Note! This has to be built with the Visual C++ compiler mentioned above. [[BR]] 34 ''Use `--with-qt5=` to specify the path for configure.vbs.'' 30 35 31 * '''SDL v1.2.7 or later''' development package (VC6): [[BR]]http://www.libsdl.org/download-1.2.php 36 * '''SDL v1.2.7 or later''' development package (VC6): [[BR]]http://www.libsdl.org/download-1.2.php [[BR]] 37 ''Use `--with-libsdl=` to specify the path for configure.vbs.'' 32 38 33 * '''libxml2''' and '''libxslt1''' libraries. Sources and 32bit binaries can be downloaded from: [[BR]]39 * the '''libxml2''' library. Sources and 32bit binaries can be downloaded from: [[BR]] 34 40 http://xmlsoft.org/downloads.html [[BR]] 35 http://xmlsoft.org/XSLT/downloads.html 41 http://xmlsoft.org/XSLT/downloads.html [[BR]] 42 ''Use `--with-libxml2=` to specify the path for configure.vbs.'' 36 43 37 44 * the '''zlib''' library. Grab the sources from: [[BR]] 38 http://www.zlib.net/ 45 http://www.zlib.net/ [[BR]] 39 46 40 47 * the '''cURL''' library. Grab the binaries from: [[BR]] 41 48 http://curl.haxx.se/download.html [[BR]] 42 (use the devel version ''without'' SSL support) 49 (use the devel version ''without'' SSL support) [[BR]] 50 ''Use `--with-libcurl=` to specify the path for configure.vbs.'' 43 51 44 * '''OpenSSL 1.0.1'''. Grab the binaries from: [[BR]] 45 http://www.openssl.org/related/binaries.html 52 * '''OpenSSL 1.1.0'''. Grab the binaries from: [[BR]] 53 https://slproweb.com/products/Win32OpenSSL.html [[BR]] 54 ''Use `--with-openssl=` to specify the path for configure.vbs.'' 46 55 47 56 * '''code signing utilities''' (64-bit Windows only). [[BR]] … … 51 60 https://sourceforge.net/projects/nsis/files/NSIS%202/2.51/ 52 61 53 * Optional: '''gSOAP 2. 7.12''', only needed if you want to build the webservice API server. Grab the sources from: [[BR]]62 * Optional: '''gSOAP 2.8.36''', only needed if you want to build the webservice API server. Grab the sources from: [[BR]] 54 63 http://sourceforge.net/projects/gsoap2/files/gSOAP/gSOAP%202.7.12%20stable/ 55 64 56 * Optional: '''Python 2.x''', only needed if you want to build Python API bindings, both webservice and COM. Grab the binaries from: [[BR]] 57 http://www.python.org/download/releases/2.7.5/ 65 * Optional: '''Python 2.7.x''', only needed if you want to build Python API bindings, both webservice and COM. Grab the binaries from: [[BR]] 66 http://www.python.org/download/releases/2.7.10/ [[BR]] 67 ''Use `--with-python=` to specify the path for configure.vbs.'' 58 68 59 69 * Optional: '''Java SE 6 JDK''', only needed if you want to build Java API bindings, both webservice and COM. Grab the binaries from: [[BR]] … … 71 81 2. Change to the root directory of the sources and enter our build shell environment: `env.bat`. 72 82 73 3. To build a release package, type `kmk`. This produces the binaries in `out\win.x86\release\bin`. If you want to build a debug version, enter `kmk KBUILD_TYPE=debug`. 83 3. To manually override any tool or change Config.kmk settings, create LocalConfig.kmk in the root directory of the sources and place the setting there. For instance, to create a non-hardened build ('''only for testing!'''), add `VBOX_WITHOUT_HARDENING = 1` to LocalConfig.kmk. 84 85 4. To build a release package, type `kmk`. This produces the binaries in `out\win.x86\release\bin`. If you want to build a debug version, enter `kmk KBUILD_TYPE=debug`. 74 86 75 87 … … 122 134 123 135 Starting !VirtualBox is accomplished by invoking one of its frontends, such as 124 125 {{{126 VBoxSDL.exe127 }}}128 129 or130 136 {{{ 131 137 VirtualBox.exe 132 138 }}} 139 140 or 141 {{{ 142 VBoxHeadless.exe 143 }}}