Re: [ROOT] compiling outside cint; doesn' know Int_t, Float_t ...

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Jul 21 2003 - 14:34:07 MEST


Hi Andreas,

Including "Rtypes.h" should be enough to satisfy the declarations of "Int_t",
"Float_t",etc.
Rtypes.h is automatically referenced from other includes like TObject.h,
TNamed.h.

Rene Brun

Andreas WILDAUER wrote:
> 
> Hi ROOTERS,
> 
> I try to compile (w/o linking) my classes outside of CINT/ROOT. It works with:
> 
> g++ -c `root-config --cflags` file.C
> 
> but only as long as I don't use any root specific datatypes like Int_t or
> Float_t. I don't want to go through all the files to exange them with
> standard C++ types. Which header is missing? (i tried Rtypes.h, doesn't work)
> or do i need to use another flag in root-config?
> 
> Thanks in advance
> Andi



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET