I have a set of 3rd party .LIB file that I am working with and when I compile the project I get a lot of LNK4099 errors. Now I know I can suppress these by using an appropriate linker option, but I was wondering if it is possible to extract/generate the .PDB files from these Libraries.
Asked
Active
Viewed 752 times
0
-
1Generating debug symbols without complete source code does not seem to be realistic. – user7860670 Oct 18 '17 at 09:08
-
@VTT I had a feeling this was the case but I thought I would check. – SpaceUser7448 Oct 18 '17 at 11:34
1 Answers
1
The PDB (Symbols) File is linked to the Source Code and it is generate at Linker Time. If you need the PDB from some Lib you need ask for it to the provider otherwise you couldn't generate it.
Check this link:
https://msdn.microsoft.com/en-us/library/ms241613.aspx
The problem with LNK4099 refer that compiler doesn't find the PDB file. You can disable it from the project settings, check these links to see how to handled it:
How to remove warning LNK4099: PDB 'lib.pdb' was not found
How to deal with 3rd party c++ libraries LNK4099 Warning in VisualStudio

Jorge Omar Medra
- 978
- 1
- 9
- 19