Closed Bug 799188 Opened 12 years ago Closed 12 years ago

Test building mc / mozilla apps using the Windows 8 SDK and VS2010

Categories

(Core :: General, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jimm, Unassigned)

References

()

Details

Test building mc apps using visual studio 2010 and the 8.0 sdk. Assuming this works, need to test for issues with XP.
Build is clean, and I don't see any of the ux issues we have with the 2012 builds. Directory info: INCLUDE F:\Program Files (x86)\Windows Kits\8.0\Include\shared; F:\Program Files (x86)\Windows Kits\8.0\Include\um; F:\Program Files (x86)\Windows Kits\8.0\Include\winrt; F:\Program Files (x86)\Windows Kits\8.0\Include\winrt\wrl; F:\Program Files (x86)\Windows Kits\8.0\Include\winrt\wrl\wrappers; F:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE; F:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\ATLMFC\INCLUDE; LIB F:\Program Files (x86)\Windows Kits\8.0\Lib\win8\um\x86; * F:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\LIB; F:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\ATLMFC\LIB; * swap target dir for 64bit LIBPATH F:\Program Files (x86)\Windows Kits\8.0\Lib\win8\um\x86; * F:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\LIB; F:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\ATLMFC\LIB; * swap target dir for 64bit PATH (standard mozilla-build and Windows path info) /f/Program Files (x86)/Microsoft Visual Studio 10.0/VSTSDB/Deploy: /f/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/: /f/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN: /f/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/Tools: /f/Program Files (x86)/Microsoft Visual Studio 10.0/VC/VCPackages: /f/Program Files/Microsoft SDKs/Windows/v7.1/Bin: * * Note the 8.0 sdk does not have the Microsoft Manifest Tool (mt.exe) so we need the 7.0 or 7.1 bin path here as well. WINDOWSSDKDIR F:\Program Files (x86)\Windows Kits\8.0\ We do not need the directx sdk anymore since the 8.0 sdk includes it in it's standard directories. Next up I'll do a release build and some XP testing.
Release build looks good on XP.
Header change needed for enable-metro - C:\Program Files (x86)\Windows Kits\8.0\Include\winrt\asyncinfo.h line 67: enum class AsyncStatus { to enum /*class*/ AsyncStatus {
I've installed vs2010 and the Windows 8 sdk, use start-msvc10.bat, but the build fails during configure with: -- ... checking for jar... : ERROR: Invalid key name. Type "REG QUERY /?" for usage. configure: error: Couldn't find the DirectX SDK, needed for WebGL. Either install it (June 2010 version or newer), or reconfigure with --disable-webgl. -- comment 1 mentions the directx sdk is already included (which the ms release notes say too) and isn't necessary. Is there a patch or anything else I should need to make this work?
(In reply to Mark Hammond (:markh) from comment #4) > I've installed vs2010 and the Windows 8 sdk, use start-msvc10.bat, but the > build fails during configure with: > > -- > ... > checking for jar... : > ERROR: Invalid key name. > Type "REG QUERY /?" for usage. > configure: error: Couldn't find the DirectX SDK, needed for WebGL. Either > install it (June 2010 version or newer), or reconfigure with --disable-webgl. > -- > > comment 1 mentions the directx sdk is already included (which the ms release > notes say too) and isn't necessary. > > Is there a patch or anything else I should need to make this work? You are probably missing some env info. Can you compare your env to comment 1 using set and see if there's something missing? We might need to patch the startup scripts.
Note start-msvc10.bat doesn't support finding the 8.0 sdk yet so my guess is your env is pointing at the 7.0 or 7.1 sdk.
Is there no way to default to 8.0SDK? Or is it just my computer? Just wondering if people will run into this when we make metro builds on by default.
Ignore that last comment that was meant for another bug.
To set your env to point to the win8 sdk you need to run this tool and select v8.0 SDK: C:\Program Files\Microsoft SDKs\Windows\v7.1\Setup\WindowsSdkVer.exe
(In reply to Jim Mathies [:jimm] from comment #1) > PATH > > (standard mozilla-build and Windows path info) > /f/Program Files (x86)/Microsoft Visual Studio 10.0/VSTSDB/Deploy: > /f/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/: > /f/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN: > /f/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/Tools: > /f/Program Files (x86)/Microsoft Visual Studio 10.0/VC/VCPackages: > /f/Program Files/Microsoft SDKs/Windows/v7.1/Bin: * > > * Note the 8.0 sdk does not have the Microsoft Manifest Tool (mt.exe) so we > need the 7.0 or 7.1 bin path here as well. One update here, the 8.0 kit does have a bin folder with mt - C:\Program Files (x86)\Windows Kits\8.0\bin\x86
Updated directory info: INCLUDE F:\Program Files (x86)\Windows Kits\8.0\Include\shared; F:\Program Files (x86)\Windows Kits\8.0\Include\um; F:\Program Files (x86)\Windows Kits\8.0\Include\winrt; F:\Program Files (x86)\Windows Kits\8.0\Include\winrt\wrl; F:\Program Files (x86)\Windows Kits\8.0\Include\winrt\wrl\wrappers; F:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE; F:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\ATLMFC\INCLUDE; LIB F:\Program Files (x86)\Windows Kits\8.0\Lib\win8\um\x86; * F:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\LIB; F:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\ATLMFC\LIB; * swap target dir for 64bit LIBPATH F:\Program Files (x86)\Windows Kits\8.0\Lib\win8\um\x86; * F:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\LIB; F:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\ATLMFC\LIB; * swap target dir for 64bit PATH (standard mozilla-build and Windows path info) /f/Program Files (x86)/Microsoft Visual Studio 10.0/VSTSDB/Deploy: /f/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/: /f/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN: /f/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/Tools: /f/Program Files (x86)/Microsoft Visual Studio 10.0/VC/VCPackages: /f/Program Files (x86)/Windows Kits/8.0/bin/x86: * * swap target dir for 64bit WINDOWSSDKDIR F:\Program Files (x86)\Windows Kits\8.0\ Note my root drive for this stuff is F, most people will have this on C.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
I have the same problem: configure: error: Couldn't find the DirectX SDK, needed for WebGL. Either install it (June 2010 version or newer), or reconfigure with --disable-webgl. Microsoft: "Starting with Windows 8, the DirectX SDK is included as part of the Windows SDK." Source: http://msdn.microsoft.com/en-us/library/windows/desktop/ee663275(v=vs.85).aspx My environment: !D:='D:\Projekte\mozilla-release' !E:='E:\Privat\cg' !EXITCODE=00000001 !G:='G:\Users\Thomas' ALLUSERSPROFILE='G:\ProgramData' APPDATA='G:\Users\Thomas\AppData\Roaming' APR_ICONV_PATH=/c/mozilla-build/svn-win32-1.6.3/iconv BASH=/bin/sh BASH_ARGC=() BASH_ARGV=() BASH_LINENO=() BASH_SOURCE=() BASH_VERSINFO=([0]="3" [1]="1" [2]="0" [3]="1" [4]="release" [5]="i686-pc-msys") BASH_VERSION='3.1.0(1)-release' CATALINA_HOME='G:\Tomcat7' COLUMNS=160 COMMONPROGRAMFILES='G:\Program Files (x86)\Common Files' COMMONPROGRAMFILES(X86)='G:\Program Files (x86)\Common Files' COMMONPROGRAMW6432='G:\Program Files\Common Files' COMPUTERNAME=THOMAS-WIN7-64 COMSPEC='G:\Windows\system32\cmd.exe' CVS_RSH=ssh DEVENVDIR='G:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\' DIRSTACK=() EDITOR=emacs.exe EUID=500 EXTENSIONSDKDIR='G:\Program Files (x86)\Microsoft SDKs\Windows\v8.0\ExtensionSDKs' FP_NO_HOST_CHECK=NO FRAMEWORK35VERSION=v3.5 FRAMEWORKDIR='G:\Windows\Microsoft.NET\Framework\' FRAMEWORKDIR32='G:\Windows\Microsoft.NET\Framework\' FRAMEWORKVERSION=v4.0.30319 FRAMEWORKVERSION32=v4.0.30319 FSHARPINSTALLDIR='G:\Program Files (x86)\Microsoft SDKs\F#\3.0\Framework\v4.0\' GIT_SSH='G:\Program Files (x86)\TortoiseSVN\bin\TortoisePlink.exe' GROUPS=() HISTFILE=/home/Thomas/.bash_history HISTFILESIZE=500 HISTSIZE=500 HOME=/g/Users/Thomas HOMEDRIVE=G: HOMEPATH='\' HOSTNAME=THOMAS-WIN7-64 HOSTTYPE=i686 IFS=$' \t\n' INCLUDE='G:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\INCLUDE;G:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\ATLMFC\INCLUDE;G:\Program Files (x86)\Windows Kits\8.0\include\shared;G:\Program Files (x86)\Windows Kits\8.0\include\um;G:\Program Files (x86)\Windows Kits\8.0\include\winrt;' INPUTRC=/etc/inputrc JAVA_HOME='G:\Program Files (x86)\Java\jdk1.6.0_26' LIB='G:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\LIB;G:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\ATLMFC\LIB;G:\Program Files (x86)\Windows Kits\8.0\lib\win8\um\x86;' LIBPATH='G:\Windows\Microsoft.NET\Framework\v4.0.30319;G:\Windows\Microsoft.NET\Framework\v3.5;G:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\LIB;G:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\ATLMFC\LIB;G:\Program Files (x86)\Windows Kits\8.0\References\CommonConfiguration\Neutral;G:\Program Files (x86)\Microsoft SDKs\Windows\v8.0\ExtensionSDKs\Microsoft.VCLibs\11.0\References\CommonConfiguration\neutral;G:\Windows\Microsoft.NET\Framework\v4.0.30319;G:\Windows\Microsoft.NET\Framework\v3.5;G:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\LIB;G:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\ATLMFC\LIB;G:\Program Files (x86)\Windows Kits\8.0\References\CommonConfiguration\Neutral;G:\Program Files (x86)\Microsoft SDKs\Windows\v8.0\ExtensionSDKs\Microsoft.VCLibs\11.0\References\CommonConfiguration\neutral;' LINES=82 MACHTYPE=i686-pc-msys MAILCHECK=60 MAKE_MODE=unix MOZBUILDDIR='C:\mozilla-build\' MOZILLABUILD='C:\mozilla-build\' MOZ_MAXWINSDK=999999 MOZ_MSVCVERSION=11 MOZ_TOOLS='C:\mozilla-build\moztools' MPCONFIG_PRODUCTAPPDATAPATH='G:\ProgramData\Microsoft\Windows Defender' MPCONFIG_PRODUCTCODENAME=AntiSpyware MPCONFIG_PRODUCTPATH='G:\Program Files (x86)\Windows Defender' MPCONFIG_PRODUCTUSERAPPDATAPATH='G:\Users\Thomas\AppData\Local\Microsoft\Windows Defender' MPCONFIG_REPORTINGGUID=43B0129D-2A43-4FBF-86F8-F0DA41B77AC9 MSVC10EXPRESSKEY='HKLM\SOFTWARE\Wow6432Node\Microsoft\VCExpress\10.0\Setup\VC' MSVC10KEY='HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\Setup\VC' MSVC11EXPRESSKEY='HKLM\SOFTWARE\Wow6432Node\Microsoft\VCExpress\11.0\Setup\VC' MSVC11KEY='HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\11.0\Setup\VC' MSVC71KEY='HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\7.1\Setup\VC' MSVC8EXPRESSKEY='HKLM\SOFTWARE\Wow6432Node\Microsoft\VCExpress\8.0\Setup\VC' MSVC8KEY='HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\8.0\Setup\VC' MSVC9EXPRESSKEY='HKLM\SOFTWARE\Wow6432Node\Microsoft\VCExpress\9.0\Setup\VC' MSVC9KEY='HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\9.0\Setup\VC' MSVCEXPROOTKEY='HKLM\SOFTWARE\Wow6432Node\Microsoft\VCExpress' MSVCROOTKEY='HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio' MSYSTEM=MINGW32 MSYS_MOZBUILD=/c/mozilla-build NUMBER_OF_PROCESSORS=2 OLDPWD=/D OPENSSL_CONF='G:\OpenSSL-Win64\bin\openssl.cfg' OPTERR=1 OPTIND=1 OS=Windows_NT OSTYPE=msys PATH='/local/bin:/c/mozilla-build/wget:/c/mozilla-build/7zip:/c/mozilla-build/blat261/full:/c/mozilla-build/python:/c/mozilla-build/svn-win32-1.6.3/bin:/c/mozilla-build/upx203w:/c/mozilla-build/emacs-22.3/bin:/c/mozilla-build/info-zip:/c/mozilla-build/nsis-2.33u:/c/mozilla-build/nsis-2.46u:/c/mozilla-build/wix-351728:/c/mozilla-build/hg:/c/mozilla-build/python/Scripts:/c/mozilla-build/kdiff3:/c/mozilla-build/yasm:.:/usr/local/bin:/mingw/bin:/bin:/g/Program Files (x86)/Microsoft Visual Studio 11.0/Common7/IDE/CommonExtensions/Microsoft/TestWindow:/g/Program Files (x86)/Microsoft SDKs/F#/3.0/Framework/v4.0/:/g/Program Files (x86)/Microsoft Visual Studio 11.0/VSTSDB/Deploy:/g/Program Files (x86)/Microsoft Visual Studio 11.0/Common7/IDE/:/g/Program Files (x86)/Microsoft Visual Studio 11.0/VC/BIN:/g/Program Files (x86)/Microsoft Visual Studio 11.0/Common7/Tools:/g/Windows/Microsoft.NET/Framework/v4.0.30319:/g/Windows/Microsoft.NET/Framework/v3.5:/g/Program Files (x86)/Microsoft Visual Studio 11.0/VC/VCPackages:/g/Program Files (x86)/HTML Help Workshop:/g/Program Files (x86)/HTML Help Workshop:/g/Program Files (x86)/Microsoft Visual Studio 11.0/Team Tools/Performance Tools:/g/Program Files (x86)/Windows Kits/8.0/bin/x86:/g/Program Files (x86)/Microsoft SDKs/Windows/v8.0A/bin/NETFX 4.0 Tools:/g/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/:/g/Windows/System32:/g/Windows:/g/Windows/System32/Wbem:/c/mozilla-build/moztools/bin:/c/mozilla-build/vim/vim72' PATHEXT='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' PHPCLI='G:\xampp\php\php.exe' PIPESTATUS=([0]="0") PPID=1 PROCESSOR_ARCHITECTURE=x86 PROCESSOR_ARCHITEW6432=AMD64 PROCESSOR_IDENTIFIER='AMD64 Family 15 Model 43 Stepping 1, AuthenticAMD' PROCESSOR_LEVEL=15 PROCESSOR_REVISION=2b01 PROGRAMDATA='G:\ProgramData' PROGRAMFILES='G:\Program Files (x86)' PROGRAMFILES(X86)='G:\Program Files (x86)' PROGRAMW6432='G:\Program Files' PROMPT='$P$G' PS1=$'\\[\\033]0;$MSYSTEM:\\w\\007\n\\033[32m\\]\\u@\\h \\[\\033[33m\\w\\033[0m\\]\n$ ' PS2='> ' PS4='+ ' PWD=/D/Projekte/mozilla-release SDK2003SP1KEY='HKLM\SOFTWARE\Microsoft\MicrosoftSDK\InstalledSDKs\8F9E5EF3-A9A5-491B-A889-C58EFFECE8B3' SDK2003SP2KEY='HKLM\SOFTWARE\Microsoft\MicrosoftSDK\InstalledSDKs\D2FF9F89-8AA2-4373-8A31-C838BF4DBBE1' SDK61KEY='HKLM\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v6.1' SDK6AKEY='HKLM\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v6.0A' SDK6KEY='HKLM\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v6.0' SDK71KEY='HKLM\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.1' SDK7AKEY='HKLM\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A' SDK7KEY='HKLM\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0' SDK80KEY='HKLM\SOFTWARE\Microsoft\Windows Kits\Installed Roots' SDKDIR='G:\Program Files (x86)\Windows Kits\8.0\' SDKMINORVER=0 SDKROOTKEY='HKLM\SOFTWARE\Microsoft\MicrosoftSDK\InstalledSDKs' SDKVER=8 SHELL=/bin/sh SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor SHLVL=1 SYSTEMDRIVE=G: SYSTEMROOT='G:\Windows' TEMP=/tmp TEMPVC10DIR='g:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\' TERM=cygwin TMP=/tmp UID=500 VC10DIR='g:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\' VC11DIR='G:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\' VCINSTALLDIR='G:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\' VS100COMNTOOLS='g:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\' VS110COMNTOOLS='G:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\' VSINSTALLDIR='G:\Program Files (x86)\Microsoft Visual Studio 11.0\' WIN64=1 WINCURVERKEY='HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion' WINDIR='G:\Windows' WINDOWSSDKDIR='G:\Program Files (x86)\Windows Kits\8.0\' WINDOWSSDKDIR_35='G:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\' WINDOWSSDKDIR_OLD='G:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\' WIX_351728_PATH=/c/mozilla-build/wix-351728 __COMPAT_LAYER=RunAsAdmin
(In reply to t.kluge from comment #12) > I have the same problem: > > configure: error: Couldn't find the DirectX SDK, needed for WebGL. Either > install it (June 2010 version or newer), or reconfigure with --disable-webgl. You still need to install the June 2010 DirectX SDK, we have DirectX 9 dependencies that are not available in the 8.0 sdk.
Thanks Jim, that worked!
You need to log in before you can comment on or make changes to this bug.