[ROOT] Problems using Root 3.03/06 under Windows

From: Marcos (Marcos.Gimenez@ific.uv.es)
Date: Fri Jun 28 2002 - 11:42:19 MEST


After i run rootcint interpreter and i execute ANY script by using .X
"filename" it gives me an error:
"Error: class,struct,union or type ios not defined
FILE:c:\root\cint\include\iostream.h LINE:26"

This happens the second time that i run it, the first time it seems to
work but not like in version 3.03/05 (i've got some errors when i call a
normal Canvas) below is an example (" a.C file does nothing, just
multiplies 2 numbers")
root [0] .X a.C  (it works)
root [1] .U a.C
root [2] .X a.C (now doesn't work anymore :( )
Error: class,struct,union or type ios not defined
FILE:c:\root\cint\include\iostream.h LINE:26
*** Interpreter error recovered ***
root [3] .X a.C
Error: class,struct,union or type ios not defined
FILE:c:\root\cint\include\iostream.h LINE:26
*** Interpreter error recovered ***
root [4] .U a.C
Error: G__unloadfile() File "C:\root\bin\a.C" not loaded  FILE: LINE:0
*** Interpreter error recovered ***
root [5] .X a.C
Error: class,struct,union or type ios not defined
FILE:c:\root\cint\include\iostream.h LINE:26

But i want to say that i have seen this error appearing in my windows
interpreter in previous 3.03 ROOT Windows98SE version
(on Linux i use a 3.02 version so i can't compare both versions) but it
appeared randomly and after re-executing the .X command
no error was found.

By the way, i get the error even if i don't include iostream.h .



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