Overview
Features
Download
Documentation
Community
Add-Ons & Services

Visual .pdb file names for debug static libs

General discussion regarding the development of POCO for contributors.

Visual .pdb file names for debug static libs

Postby gregoire » 24 Jan 2011, 15:20

For dll, it is fine, there is a "vc90.pdb" files in the "obj" directory and a "PocoFoundation.pdb" in the "bin" directory:

- The first one is set in the "C++/Output Files" part of the project properties.
- The second one is set in the "Linker/Debugging" part of the project properties.

For static lib, there is no "Linker" properties in the project configuration.
So I only get the "vc90.pdb" files which I cannot deploy along with the poco static libs since they all have the same name.
If I do not deploy them I get many "pdb file missing" warning from visual when linking to poco static libs.

To fix that I change the output file name in "C++/Output Files" for static lib projects:
ProgramDataBaseFileName: $(TargetDir)\$(TargetName).pdb


Is this the right way to do ?
gregoire
 
Posts: 30
Joined: 27 Jan 2009, 19:23
Location: Grenoble, France

Re: Visual .pdb file names for debug static libs

Postby kodempsey » 23 Jun 2011, 06:01

Hi,

Was there any resolution on this?

If this is the correct solution to this problem, will this change be made to all of the static configurations of the visual studio projects?

Regards,

Kristian
kodempsey
 
Posts: 1
Joined: 23 Jun 2011, 05:46

Re: Visual .pdb file names for debug static libs

Postby gregoire » 20 Oct 2011, 08:55

Apparently changes have been made. Now I get correctly named pdb files (vs90 and and vs100) with 1.4.2p1.
Thanks.
gregoire
 
Posts: 30
Joined: 27 Jan 2009, 19:23
Location: Grenoble, France


Return to Contributors

Who is online

Users browsing this forum: No registered users and 1 guest