Hi,
whyever I’m not able to create a sphere like follows:
G4Sphere *al_hardening = new G4Sphere("al_cylinder", 10*mm, 10.5*mm, 0, 360, 0, 360);
C:\geant4\sim\construction.cc(88,86): error C2027: use of undefined type 'G4Sphere' [C:\geant4\build\toy_ex.vcxproj]
C:\Program Files\Geant4-11.0\include\Geant4\G4VGraphicsScene.hh(51): message : see declaration of 'G4Sphere' [C:\geant4\build\toy_ex.vcxproj]
Contrary,
G4Box *solidDetector = new G4Box("solidDetector", 0.026*m, 0.0045*m, 0.011*m);
is working so I wonder why
G4Sphere
isn’t?
According to Geant4ProtonTherapy < Main < TWiki it shouldn’t be false… right? Do I have to use a specific file, or so?
Thanks a lot in advance!