Microsoft Platform SDK for Windows XP SP2安装后,release版本运行报错:"LINK : warning LNK4098: defaultlib "MSVCRTD" conflicts with use of other libs; use /NODEFAULTLIB:library
uuid.lib(cguid_i.obj) : fatal error LNK1103: debugging information corrupt; recompile module"我已经修改了setting中的SDK路径. 安ERROR的意思,我应该用"/NODEFAULTLIB:library"修改哪里才能搞定?谢谢!

解决方案 »

  1.   

    工程属性 -》 Linker -》 command Line -》 /NODEFAULTLIB:MSVCRTD
      

  2.   

    楼上两位大佬说的我都没找到,惭愧...后来我在setting->link->input->Ignore lib中加入了MSVCRTD.LIB,使得警告少了一个,还剩下:"uuid.lib(cguid_i.obj) : fatal error LNK1103: debugging information corrupt; recompile module"
      

  3.   

    你新安装的SDK的路径是不是在工程中包含了,
    option -> Projects and solutions -> Vc++ directories -》 Library files
      

  4.   

    Release版本怎么会用msvcrtd.lib呢?应该是msvcrt.lib才对
      

  5.   


    "LINK : warning LNK4098: defaultlib "MSVCRTD" conflicts with use of other libs; use /NODEFAULTLIB:library 
    uuid.lib(cguid_i.obj) : fatal error LNK1103: debugging information corrupt; recompile module" 
    提示的错误是"MSVCRTD"....
      

  6.   

    刚刚查到
    "uuid.lib(unknwn_i.obj) : fatal error LNK1103: debugging information corrupt; recompile moduleThis error is caused by an incompatibility between the XPSP2 platform SDK and VC6.To solve this issue, use February 2003 platform SDK (and not XPSp2 Platform SDK) 
    DX9c October edition with extras (d3dx9.lib etc) (not december edition) This problem can also be solved by renaming the uuid.lib file of the XPSP2 platform SDK to uuid.was_a_lib to disable it.
    "确实可以这样操作,,看来我还得换SDK...