Jump to content

VS linker errors

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?

Share this post

Link to post

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:




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).

Share this post

Link to post

I've seen this before in Visual Studio, and it just required a project clean.

Share this post

Link to post

As in "Build > Clean Solution"? That doesn't work.

If you build twice in a row, it won't link the second time, so you won't get the warnings again, but if you rebuild, you will.

Share this post

Link to post

I don;t have le 3 yet, but I intend to buy it. I am not looking forward to visual c+= express however.

Share this post

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

  • Create New...