Re: [ROOT] Gui problems

From: Otto Schaile (Otto.Schaile@Physik.uni-muenchen.de)
Date: Tue Nov 28 2000 - 19:38:58 MET


Hello Ivan,

In release notes 2.23:

  - InitGui() graphics initialization function not needed anymore.

so just leave it out in  TROOT...
Cheers
Otto

On Tue, 28 Nov 2000, Ivan Storgaard Vogelius wrote:

> We tried to use the example programme RMain from ROOT Course
> but we get the following error:
> 	 *** Break *** segmentation violation
> Optimistically trying again afterwards we get:
> 	Error: No symbol InitGui in current scope FILE:Test.C LINE:8
> *** Interpreter error recovered ***    
> 
> Any Ideas?
> 
> 	The programme looks like this:
> #include "TROOT.h"  
> #include "TRint.h" 
> 
> extern void InitGui(); 
> 
> int Error; 
> 
> VoidFuncPtr_t initfuncs[]={InitGui,0}; 
> 
> TROOT root("Rint","The Root Interactive Interface",initfuncs); 
> 
> int main (int argc,char **argv)  {
>   TRint *theApp=new TRint("Rint",&argc,argv,0,0); 
>   theApp->Run; 
>   delete theApp; 
>   return(0); 
>   }
> 

Dr. Otto Schaile            Sektion Physik, LMU Muenchen
Phone: +49 89 289 14070     Am Coulombwall 1, D-85748 Garching, Germany
GSM:   +49 171 4312031
FAX:   +49 89 289 14072     EMail: Otto.Schaile@Physik.Uni-Muenchen.DE



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:38 MET