locked
Cannot build solution in VS2005 with Windows 7 SDK RRS feed

  • Question

  • Got the following errors:

    3>uuid.lib(sifmt_i.obj) : fatal error LNK1103: debugging information corrupt; recompile module
    5>UnicoWS.lib(resolve.obj) : fatal error LNK1103: debugging information corrupt; recompile module

    Any ideas ?
    Monday, April 13, 2009 10:18 AM

Answers

  • Hi Pavel,
    The issue you mention is actually a known issue and will be covered in the release notes for the RC release of the Win7 SDK.  Summary is below, including a link to the KB which will patch VS2005 to be compatible with the newer libraries.

    Windows 7 SDK with Visual C++ 2005: Failure to compile in Debug mode.

    If your usage scenario matches the one listed below, you will be unable to debug in the Windows SDK command line build environment or Visual Studio 2005 SP1.

    Symptom: You have an .lib file or an .obj file that exposes C interfaces that was built by using Microsoft Visual C++ 2008 or for Windows 7. You add this file to a project as a link dependency. When you build the project in Microsoft Visual Studio 2005 Service Pack 1 (SP1) to generate an .exe file or a .dll file, you may receive the following link error:

    Fatal error LNK1103: debugging information corrupt

    Cause: This problem occurs because of a compatibility issue between Visual Studio 2005 and Visual Studio 2008 versions. For more information, see the Microsoft Support page for the patch: http://support.microsoft.com/kb/949009/.

    Fix: Install the patch for Visual Studio 2005 SP1 available from: http://support.microsoft.com/kb/949009/.


    Regards,

    Leah McKune
    Windows SDK Program Manager | email: v-leahm@microsoft.com

    • Marked as answer by Pavel S Tuesday, April 14, 2009 7:53 AM
    Monday, April 13, 2009 3:53 PM

All replies

  • Hi Pavel,
    The issue you mention is actually a known issue and will be covered in the release notes for the RC release of the Win7 SDK.  Summary is below, including a link to the KB which will patch VS2005 to be compatible with the newer libraries.

    Windows 7 SDK with Visual C++ 2005: Failure to compile in Debug mode.

    If your usage scenario matches the one listed below, you will be unable to debug in the Windows SDK command line build environment or Visual Studio 2005 SP1.

    Symptom: You have an .lib file or an .obj file that exposes C interfaces that was built by using Microsoft Visual C++ 2008 or for Windows 7. You add this file to a project as a link dependency. When you build the project in Microsoft Visual Studio 2005 Service Pack 1 (SP1) to generate an .exe file or a .dll file, you may receive the following link error:

    Fatal error LNK1103: debugging information corrupt

    Cause: This problem occurs because of a compatibility issue between Visual Studio 2005 and Visual Studio 2008 versions. For more information, see the Microsoft Support page for the patch: http://support.microsoft.com/kb/949009/.

    Fix: Install the patch for Visual Studio 2005 SP1 available from: http://support.microsoft.com/kb/949009/.


    Regards,

    Leah McKune
    Windows SDK Program Manager | email: v-leahm@microsoft.com

    • Marked as answer by Pavel S Tuesday, April 14, 2009 7:53 AM
    Monday, April 13, 2009 3:53 PM
  • unfortunately, the patch is not available. link (https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=18623) on this page causes "Page not found" error
    Thursday, October 22, 2015 2:33 PM