rootcint failing when including Api.h

From: Pierre-Luc Drouin <pldrouin_at_physics.carleton.ca>
Date: Mon, 2 May 2005 14:11:23 -0400 (EDT)


Hi,

I got the last version of root this morning and now when I run rootcint on a header file that includes Api.h I get the following error:

Error: Symbol G__ClassInfocls is not defined in current scope FILE:/data/data006/pldrouin/root/include/G__ci.h LINE:3107 Error: class,struct,union or type G__ClassInfo not defined

FILE:/data/data006/pldrouin/root/include/BaseCls.h LINE:39
Syntax error FILE:/data/data006/pldrouin/root/include/BaseCls.h LINE:42
Syntax error FILE:/data/data006/pldrouin/root/include/BaseCls.h LINE:43
Error: class,struct,union or type G__ClassInfo not defined
FILE:/data/data006/pldrouin/root/include/Type.h LINE:36
Syntax error FILE:/data/data006/pldrouin/root/include/Method.h LINE:42
Syntax error FILE:/data/data006/pldrouin/root/include/Method.h LINE:44
Syntax error FILE:/data/data006/pldrouin/root/include/Method.h LINE:47
Error: Symbol G__ClassInfo is not defined in current scope FILE:/data/data006/pldrouin/root/include/Method.h LINE:115 Error: Symbol belongingclass is not defined in current scope
FILE:/data/data006/pldrouin/root/include/Method.h LINE:115
Syntax error FILE:/data/data006/pldrouin/root/include/CallFunc.h LINE:45
Syntax error FILE:/data/data006/pldrouin/root/include/CallFunc.h LINE:51
Warning: Error occured during reading source files Warning: Error occured during dictionary source generation

When I remove the include line rootcint works (but my code doesn't compile as expected). Is it normal? Do I have to use an "#ifndef __CINT__" condition around the include line to get rid of this error?

Thanks Received on Mon May 02 2005 - 20:11:49 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:07 MET