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

                 Key: XERCESC-1759
                 URL: https://issues.apache.org/jira/browse/XERCESC-1759
             Project: Xerces-C++
          Issue Type: Improvement
          Components: Build
    Affects Versions: 2.8.0
         Environment: Microsoft Windows 32 (XP), Microsoft Visual Studio 2005, 
Microsoft Visual C/C++ 8
            Reporter: Milan Gornik
            Priority: Trivial


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to