Re: rootcint

From: Fons Rademakers (rdm)
Date: Fri Apr 11 1997 - 14:00:10 MEST


Hi Piergiorgio,

  try specifying -I/u/people/cerello/fnd/msql/include to rootcint like:
rootcint dict.C -c -Ixxxxxxx FndFeeMap.h ...

Cheers, Fons.

> 
> Hi,
> 
> I have a question concerning the dictionary generation.
> I want to add a class in which I have some variables whose types are 
> defined in the msql.h file. But, if I include it in my class header 
> file, when I try to run rootcint I get the following error message:
> 
> rootcint dict.C -c FndFeeMap.h FndConst.h FndEvt.h FndRdt.h FndHTof.h 
> FndHLmd.h FndHStb.h FndEvent.h
> Error: source file "msql.h" cannot open  FILE:FndFeeMap.h LINE:2
> 
> then:
> 
> gcc dict.C -c -I/u/people/cerello/fnd/root/include 
> -I/u/people/cerello/fnd/msql/include -o dict.o -g
> /u/people/cerello/fnd/root/include/TError.h: In function `void 
> G__set_cpp_environmentdict(...)':
> In file included from dict.C:22:
> /u/people/cerello/fnd/root/include/TError.h:40: parse error before 
> string constant
> dict.C:24: parse error at end of input
> *** Exit 1
> Stop.
> 
> Any idea of the reason for this?
> If I don't include msql.h, rootcint runs without errors, but of course I 
> can't link and get the executable.
> 
>                                  Thanks,
> 
>                                     Piergiorgio
> 


-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland          Phone: +41 22 7679248
E-Mail: Fons.Rademakers@cern.ch              Fax:   +41 22 7677910



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:18 MET