@@ -24,7 +24,7 @@ To use the MS compiler, ensure that the appropriate 32-bit or 64-bit versions
24
24
of cl.exe/ml.exe/ml64.exe/link.exe are in your PATH and that the INCLUDE and
25
25
LIB environment variables are set properly (as in VCVARS.BAT).
26
26
27
- Sample configuration setting up INCLUDE/LIB:
27
+ Sample configuration setting up INCLUDE/LIB (see an alternative below) :
28
28
29
29
``` shell
30
30
export MSVC=" /c/Program Files (x86)/Microsoft Visual Studio 10.0/vc"
@@ -67,55 +67,35 @@ windows.
67
67
68
68
<pre >
69
69
0. Start-Point: A clean Windows 10 Installation with all patches as of 2016-06-10
70
- 1. Install Windows SDK 7.1:
71
-
72
- Version registry key:
73
-
74
- HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\NET Framework Setup\NDP\v4\Client
75
- HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\NET Framework Setup\NDP\v4\Full
76
-
77
- Relevant attribute: VERSION
78
-
79
- 1. Note down the values in the version value (Windows 10 pure with patches as of 2016-06-10: 4.6.01038)
80
- 2. Change ownership of the registry keys to your current user (Open permissions for the key and choose "Extended")
81
- 3. Add full access righs for your current user to the permissions
82
- 4. Change both version attributes to 4.0.30319
83
- 5. Download and Install Windows SDK 7.1 with defaults: http://www.microsoft.com/en-us/download/details.aspx?id=8279
84
- 6. Restore Version from first item of this list
85
-
86
-
87
- 2. Install Oracle JDK 8u92 (64 bit)
70
+ 1. Install Visual C++ Build Tools 2015 (http://landinghub.visualstudio.com/visual-cpp-build-tools) (the 8.1 SDK is enough)
71
+ 2. Install Oracle JDK 8u121 (64 bit)
88
72
3. Install Cygwin (https://cygwin.com/install.html)
89
73
- make
90
74
- automake
91
75
- automake1.15
92
76
- libtool
93
- - mingw64-x86_64-gcc-g++ (Version 5.3 .0-1 )
94
- - mingw64-x86_64-gcc-core (Version 5.3 .0-1 )
77
+ - mingw64-x86_64-gcc-g++ (Version 5.4 .0-3 )
78
+ - mingw64-x86_64-gcc-core (Version 5.4 .0-2 )
95
79
- gcc-g++
96
80
- diffutils
81
+ - git
97
82
4. Ensure ant, maven, cygwin are accessible from the PATH
98
83
5. Run
99
- C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.Cmd /Release / x64
84
+ " C:\Program Files (x86) \Microsoft Visual C++ Build Tools\vcbuildtools.bat" x64
100
85
inside a windows command prompt
101
86
6. Point JAVA_HOME to the root of a 64 Bit JDK
102
87
7. Run native build
103
88
104
-
105
89
For 32bit:
106
90
107
91
- Install:
108
- - mingw64-i686-gcc-g++ (Version 5.3 .0-1 )
109
- - mingw64-i686-gcc-core (Version 5.3 .0-1 )
92
+ - mingw64-i686-gcc-g++ (Version 5.4 .0-3 )
93
+ - mingw64-i686-gcc-core (Version 5.4 .0-2 )
110
94
- Modify the recipe:
95
+ - Step 2:
96
+ Install JDK 8u121 (32 bit)
111
97
- Step 5:
112
- C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.Cmd /Release / x86
98
+ " C:\Program Files (x86) \Microsoft Visual C++ Build Tools\vcbuildtools.bat" x86
113
99
- Step 6:
114
100
Point JAVA_HOME to the root of a 32 Bit JDK
115
-
116
- To build with Visual Studio 2015:
117
- - Instead of Step 5 start the build environments from start menu:
118
- - VS2015 x86 Native Tools
119
- - VS2015 x64 Native Tools
120
- - Run steps 6+7 inside that environment
121
101
</pre >
0 commit comments