Message: re: problem with xerces-c.lib for xerces-3.1.1 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question re: problem with xerces-c.lib for xerces-3.1.1 

Forum: Installation and Configuration
Re: Sad Adding $XERCESCROOT/lib paths to LD_LIBRARY_PATH directory (Richard Gillham Darnley)
Date: 08 Jun, 2010
From: Alex Leatherland <Alex Leatherland>

I'm also having a very similar issue, I've installed the binaries for xerces-3.1.1 for use on windows with VC++ version 8.0 and I get the the following error when I trying to compile a program based on G02 I named GDML: -

>> Using granular libraries
>> Linking GDML
>> LINK : fatal error LNK1181: cannot open input file 'xerces-c.lib'
>> make: *** [c:/g4work/bin/WIN32-VC/GDML] Error 2

The prior stages of compiling the program seem to happen correctly (no errors), the exact same error also occurs for the G02 example straight out of the box (although "GDML" is now "geotest").

The declaration of XERCESROOT has been checked and it points to the correct folder. It is likely in my view that the cause of this is that the library folder in the xerces-3.1.1 distribution does not have a .lib file by that name, the version as available to download for the website end the library file names in "_3.lib" or "_3D.lib" instead of simply ".lib".

Other information: - Geant4 was successfully built with GDML enabled, I am using geant4.9.2.p02 with cygwin and visual c++ 2005 express edition. - A large number of other programs have been built and ran using this build succesfully that don't attempt use GDML.

thank you,

Alex Leatherland

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Feedback: Re: re: problem with xerces-c.lib for xerces-3.1.1   (Gabriele Cosmo - 08 Jun, 2010)
(_ None: Re: re: problem with xerces-c.lib for xerces-3.1.1   (Alex Leatherland - 10 Jun, 2010)
(_ Question: Re: problem with xerces-c.lib for xerces-3.1.1   (Gabriele Cosmo - 10 Jun, 2010)
1 None: Re: problem with xerces-c.lib for xerces-3.1.1   (Alex Leatherland - 10 Jun, 2010)
1 More: Re: problem with xerces-c.lib for xerces-3.1.1   (Gabriele Cosmo - 10 Jun, 2010)
... 4 Message(s)
2 None: Re: problem with xerces-c.lib for xerces-3.1.1   (Paul Eugenio - 10 Jun, 2010)
 Add Message Add Message
to: "re: problem with xerces-c.lib for xerces-3.1.1"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]