Dear Andrei,
I'm using ROOT 3.10.01 on RH9 gcc3.2.2-5
I am trying to compile a program that includes TGeoTrack.h and I get the
following compiler error
In file included from /home2/root/3.10.01/root/include/TGeoTrack.h:16,
from ReadEvent.cxx:8:
/home2/root/3.10.01/root/include/TVirtualGeoTrack.h: In member function
`TVirtualGeoTrack* TVirtualGeoTrack::GetDaughter(int) const':
/home2/root/3.10.01/root/include/TVirtualGeoTrack.h:61: invalid use of
undefined type `struct TObjArray'
/home2/root/3.10.01/root/include/TObject.h:50: forward declaration of
`struct
TObjArray'
/home2/root/3.10.01/root/include/TVirtualGeoTrack.h: In member function
`Int_t
TVirtualGeoTrack::GetNdaughters() const':
/home2/root/3.10.01/root/include/TVirtualGeoTrack.h:65: invalid use of
undefined type `struct TObjArray'
/home2/root/3.10.01/root/include/TObject.h:50: forward declaration of
`struct
TObjArray'
Is this an ROOT problem or am I doing something wrong? I am able to run
this program in CINT without any problems.
Thanks
Kerry
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET