description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||
---|---|---|---|---|---|---|---|
Learn more about: Linker Tools Warning LNK4099 |
Linker Tools Warning LNK4099 |
11/04/2016 |
|
|
358170a4-07cd-43fe-918f-82c32757ffc5 |
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:
-
Extract an object file from the library with lib /extract:
objectname
.objxyz
.lib. -
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.