Hi Sue, You are right, the makefiles in geant3 have been changed to follow the new Root convention for plaform names, and the makefile for building examples was not forgotten. We will correct it. However, I cannot reproduce your errors from example gexam1. After correcting the makefile, the example runs ok with both WITHG3/WITHROOT versions of TGeant3 on my side. Best regards, Ivana ============================================================== e-mail: Ivana.Hrivnacova@cern.ch address: Institut Physique Nucleaire, 91406 Orsay, France phone: (33) 01 69 15 65 94 ============================================================== On Sun, 29 Aug 2004, Sue Kasahara wrote: > Hi vmc team, > I'm wondering if you can please update the examples in the > geant3_vmc package to be compatible with the development > version of ROOT. I find that I can't execute them, and I > assume it's because they're out of date. For example, executing > gexam1 results in: > ... > ===> Geometry, default geometry created > Warning in <TGeoMaterial::ctor>: Material AIR$ defined with > fractional Z=7.300000 > Error in <TGeoRotation::SetAngles>: invalid rotation (G3 angles, > th1=0.000000 phi1=0.000000, th2=-0.000000 ph2=0.000000, th3=-0.000000 > phi3=-1.976776) > Error in <TGeoRotation::SetAngles>: invalid rotation (G3 angles, > th1=0.000000 phi1=0.000000, th2=-0.000000 ph2=0.000000, th3=-0.000000 > phi3=-1.976776) > Error in <TGeoRotation::SetAngles>: invalid rotation (G3 angles, > th1=0.000000 phi1=0.000000, th2=-0.000000 ph2=0.000000, th3=-0.000000 > phi3=-1.976776) > Error in <TGeoRotation::SetAngles>: invalid rotation (G3 angles, > th1=0.000000 phi1=0.000000, th2=-0.000000 ph2=0.000000, th3=-0.000000 > phi3=-1.976776) > Error in <TGeoManager::Volume>: cannot create volume: RTUB, medium: 20 > is unknown > ... > > Also, I notice that I have a problem building the examples on my > (new) platform due to the differences between "root-config --arch" used > by geant3/Makefile and "uname" used by geant3/config/Makefile.exe > (invoked by geant3/examples/Makefile). On my platform: > > $root-config --arch > linux > > $uname > Linux > > The approach used by examples/Makefile (uname) causes it to attempt to > set up subdirectories > in tgt_Linux instead of tgt_linux. > Thanks for your help, > -Sue > > The full platform specs are: > $uname -a > Linux minos-pc2.spa.umn.edu 2.4.21-9.0.1.EL #1 Thu Feb 19 19:46:50 > CST 2004 i686 athlon i386 GNU/Linux > > > > --
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 11:25:00 MET