In my experience you cannot mix debug and non-debug libraries because they require different versions of the CRT. Don't try to link the release library with the debug build.
vc80.pdb (or vc90.pdb) should be created when you build Xerces. Is that file anywhere to be found in your Xerces build tree? Try rebuilding the Xerces static-debug libraries. If you have a binary distribution, get the source and build it. This is helpful: http://www.nabble.com/static-link-LNK4099-td19180294.html john -----Original Message----- From: Schnulla [mailto:magnu...@cs.tu-berlin.de] Sent: Monday, October 05, 2009 8:31 AM To: c-users@xerces.apache.org Subject: PDB vc80.pdb was not found Hello, when I do a release build of my own project with static linking to xerces-c_static_2.lib everything is fine (0 errors, 0 warnings). But when I do a debug build with static linking to xerces-c_static_2D.lib I get 0 errors but 276 warnings like this one: xerces-c_static_2D.lib(XSDElementNSImpl.obj) : warning LNK4099: PDB 'vc80.pdb' was not found Since I don't have the vc80.pdb files for the xerces lib and don't want to build xerces myself I just tried to link also during the debug build to the non-debug lib xerces-c_static_2.lib. It helps to get rid of the tons of warnings but still I have 1 warning: >LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library How can I get rid of this warning? I'm using Visual Studio 2008. Help is really appreciated! Thank you! -- View this message in context: http://www.nabble.com/PDB-vc80.pdb-was-not-found-tp25751884p25751884.html Sent from the Xerces - C - Users mailing list archive at Nabble.com.