Message: Installation of GDML-2.10.0 with geant4.9.,3.p02 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Installation of GDML-2.10.0 with geant4.9.,3.p02 

Forum: Installation and Configuration
Date: 03 Nov, 2014
From: Richard Gillham Darnley <Richard Gillham Darnley>

Hi,

I am using the geant4 Virtual Machine from the IN2P3 institute which comes with geant4.9.3.p02 prebuilt along with xerces-c-3.1.

When trying to compile GDML-2.10.0 I get the following error messages:

Compiling SAX2EventGun.cpp /usr/local/GDML_2_10_0/CPPGDML/Common/Saxana/src/SAX2EventGun.cpp: In member function ‘virtual void SAX2EventGun::startElement(const XMLCh*, const XMLCh*, const XMLCh*, const xercesc_3_1::Attributes&)’: /usr/local/GDML_2_10_0/CPPGDML/Common/Saxana/src/SAX2EventGun.cpp:206: error: invalid use of undefined type ‘const struct xercesc_3_1::Attributes’ /usr/local/XercesC/include/xercesc/sax2/ContentHandler.hpp:29: error: forward declaration of ‘const struct xercesc_3_1::Attributes’ /usr/local/GDML_2_10_0/CPPGDML/Common/Saxana/src/SAX2EventGun.cpp:208: error: invalid use of undefined type ‘const struct xercesc_3_1::Attributes’ /usr/local/XercesC/include/xercesc/sax2/ContentHandler.hpp:29: error: forward declaration of ‘const struct xercesc_3_1::Attributes’ /usr/local/GDML_2_10_0/CPPGDML/Common/Saxana/src/SAX2EventGun.cpp:209: error: invalid use of undefined type ‘const struct xercesc_3_1::Attributes’ /usr/local/XercesC/include/xercesc/sax2/ContentHandler.hpp:29: error: forward declaration of ‘const struct xercesc_3_1::Attributes’ /usr/local/GDML_2_10_0/CPPGDML/Common/Saxana/src/SAX2EventGun.cpp:210: error: invalid use of undefined type ‘const struct xercesc_3_1::Attributes’ /usr/local/XercesC/include/xercesc/sax2/ContentHandler.hpp:29: error: forward declaration of ‘const struct xercesc_3_1::Attributes’ make[1]: *** [/usr/local/GDML_2_10_0/CPPGDML/build/Linux-g++/Common/Saxana/SAX2EventGun.o] Error 1 make[1]: Leaving directory `/usr/local/GDML_2_10_0/CPPGDML/Common/Saxana' make: *** [build_gdml_libs] Error 2

As you can see it doesn't compile SAX2EventGun.cpp. But I am not sure how to continue as I have tried compiling GDML-2.1.0 with exactly same error message. I thought this indicates that maybe I should try changing xerces-c itself to say version 2.8.

Does anyone have any experience with these errors?

Regards,

Richard

 Add Message Add Message
to: "Installation of GDML-2.10.0 with geant4.9.,3.p02"

 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 ]