Message: Re: 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

None Re: 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)
Re: Question re: problem with xerces-c.lib for xerces-3.1.1 (Alex Leatherland)
Re: Feedback Re: re: problem with xerces-c.lib for xerces-3.1.1 (Gabriele Cosmo)
Date: 10 Jun, 2010
From: Alex Leatherland <Alex Leatherland>

Hi,

As suggested I made a copy of xerces-c_3.lib named xerces-c.lib in the same folder as the original and the program was then able to finish compiling. When I tried to run the example however I received the following error: -

/cygdrive/c/g4work/bin/WIN32-VC/geotest.exe: error while loading shared libraries: MSVCR80.dll: cannot open shared object file: No such file or directory

How is this fixed?

Thank you,

Alex

On Tue, 08 Jun 2010 12:35:05 GMT, Gabriele Cosmo wrote:

> Hi Alex,
> 
> the variable you should set for the path to your XercesC installation is
> XERCESCROOT and not XERCESROOT.
> If libraries are named differently in your installation (because they
> eventually report the version number of the XercesC library), you
> can either define in your environment:
>   GDMLLIBS = "$(XERCESCROOT)/lib xerces-c_3.lib"
> or make a copy or sym-link of xerces-c_3.lib to xerces-c.lib in your
> XercesC installation ...
> 
> Cheers, Gabriele
> 
> ----------------
> On Tue, 08 Jun 2010 09:22:40 GMT, Alex Leatherland wrote:
> > 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 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: 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 ]