[ROOT] Root on Windows XP

From: Francesco S. Rinaldi (francesco.rinaldi@pi.infn.it)
Date: Mon Nov 11 2002 - 19:23:51 MET


Hello.
I've downloaded Windows/NT/w2000 with VC++ 6.0, version 3.03/09b (built with
InstallShield) file, and installed it on Windows XP.
I've set the various Environment variables, but I've many problems with the
CINT interpreter.
For example, I saved the simple script (found in the user guide)
{
#include <iostream.h>

 cout << " Hello" << endl;
 float x = 3.;
 float y = 5.;
 int i = 101;
 cout <<" x = "<<x<<" y = "<<y<<" i = "<<i<< endl;
}
first time I execute it, it works, second time it works, but I receive the
message:
"Note: iostrem.h file is already open"
Is it normal ?
Moreover, if I run (for example) the script basic3d.C in the folder
'tutorials', first time it works, then, after I close the windows, second
time it doesn't work, sending me the message:
Error: C++ exception caught FILE:C:\root\tutorials\basic3d.C LINE 5
Warning: Automatic variable c1 allocated in global scope
FILE:C:\root\tutorials\basic3d.C LINE 6
Error: Undeclared variable c1 FILE:C:\root\tutorials\basic3d.C LINE 6
!!!Dictionary position not recovered because G__unloadfile() is used in the
macro!!
*** Interpreter error recovered ***

If I try again it works, and so on.
Moreover,
if I try the example about multi-line Commands, at page 21 of the User
Guide, I get:
Error: Symbol cout is not defined in current scope
FILE:C\DOCUME~1\frengo\IMPOST~1\Temp\4 LINE:6
Error: << Illegal operator for pointer 3
FILE:C\DOCUME~1\frengo\IMPOST~1\Temp\4 LINE:6
Error: << Illegal operator for pointer 3
FILE:C\DOCUME~1\frengo\IMPOST~1\Temp\4 LINE:6
Error: << Illegal operator for pointer 3
FILE:C\DOCUME~1\frengo\IMPOST~1\Temp\4 LINE:6
(const int)0
*** Interpreter error recovered ***



Any suggestion ?
Thanks in advance,
Francesco



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:17 MET