Message: compilation error for G4 volumes, Geant4.10 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question compilation error for G4 volumes, Geant4.10 

Forum: Installation and Configuration
Date: 15 Jan, 2014
From: Katalin Nikolics <Katalin Nikolics>

Hi,

when compiling my code on a difference platform (now with Geant4-10.00), I get all sorts of error messages for G4 files for volumes (tube, sphere etc - see below). Any idea why that is? The code compiled without errors on a different version of Linux under Geant4.9.6

cheers, Kati

In file included from /cluster/home02/phys/nkatalin/geant4.10.0-install/include/Geant4/G4Tubs.hh:234,
                 from src/ArDM_DetectorConstruction.cc:15:
/cluster/home02/phys/nkatalin/geant4.10.0-install/include/Geant4/G4Tubs.icc: In member function ‘void G4Tubs::CheckSPhiAngle(G4double)’:
/cluster/home02/phys/nkatalin/geant4.10.0-install/include/Geant4/G4Tubs.icc:98: error: expected unqualified-id before numeric constant
/cluster/home02/phys/nkatalin/geant4.10.0-install/include/Geant4/G4Tubs.icc:98: error: expected ‘;’ before numeric constant
/cluster/home02/phys/nkatalin/geant4.10.0-install/include/Geant4/G4Tubs.icc:102: error: expected unqualified-id before numeric constant
/cluster/home02/phys/nkatalin/geant4.10.0-install/include/Geant4/G4Tubs.icc:104: error: expected unqualified-id before numeric constant
/cluster/home02/phys/nkatalin/geant4.10.0-install/include/Geant4/G4Tubs.icc:104: error: expected ‘)’ before numeric constant
/cluster/home02/phys/nkatalin/geant4.10.0-install/include/Geant4/G4Tubs.icc:106: error: expected unqualified-id before numeric constant
/cluster/home02/phys/nkatalin/geant4.10.0-install/include/Geant4/G4Tubs.icc:106: error: expected ‘;’ before numeric constant
/cluster/home02/phys/nkatalin/geant4.10.0-install/include/Geant4/G4Tubs.icc: In member function ‘void G4Tubs::CheckDPhiAngle(G4double)’:
/cluster/home02/phys/nkatalin/geant4.10.0-install/include/Geant4/G4Tubs.icc:113: error: expected unqualified-id before numeric constant
/cluster/home02/phys/nkatalin/geant4.10.0-install/include/Geant4/G4Tubs.icc:113: error: expected ‘)’ before numeric constant
/cluster/home02/phys/nkatalin/geant4.10.0-install/include/Geant4/G4Tubs.icc:115: error: expected unqualified-id before numeric constant
/cluster/home02/phys/nkatalin/geant4.10.0-install/include/Geant4/G4Tubs.icc:115: error: expected ‘;’ before numeric constant
/cluster/home02/phys/nkatalin/geant4.10.0-install/include/Geant4/G4Tubs.icc: In member function ‘void G4Tubs::CheckPhiAngles(G4double, G4double)’:
/cluster/home02/phys/nkatalin/geant4.10.0-install/include/Geant4/G4Tubs.icc:140: error: expected unqualified-id before numeric constant
/cluster/home02/phys/nkatalin/geant4.10.0-install/include/Geant4/G4Tubs.icc:140: error: expected ‘)’ before numeric constant
/cluster/home02/phys/nkatalin/geant4.10.0-install/include/Geant4/G4Tubs.icc:141: error: expected ‘)’ before ‘InitializeTrigonometry’
/cluster/home02/phys/nkatalin/geant4.10.0-install/include/Geant4/G4Tubs.icc:141: warning: suggest braces around empty body in an ‘if’ statement
/cluster/home02/phys/nkatalin/geant4.10.0-install/include/Geant4/G4Tubs.icc: At global scope:
/cluster/home02/phys/nkatalin/geant4.10.0-install/include/Geant4/G4Tubs.icc:137: warning: unused parameter ‘sPhi’

(and similar for G4Cons.hh and G4Sphere.hh)

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Note: Re: compilation error for G4 volumes, Geant4.10   (Katalin Nikolics - 15 Jan, 2014)
2 None: Re: compilation error for G4 volumes, Geant4.10   (Katalin Nikolics - 15 Jan, 2014)
 Add Message Add Message
to: "compilation error for G4 volumes, Geant4.10"

 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 ]