Incredibuild Support has moved! Come join us at:

Incredibuild Support

fatal error LNK1318: Unexpected PDB error; OK (0)
Posted by Eyal Ben Ezra on 07 February 2018 01:06 PM

This error may occur in a random manner - usually when building large Solutions.


There are 2 ways solving your LNK1318 error:

  1. Switching to the old PDB method - C7 (/Z7) since this error seems to invoke when the regular "PDB for Edit And Continue" option is enabled.
  2. Switching to 64-bit native compiler. You can enable the 64bit native compiler using Agent Settings -> Visual Studio Builds -> Advanced. Under the "PDB File Allocation" please mark the "Force 64-bit toolset".

(5 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
Full Name:
Help Desk Software by Kayako