Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 1.05 KB

linker-tools-warning-lnk4099.md

File metadata and controls

21 lines (15 loc) · 1.05 KB
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Linker Tools Warning LNK4099
Linker Tools Warning LNK4099
11/04/2016
LNK4099
LNK4099
358170a4-07cd-43fe-918f-82c32757ffc5

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.