Closed Bug 949483 Opened 11 years ago Closed 10 years ago

Build fails on gkmedias.dll when using 8.1 SDK

Categories

(Firefox Build System :: MozillaBuild, task)

x86
Windows 8.1
task
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 924657

People

(Reporter: mikedeboer, Assigned: emk)

Details

Attachments

(1 file)

Please see this pastebin entry: https://pastebin.mozilla.org/3762144

Ehsan, I CC'd you as I see a whole bunch of unified sources entries. I don't know if that's related, but I thought it best to get you in the loop anyway.

This issue is currently blocking me from doing work on my Windows 8.1 box. I *could* downgrade back to Windows 8.0, but I'd have to figure out how and I don't know for sure that that'll fix my problem.

My build env:

"Mozilla tools directory: C:\mozilla-build\"
Visual C++ 9 Express directory: C:\Program Files (x86)\Microsoft Visual Studio 9
.0\VC\
Visual C++ 10 directory: C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\

Windows SDK directory: C:\Program Files (x86)\Windows Kits\8.1\
Windows SDK version: 8.1
Setting environment for using Microsoft Visual Studio 2010 x86 tools.
Using the Windows 8.0 Developer Kit
Mozilla build environment: MSVC version 10.

I tried with both pymake and mozmake; same difference.
Summary: Build fails on on gkmedias.dll → Build fails on gkmedias.dll
In my .mozconfig I have:

ac_add_options --disable-installer

That's all. `mach configure` finishes without a hiccup.
This is likely due to spaces in the path to the direct x sdk.
Yes, and that is not related to unified builds.
I tried installing the DirectX SDK to 'C:\DirectX', which didn't fix it. :(
Do I need to put the Windows SDK in a directory without spaces?
The following fixes this issue for me:

  * Remove the Windows 8.1 SDK I installed myself. (tried a build after this, but it failed again.)
  * Remove the Windows 8.0 SDK I installed myself.

At this point, no additional SDKs were present on the system. I clobbered & built m-c... it finished!
The build even worked.

This is all fine and dandy, but currently I can not compile metro fx. Not that I'm planning to, but still...
Follow-up: re-installing the 8.1 SDK, to a directory that does not contain spaces, makes the build fail again.

This *might* be a mozilla-build issue, because it's determined in telling me that it's "Using the Windows 8.0 Developer Kit", instead of 8.1.

So, for now, I think we should advice devs to not use the 8.1 SDK.
Summary: Build fails on gkmedias.dll → Build fails on gkmedias.dll when using 8.1 SDK
I also encountered this issue.
Note: VS2013 works.
59:40.71    ライブラリ gkmedias.lib とオブジェクト gkmedias.exp を作成中
59:40.71
59:40.71 RadialGradientEffectD2D1.obj : error LNK2001: 外部シンボル "_IID_ID2D1TransformNode" は未解決です。
59:40.71
59:40.71 RadialGradientEffectD2D1.obj : error LNK2001: 外部シンボル "_IID_ID2D1Transform" は未解決です。
59:40.71
59:40.71 RadialGradientEffectD2D1.obj : error LNK2001: 外部シンボル "_IID_ID2D1DrawTransform" は未解決です。
59:40.71
59:40.73 RadialGradientEffectD2D1.obj : error LNK2001: 外部シンボル "_IID_ID2D1EffectImpl" は未解決です。
59:40.73
59:40.73 gkmedias.dll : fatal error LNK1120: 外部参照 4 が未解決です。
Setting MOZ_MAXWINSDK works. I think it should be added to start-msvc10.bat unless the underlying problem is fixed.
Component: Build Config → MozillaBuild
Product: Core → mozilla.org
Version: Trunk → other
Attachment #8375836 - Flags: review?(ted) → review+
Assignee: nobody → VYV03354
Status: NEW → ASSIGNED
https://hg.mozilla.org/mozilla-build/rev/13b5475a9dd3
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Backed out since this bug was dupe of bug 924657.
https://hg.mozilla.org/mozilla-build/rev/c6467962d52a
I encountered the bug using MozillaBuild 1.8.0. Sorry for the confusion.
Resolution: FIXED → DUPLICATE
Product: mozilla.org → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: