Re: [ROOT] A Question About TParticle.h

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Oct 23 2003 - 08:47:10 MEST


Hi,

TParticle is in libEG.so that is not linked by default.
You should dynamically link this lib before calling the include.

gSystem->Load("libEG")
#include <TParticle.h>

Rene Brun

> ÑîÈñ?´ wrote:
> 
> Hi, ROOTers!
> 
> I am using ROOT version 3.04/02 under i386-redhat-linux-gnu.
> 
> When I write this line in a ROOT command line or a macro file:
> 
> #include <TParticle.h>
> 
> I got errors as follows:
> 
> Warning in <TClass::TClass>: no dictionary for class _x3d_data_ is available
> Warning: Re-initialization ignored const kMaxInt
> FILE:/cern/root/include/Rtypes.h LINE:90
> Warning: Re-initialization ignored const kMaxShort
> FILE:/cern/root/include/Rtypes.h LINE:91
> Warning: Re-initialization ignored const kBitsPerByte
> FILE:/cern/root/include/Rtypes.h LINE:92
> Warning: Re-initialization ignored const kNPOS
> FILE:/cern/root/include/Rtypes.h LINE:93
> Limitation: Reference member not supported. Please use pointer
> FILE:/cern/root/include/TGenericClassInfo.h LINE:28
> *** Interpreter error recovered ***
> 
> So I am very eager to know how I can include TParticle.h correctly and why
> this error occured.
> 
> Thanks for help.
> 
> Best Regards,
> Yang Ruizhe
> 
> 2003.10.23



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