Alberto, It is not true that v 3/10 automatically loads the Physics lib. sorry, but I forgot that I simply use to load such a library via the rootlogon file.... So, previously, when I checked if TVector3 worked or not, ... it obviously did. So, I agree with Lucia: you have to load before using TVector3 Again sorry Tommaso On Wed, 28 Apr 2004, Tommaso Chiarusi wrote: > Hi Alberto, > Which kind of version of ROOT did you download? > > > Normally, in order to make TVector3 work, you have to load the library > > $ROOTSYS/lib/libPhysics.so > > In Version 3.10/02 16 December 2003 , it is authomatically loaded. > > Cheers, > Tommaso > > On Wed, 28 Apr 2004, Alberto Pulvirenti wrote: > > > Hello all, > > > > sorry if I am repeating something that maybe has already been discussed. > > I downloaded the tar-ball of Root 4.00.03, and when I tried to use it > > for some macros, I noticed that the interpreter has some problems in > > interpreting a line where I declare a TVector3 object. > > > > It looks like if it doesn't recognize the TVector3 as a declaration > > type: > > > > ----- > > root[0] TVector3 v > > Error: Symbol TVector3v is not defined in current scope FILE:(tmpfile) > > LINE:1 > > *** Interpreter error recovered *** > > ----- > > > > what to do to overcome this problem? > > > > Cheers, > > Alberto > > > > > > -- ----------------------- Dr. Tommaso Chiarusi Dipartimento di Fisica Universita' di Bologna INFN. Sez. Bologna Tel +39.051.209.5234 Fax +39.051.209.5269 -----------------------
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:07 MET