Linker Tools Warning LNK4099

PDB 'filename' was not found with 'object/library' or at 'path'; linking object as if no debug info

The linker was unable to find your .pdb file. Copy it into the directory that contains object/library.

To find the name of the .pdb file associated with the object file:

  1. Extract an object file from the library with lib /extract:objectname.obj xyz.lib.

  2. Check the path to the .pdb file with dumpbin /section:.debug$T /rawdata objectname.obj.

You could also compile with /Z7, so the pdb doesn't need to be used, or remove the /DEBUG linker option if you do not have .pdb files for the objects you are linking.