You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xerces.apache.org by Schnulla <ma...@cs.tu-berlin.de> on 2009/10/05 16:30:36 UTC

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.


RE: PDB vc80.pdb was not found

Posted by John Lilley <jl...@datalever.com>.
C7 compatible debug does not have as much information as PDB and cannot be used by many third-party tools.  Without the source, such debug information is of little use anyway.  My advice is to ignore the warnings or get the source code.

john


-----Original Message-----
From: Schnulla [mailto:magnusch@cs.tu-berlin.de] 
Sent: Monday, October 05, 2009 11:35 AM
To: c-users@xerces.apache.org
Subject: RE: PDB vc80.pdb was not found


Mhm so I have to compile xerces myself.

Just one last question: Why not setting the binary distribution
to compile the static library with debugging information using
C7 compatible debug (/Z7). So that the debugging info is placed
inside the .lib files. It saves the hassle of locating the program
database (*.pdb).



John Lilley wrote:
> 
> 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
> 

-- 
View this message in context: http://www.nabble.com/PDB-vc80.pdb-was-not-found-tp25751884p25754740.html
Sent from the Xerces - C - Users mailing list archive at Nabble.com.


RE: PDB vc80.pdb was not found

Posted by Schnulla <ma...@cs.tu-berlin.de>.
Mhm so I have to compile xerces myself.

Just one last question: Why not setting the binary distribution
to compile the static library with debugging information using
C7 compatible debug (/Z7). So that the debugging info is placed
inside the .lib files. It saves the hassle of locating the program
database (*.pdb).



John Lilley wrote:
> 
> 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
> 

-- 
View this message in context: http://www.nabble.com/PDB-vc80.pdb-was-not-found-tp25751884p25754740.html
Sent from the Xerces - C - Users mailing list archive at Nabble.com.


RE: PDB vc80.pdb was not found

Posted by John Lilley <jl...@datalever.com>.
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:magnusch@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.