LNK1318: Unexpected PDB error; OK (0)

后端 未结 9 1779
借酒劲吻你
借酒劲吻你 2021-02-12 14:30

I\'m trying to link against a library (libcef_wrapper_dll.lib) that was built with the /MDd flag. My application is build with /MDd and /CLR so should be compatible. The proje

相关标签:
9条回答
  • 2021-02-12 15:28

    I got the build error as follow also: LINK : fatal error LNK1318: Unexpected PDB error;

    There are severa URL talked about this, but it seeems no completed solutions. Someone said mspdbsrv.exe is the trouble maker. After I clean the incremental build result and make a real clean build, it works well.

    http://connect.microsoft.com/VisualStudio/feedback/details/296978/link-fatal-error-lnk1318-unexpected-pdb-error-unknown-24

    http://social.msdn.microsoft.com/Forums/en-US/vclanguage/thread/9e58b7d1-a47d-4a76-943a-4f35090616e8

    0 讨论(0)
  • 2021-02-12 15:29

    I've seen LNK1318: Unexpected PDB error; UNKNOWN (24) when linking.

    It happened when I had more than two links of large outputs happening at once - mspdbsrc.exe used more and more memory, hit 2gig or so, then crashed.

    0 讨论(0)
  • 2021-02-12 15:33

    Turned out that I needed to delete all of the project temp files inc. caches etc., kill the debug symbol server and restart windows.

    0 讨论(0)
提交回复
热议问题