>
> Hi,
>
> I use the following command to load the file "hworld.cxx" in
> directoy $ROOTSYS/test, it will show the some error messages:
>
> .L $ROOTSYS/test/hworld.cxx
>
> ** Error: source file "TROOT.h" cannot open
> ** FILE:/data7/dst/ROOT/root/test/hworld.cxx LINE:10
> ** *** Interpreter error recovered ***
>
> Is it because my operation is no correct ? If it is, how I can load
> the file in ROOT ?
The "test" subdirectory contains stand-alone program to be
compiled with your "native" compiler against of ROOT libraries. It is
not ROOT macros to be loaded by ROOT. The ROOT macros can be found
under the "tutorials" subdirectory.
The "test" subdirectory is supplied with Makefile to build those
stand-alone programs (with the "native" compiler").
Hope this helps,
Valery
=================================================================
Dr. Valeri Faine (Fine)
------------------- Phone: +1 516 344 7806
Brookhaven National Laboratory FAX : +1 516 344 4206
Bldg. 510A /STAR mailto:fine@bnl.gov
Upton, New York, 11973-5000 http://nicewww.cern.ch/~fine
USA
Dr. Valery Fine Telex : 911621 dubna su
-----------
LCTA/Joint Inst.for Nuclear Res. Phone : +7 09621 6 40 80
141980 Dubna, Moscow region Fax : +7 09621 6 51 45
Russia mailto:fine@main1.jinr.dubna.su