Monday, 5 October 2009

Problems building Firefox with Visual Studio 2005 and Windows 7 SDK

When I tried to update my 1.9.2 tree this morning on my Windows box I quickly discovered that Ben Hearsum had recently updated our build system to require the Windows 7 SDK. However once I installed the new SDK and tried to build (using Visual Studio 2005's compiler), I got the following error:

shell32.lib(shguid.obj) : fatal error LNK1103: debugging information corrupt; recompile module.

This is a compatibility issue between Visual Studio 2008 and Visual Studio 2005 which only occurs when you compile in debug mode. There's a hotifx to resolve this issue. Once I installed this, I could magically build again. Thanks to biesi for pointing out the hotfix!

1 comment:

  1. Thanks! I've updated https://developer.mozilla.org/En/Windows_SDK_versions#Visual_C.2b.2b_8_%28VS2005%29.c2.a0Professional to include this information.

    ReplyDelete