Tuesday 6 July 2010

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

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

Argh, what's going on?! There's surely nothing wrong with the debugging info in dxguid.lib. So what's the real problem?

Well it's a known backward compatibility with the Windows SDK. Using the Windows 7 SDK with Visual Studio 2005 can cause problems if linking with libs created with Visual Studio 2008.

So.. either migrate to VS2008, or install the microsoft hotfix http://support.microsoft.com/kb/949009/

..and you are back in action!!


5 comments:

  1. Thanks for the hotfix link, you just saved me a bunch of time and anger. BTW this is under windows XP as well. I think it is any supported Windows that is running visual studio 2005 sp1 and trying to link against a library that was compiled with visual studio 2008.

    ReplyDelete
  2. Glad to be of some use!
    I was also running Windows XP by the way, should have mentioned that initially.

    ReplyDelete
  3. Thanks a lot for this for the same reasons Mark said! Worked like a charm.

    ReplyDelete
  4. Good find! I was using an old version of the DirectX SDK to get around the issue. Now I can use the latest. Yay!

    ReplyDelete
  5. So.. either migrate to VS2008, or install the microsoft hotfix http://support.microsoft.com/kb/949009/

    Above Said Link does not have any FIX, please some 1 post the fix if you have any old copies or any other links that serves this old HOTFIX.

    ReplyDelete