In the include/G4PiMinusStopMaterial.hh , line 77: G4double _R; - some variable, but _R already #define'd somewhere to 0x000400000L . It's cause a compilation problem :) Following ugly patch works, but authors can fix this more correctly... *** G4PiMinusStopMaterial.hh.org Sun Jan 30 19:30:59 2000 --- G4PiMinusStopMaterial.hh Sun Jan 30 20:03:33 2000 *************** *** 74,79 **** --- 74,82 ---- G4RWTPtrOrderedVector<G4LorentzVector>* _momenta; G4DistributionGenerator* _distributionE; G4DistributionGenerator* _distributionAngle; + #ifdef _R + #undef _R + #endif G4double _R; G4double GenerateAngle(G4double range);
Could you be more precise about operating system and compiler, please? Also, your environment (G4SYSTEM, etc.)?
Fix committed to cvs.