Hello all,
I tried to compile VMC (geant4_vmc) and got the following errors:
gmake[1]: Entering directory /home/cbm/sim/geant4_vmc/convertors' src/TG4AGDDConvertor.cxx src/TG4AGDDGeometryGenerator.cxx src/TG4GDMLConvertor.cxx src/TG4GDMLGeometryGenerator.cxx src/TG4Polycone.cxx src/TG4Polyhedra.cxx src/TG4VXMLConvertor.cxx src/TG4VXMLGeometryGenerator.cxx src/TG4XMLMessenger.cxx src/TG4XMLUnits.cxx Generating /home/cbm/sim/geant4_vmc/convertors/g4toxml/../../lib/tgt_linux/libg4 toxml.so src/TG4MaterialConvertor.cxx src/TG4RootGeometryConvertor.cxx src/TG4RootGeometryConvertor.cxx:29:34: G4PVDivisionFactory.hh: No such file or directory src/TG4RootGeometryConvertor.cxx: In member function
void
TG4RootGeometryConvertor::CreateDivision(const TGeoVolume*,
G4LogicalVolume*)’:
src/TG4RootGeometryConvertor.cxx:359: error: G4PVDivisionFactory' undeclared (first use this function) src/TG4RootGeometryConvertor.cxx:359: error: (Each undeclared identifier is reported only once for each function it appears in.) src/TG4RootGeometryConvertor.cxx:359: error: syntax error before
::’ token
src/TG4RootGeometryConvertor.cxx:362: error: Divide' undeclared (first use this function) gmake[2]: *** [/home/cbm/sim/geant4_vmc/convertors/roottog4/../../tmp/tgt_linux/ roottog4/src/TG4RootGeometryConvertor.o] Error 1 gmake[1]: *** [default] Error 2 gmake[1]: Leaving directory
/home/cbm/sim/geant4_vmc/convertors’
gmake: *** [convertors] Error 2
VMC source was taken from CVS (cvs HEAD version). Here is my configuration:
Fedora Core 2
CLHEP 1.8.1.0
GEANT 4.6.1
ROOT 4.00/08
GEANT and CLHEP are compiled according to VMC requirements and work fine. All environment variables are set.
Maybe somebody knows how to solve this problem ?
Many thanks in advance,
Sergey