Knowledgebase:
fatal error LNK1318: Unexpected PDB error; OK (0)
Posted by Omri Zach 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".


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

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
Help Desk Software by Kayako incredibuild.kayako.com