Hi,
I am intending to use the xerces-c parser with GDML to describe geometries for 
a program called Geant4.
My system is WinXP and I am using Cygwin to configure and build Geant4 and its 
applications using Visual Studio 9.0 as the C++ compiler (cygwin's .bat file 
has been modified accordingly to use the correct compiler).
I downloaded the xerces-c-3.1.1 solution and unzipped it to 
c:\xerces_src\xerces-c-3.1.1 and followed the build instructions given for 
"Building on Windows using Microsoft Visual C++".
I added the following library file paths to my PATH system (and user) 
variable:"C:\xerces_src\xerces-c-3.1.1\Build\Win32\VC9;C:\xerces_src\xerces-c-3.1.1\Build\Win32\VC9\Static
 Release"
In cygwin, I configured Geant4 so that it knows where the xerces-c root 
directory is (g4gdml_xerces_root='c:/xerces_src/xerces-c-3.1.1').
However when I build a geant4 application (called mulassis) I consistently get 
the following linking error:"$ makeUsing global libraries...Linking 
mulassisLINK : fatal error LNK1181: cannot open input file 'xerces-c.lib'"
Can anyone help and shed light on this?  I cannot tell whether it is a problem 
with the application/geant4 or my xerces setup.
Did I use the correct install/build instructions?
May it be related to how wchar_t is set?  I am not sure that it is easy to 
check how this variable is set in geant4/applcation.
Also the file name 'xerces-c.lib' does not match the library file names in my 
xerces-c-3.1.1 folder, but where does the name 'xerces-c.lib' get defined??
I am totally stumped, any help will be much appreciated!
Richard                                           
_________________________________________________________________
http://clk.atdmt.com/UKM/go/197222280/direct/01/
Do you have a story that started on Hotmail? Tell us now

Reply via email to