Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-1759

Full library build doesn't generate proper .pdb file for static debug lib

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.8.0
    • 3.1.0
    • Build
    • None
    • Microsoft Windows 32 (XP), Microsoft Visual Studio 2005, Microsoft Visual C/C++ 8

    Description

      I have small build issue, for which I created trivial workaround. Change to VC8 project files may be considered.

      Scenario:
      When library is fully rebuilt, using the procedure given in documentation, .pdb file will not be generated propertly for static debug version of library. In this case, .pdb will be generated using the default settings: it's name will be vc80.pdb and it will be positioned in \obj folder (it will not be installed with library file). Later, when library is used, .pdb file will not be reachable (as it is left behing in this intermediary folder).

      Resolution:
      Load project 'xerces-c-src_2_8_0\Projects\Win32\VC8\xerces-all\xerces-all.sln' into Visual Studio, Right click XercesLib project in xerces-all solution, then select Properties. Make sure that Static Debug configuration is selected. Open ConfigurationProperties, then C/C++ and then Output Files. Set Program Database File to '..\..\..\..\..\Build\Win32\VC8\StaticDebug\xerces-c_static_2D.pdb'. This will compile debugging information in separate .pdb file and put it into release folder. Click Save all to save modified project file.

      Attachments

        Activity

          People

            amassari Alberto Massari
            milan_ns Milan Gornik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: