Hi all,
I'm still having trouble building LCDRoot 3.5. I'm in desperate need of
help here. I've followed the source install instructions to the letter
(as much as possible), and I still have problems.
Here's an example of the errors I get at compile-time:
-------------------------------------------------------------------
g++296 -O2 -pipe -Wall -fPIC -Iinclude -DHAVE_CONFIG -D_REENTRANT
-I/usr/local/root/include -DG4UI_USE_TERMINAL
-I/interfaces/basic/include -DG4UI_USE -I/interfaces/common/include
-DG4UI_USE_TERMINAL -I/interfaces/basic/include -DG4UI_USE
-I/interfaces/common/include \
-I/usr/local/geant4/include -I/usr/local/clhep/include -I/usr/include
-I/usr/local/include/xercesc \
-o G4FullSim/src/LCDG4FullSim.o -c G4FullSim/src/LCDG4FullSim.cxx
In file included from include/LCDXML2G4DetConst.h:21,
from G4FullSim/src/LCDG4FullSim.cxx:22:
include/LCD_Document.h:51: field `myDoc' has incomplete type
include/LCD_Document.h:52: field `docTypeName' has incomplete type
include/LCD_Document.h:53: field `descrip' has incomplete type
include/LCD_Document.h:43: invalid use of undefined type `class
DOMString'
.
.
.
include/LCD_Document.h:44: invalid use of undefined type `class
DOM_Element'
include/LCD_Document.h:18: forward declaration of `class DOM_Element'
gmake: *** [G4FullSim/src/LCDG4FullSim.o] Error 1
--------------------------------------------------------------------
I think these are xml4c version difference errors rather than compiler
errors, since I get similar errors with gcc2.96, gcc2.95.3, and
gcc3.2.2, and also since it compiles without problem if I configure with
--disable-xml4c.
Does anyone have the previous version of xml4c, or know where to get it?
The only version available for download at
http://www.alphaworks.ibm.com/tech/xml4c is version 5.2.0, and it looks
like LCDRoot was written to use xml4c v4.4.0.
Even better, does anyone know how to make this build with the current
version of xml4c?
ANY insights would be greatly appreciated!
Thanks so much!
Jamie Hegarty
[log in to unmask]
|