Jump to content

VS linker errors


Rick
 Share

Recommended Posts

Why do I get hundreds of linker errors when building in debug:

 

 

1>Leadwerks.lib(Emitter.obj) : warning LNK4099: PDB 'vc100.pdb' was not found with 'Leadwerks.lib(Emitter.obj)' or at 'E:\GameProjects\Crawler\vc100.pdb'; linking object as if no debug info

 

 

Is ignoring this warning number the only way to remove this warning or is there some other setting in VS for this?

Link to comment
Share on other sites

Getting the same here.

 

From S/O: http://stackoverflow...-not-found-with

 

Josh didn't include the PDB (program database) file that VS compiles when in debug alongside the lib files.

 

Usually, you could just disable the warning through /wd4099 in the compiler or /ignore:4099 in the linker. However, Microsoft has made it un-ignorable by design, which is so frequent and annoying that this happens:

 

jsqhyro.png

 

The only solution that actually exists on your end is to patch your linker. You heard that right, go hex edit the link.exe file in your Visual Studio installation. If you don't mind doing that, here's an article that describes how: http://michaelnoland...-was-not-found/

 

(But really, it's a mistake from Leadwerks not to include vc100.pdb. It shouldn't be our burden to fix that warning).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...