Hi Ivan, not all example programs in $ROOTSYS/test can be interpreted. One that can for example is stress.cxx (notice the #ifndef __CINT__ clause which contains the main program). However, all programs in $ROOTSYS/tutorials can be interpreted. Cheers, Fons. On Mon, Mar 05, 2001 at 01:55:54PM +0100, Ivan Storgaard Vogelius wrote: > Hi > I get in trouble when trying to use the TROOT or TApplication > class in interpreter mode. Trying to run the hworld-example I get the > following: > root [2] .x hworld.cxx > Error: Can't call TROOT::TROOT("hello","Hello World") in current scope > FILE:hworld.cxx LINE:17 > Possible candidates are... filename line:size busy function type and name > (in TROOT) > filename line:size busy function type and name (in TDirectory) > filename line:size busy function type and name (in TNamed) > filename line:size busy function type and name (in TObject) > *** Interpreter error recovered *** > > The example works fine compiled. Can these classes be made to work in > interpreter mode? > > Ivan -- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248 WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7677910
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:38 MET