Message: Re: Dump while compiling detectorconstruction.cc Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Dump while compiling detectorconstruction.cc 

Forum: Geometry
Re: Question Dump while compiling detectorconstruction.cc (Linxi Shi)
Date: 21 Apr, 2011
From: Linxi Shi <Linxi Shi>

I see there is a syntax error of "G4_CsI(0)," where coma should be wiped. But after I changed this, still I had the long list of initialization error like

e:/Geant4/geant4_9_3_p01/source/global/HEPGeometry/include\geomdefs.hh(43) : err
or C2146: syntax error : missing ';' before identifier 'kInfinity'
e:/Geant4/geant4_9_3_p01/source/global/HEPGeometry/include\geomdefs.hh(43) : err
or C2734: 'G4double' : const object must be initialized if not extern
e:/Geant4/geant4_9_3_p01/source/global/HEPGeometry/include\geomdefs.hh(43) : err
or C2377: 'G4double' : redefinition; typedef cannot be overloaded with any other
 symbol
        e:/Geant4/geant4_9_3_p01/source/global/management/include\G4Types.hh(65)
 : see declaration of 'G4double'
e:/Geant4/geant4_9_3_p01/source/global/HEPGeometry/include\geomdefs.hh(43) : err
or C2512: 'BCTdetectorMessenger' : no appropriate default constructor available
e:/Geant4/geant4_9_3_p01/source/global/HEPGeometry/include\geomdefs.hh(43) : err
or C4430: missing type specifier - int assumed. Note: C++ does not support defau
lt-int
e:/Geant4/geant4_9_3_p01/source/geometry/management/include\G4VSolid.hh(110) : e
rror C2146: syntax error : missing ';' before identifier 'GetTolerance'
e:/Geant4/geant4_9_3_p01/source/geometry/management/include\G4VSolid.hh(110) : e
rror C2433: 'G4VSolid::G4double' : 'inline' not permitted on data declarations
e:/Geant4/geant4_9_3_p01/source/geometry/management/include\G4VSolid.hh(110) : e
rror C4430: missing type specifier - int assumed. Note: C++ does not support def
ault-int
e:/Geant4/geant4_9_3_p01/source/geometry/management/include\G4VSolid.hh(110) : e
rror C4430: missing type specifier - int assumed. Note: C++ does not support def
ault-int
e:/Geant4/geant4_9_3_p01/source/geometry/management/include\G4VSolid.hh(110) : w
arning C4183: 'GetTolerance': missing return type; assumed to be a member functi
on returning 'int'
e:/Geant4/geant4_9_3_p01/source/geometry/management/include\G4VSolid.hh(116) : e
rror C2061: syntax error : identifier 'G4double'
e:/Geant4/geant4_9_3_p01/source/geometry/management/include\G4VSolid.hh(130) : e
rror C2146: syntax error : missing ';' before identifier 'DistanceToIn'
e:/Geant4/geant4_9_3_p01/source/geometry/management/include\G4VSolid.hh(130) : e
....

is any one familiar with such errors? It runs well without detectormessenger class. This problem come out when I add it.

Thanks for your time! Linxi

 Add Message Add Message
to: "Re: Dump while compiling detectorconstruction.cc"

 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 ]