Hi Dirk,
guitest.cxx is not supposed to be executed as a macro.
use the makefile in $ROOTSYS/test to build the executable.
Rene Brun
Dirk Meier wrote:
>
> Hi,
>
> in the following example the header files can not be
> found in an interactive ROOT session.
> I believe my environment variables are set correct.
> My settings are
>
> dime@pb-s-22-1-27-4-1:~ > echo $LD_LIBRARY_PATH
> :/opt/ROOT/root/lib
> dime@pb-s-22-1-27-4-1:~ > echo $ROOTSYS
> /opt/ROOT/root
> dime@pb-s-22-1-27-4-1:~ > uname -a
> Linux pb-s-22-1-27-4-1.cern.ch 2.0.35 #1 Wed Sep 2 14:19:34 CEST 1998 i586
> unknown
>
> *******************************************
> * *
> * W E L C O M E to R O O T *
> * *
> * Version 2.21/01 14 January 1999 *
> * *
> * You are welcome to visit our Web site *
> * http://root.cern.ch *
> * *
> *******************************************
>
> FreeType Engine v1.1 used to render TrueType fonts.
>
> CINT/ROOT C/C++ Interpreter version 5.13.83, Dec 2 1998
> Type ? for help. Commands must be C++ statements.
> Enclose multiple statements between { }.
> including <iostream.h>
> gROOT->SetStyle("Plain")
> root [0] .x $ROOTSYS/test/guitest.cxx
> Error: source file "TROOT.h" cannot open
> FILE:/opt/ROOT/root/test/guitest.cxx LINE:14
> *** Interpreter error recovered ***
> NULL
> root [1]
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:38 MET