Re: [ROOT] Problem drawing functions

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Wed Jul 24 2002 - 16:16:33 MEST


Hi Ray,

  with the CVS version there is the problem that the X11 and Gui libs
are not loaded. Could you show me the output of:

gROOT->GetPluginManager()->Print()
and
gEnv->Print().

Also make sure that in yor $ROOTSYS/etc/system.rootrc there are lines
like:

Plugin.TVirtualX:    x11       TGX11         GX11         "TGX11(const
char*,const char*)"
+Plugin.TVirtualX:   win32     TGWin32       Win32        "TGWin32(const
char*,const char*)"
+Plugin.TVirtualX:   win32gdk  TGWin32       Win32gdk     "TGWin32(const
char*,const char*)"
Plugin.TGuiFactory:  root      TRootGuiFactory Gui       
"TRootGuiFactory()"
+Plugin.TGuiFactory: win32     TWin32GuiFactory Win32    
"TWin32GuiFactory()"

Make sure that you switch $ROOTSYS when switcing between 3.01 and the
cvs version.

Cheers, Fons.



On Tue, 2002-07-23 at 16:31, Ray Fliller III wrote:
> On 23 Jul 2002, Fons Rademakers wrote:
> 
> > Hi Ray,
> > 
> >   the statement:
> > 
> >   TCanvas *c = new TCanvas("c","foo")
> > 
> > works for me. Can you mail me the output of
> > 
> > gSystem->ListLibraries()
> 
> Sure. on the Pro version I have 
> 
> root [0] gSystem->ListLibraries()
> Loaded shared libraries
> =======================
> /opt/cern/root/lib/libGpad.so
> /opt/cern/root/lib/libGX11.so
> /opt/cern/root/lib/libGui.so
> /opt/cern/root/lib/libMinuit.so
> /opt/cern/root/lib/libPostscript.so
> /opt/cern/root/lib/libHtml.so
> -lCore
> -lCint
> -lHist
> -lGraf
> -lGraf3d
> -lTree
> -lMatrix
> -lRint
> -----------------------
> 14 libraries loaded
> =======================
> 
> 
> On the CVS version from today I get
> root [0] gSystem->ListLibraries()                      
> 
> Loaded shared libraries
> =======================
> /opt/cern/root/lib/libGpad.so
> /opt/cern/root/lib/libMinuit.so
> /opt/cern/root/lib/libPostscript.so
> /opt/cern/root/lib/libHtml.so
> -lCore
> -lCint
> -lHist
> -lGraf
> -lGraf3d
> -lTree
> -lMatrix
> -lRint
> -----------------------
> 12 libraries loaded
> =======================
> 
> It looks like 
> libGX11 and libGui are missing the the CVS version...
> 
> I want to also note that on the pro version the statement 
> TCanvas *c=new TCanvas("c","foo") works.  But I cannot read 
> TCanvases saved to TFiles.  ROOT from 2 months ago worked just fine for
> this.
> 
> 
> 
> -- 
> 
>  RAINMAN
>       "How much does a piece of gum cost Ray?"
>       "About $100."
>       "How much does a new car cost Ray?"
>       "`Bout $100."
>       "There goes working for NASA!"
> 
> ==================================================================
> Ray Fliller: rfliller@bnl.gov      Office Phone: (631)-344-6124 
> C-A Accelerator Physics            Dept. Fax: (631)-344-5954
> Building 911B
> Brookhaven National Lab
> Upton, NY 11973                    Office: Room 211
> 
> http://www.agsrhichome.bnl.gov/People/rfliller/
> ==================================================================
> 
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:00 MET