Changes between Version 8 and Version 9 of CompilationGuide/WinRT
- Timestamp:
- May 5, 2015, 7:30:38 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CompilationGuide/WinRT
v8 v9 22 22 Download and install [https://www.visualstudio.com/downloads/visual-studio-2015-ctp-vs Microsoft Visual Studio 2015] and [http://blogs.windows.com/buildingapps/2015/03/23/windows-10-developer-tooling-preview-now-available-to-windows-insiders/ Windows 10 SDK] on a Windows 10 machine. 23 23 24 Once the setup are completed, run the `reg query` command below to retrieve the '''Windows 10 SDK version''' to be used later.25 26 {{{27 reg query "HKLM\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v10.0" /v "ProductVersion"28 }}}29 30 In the example query result below, the installed Windows 10 SDK version is `10.0.10030`. This version is to be set as `UCRTSdkVer` environment variable when setting up FFmpeg build command prompt.31 32 {{{33 HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v10.034 ProductVersion REG_SZ 10.0.1003035 }}}36 37 24 === Windows 8.1 Setup === 38 25 … … 120 107 }}} 121 108 122 Set the following environment variables in the launched command prompt above. Use the correct version of '''Windows 10 SDK version''' for `UCRTSdkVer` (see [#Windows10Setup Windows 10 Setup] on how to get the version) 123 {{{ 124 SET UCRTSdkVer=10.0.10030.0 109 Set the following environment variables in the launched command prompt above. 110 We will need to find the right '''Windows 10 SDK version''' that is installed, which can be found under the regkey: "HKLM\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v10.0" 111 {{{ 112 for /F "tokens=3* delims= " %V in ('reg query "HKLM\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v10.0" /v ProductVersion /reg:32') do set UCRTSdkVer=%V.0 125 113 SET LIB=%VSINSTALLDIR%VC\lib\store;%VSINSTALLDIR%VC\atlmfc\lib;%UniversalCRTSdkDir%lib\winv10.0\ucrt\x86;;%UniversalCRTSdkDir%lib\%UCRTSdkVer%\um\x86;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6\lib\um\x86;;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6\Lib\um\x86 126 114 SET LIBPATH=%VSINSTALLDIR%VC\atlmfc\lib;%VSINSTALLDIR%VC\lib; … … 171 159 }}} 172 160 173 Set the following environment variables in the launched command prompt above. Use the correct version of '''Windows 10 SDK version''' for `UCRTSdkVer` (see [#Windows10Setup Windows 10 Setup] on how to get the version) 174 {{{ 175 SET UCRTSdkVer=10.0.10030.0 161 Set the following environment variables in the launched command prompt above. 162 We will need to find the right '''Windows 10 SDK version''' that is installed, which can be found under the regkey: "HKLM\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v10.0" 163 {{{ 164 for /F "tokens=3* delims= " %V in ('reg query "HKLM\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v10.0" /v ProductVersion /reg:32') do set UCRTSdkVer=%V.0 176 165 SET LIB=%VSINSTALLDIR%VC\lib\store\amd64;%VSINSTALLDIR%VC\atlmfc\lib\amd64;%UniversalCRTSdkDir%lib\winv10.0\ucrt\x64;;%UniversalCRTSdkDir%lib\%UCRTSdkVer%\um\x64;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6\lib\um\x64;;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6\Lib\um\x64 177 166 SET LIBPATH=%VSINSTALLDIR%VC\atlmfc\lib\amd64;%VSINSTALLDIR%VC\lib\amd64; … … 222 211 }}} 223 212 224 Set the following environment variables in the launched command prompt above. Use the correct version of '''Windows 10 SDK version''' for `UCRTSdkVer` (see [#Windows10Setup Windows 10 Setup] on how to get the version) 225 {{{ 226 SET UCRTSdkVer=10.0.10030.0 213 Set the following environment variables in the launched command prompt above. 214 We will need to find the right '''Windows 10 SDK version''' that is installed, which can be found under the regkey: "HKLM\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v10.0" 215 {{{ 216 for /F "tokens=3* delims= " %V in ('reg query "HKLM\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v10.0" /v ProductVersion /reg:32') do set UCRTSdkVer=%V.0 227 217 SET LIB=%VSINSTALLDIR%VC\lib\store\ARM;%VSINSTALLDIR%VC\atlmfc\lib\ARM;%UniversalCRTSdkDir%lib\winv10.0\ucrt\arm;;%UniversalCRTSdkDir%lib\%UCRTSdkVer%\um\arm;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6\lib\um\arm;;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6\Lib\um\arm 228 218 SET LIBPATH=%VSINSTALLDIR%VC\atlmfc\lib\ARM;%VSINSTALLDIR%VC\lib\ARM;
