Re: [ROOT] Can not display using tree->StartViewer();

From: Harufumi TSUCHIYA (harufumi@icrr.u-tokyo.ac.jp)
Date: Wed Sep 25 2002 - 03:41:30 MEST


From: Rene Brun <Rene.Brun@cern.ch>
Subject: Re: [ROOT] Can not display using tree->StartViewer();
Date: Tue, 24 Sep 2002 17:27:10 +0200 (METDST)

Thank you for quick reply.

> Did you have any problem when compiling/linking on your FreeBSD system?
Sorry, I do not know if there was problem or not when compiling/linking.
But, I can complile and link my g++ prgram with ROOT libraries.

> Did you check that $ROOTSYS/lib/libTreeViewer.so exists?
Yes, it exists.

> if yes, can you do the following:
> root > gSystem->Load("libTreeViewer");
> root > .class TTreeViewer
root [0] gSystem->Load("libTreeViewer");
dlopen error: /mnt/home/01a/harufumi/local/root/lib/./libTreeViewer.so: Undefined symbol "__ti9TGLVEntry"
Load Error: Failed to load Dynamic link library /mnt/home/01a/harufumi/local/root/lib/./libTreeViewer.so
*** Interpreter error recovered ***

Also I checked if other libraries could be loaded using gSystem->Load().
As a result, I got the same error message when loading the following libralires.
libGeomPainter.so
libRGL.so
libTable.so
libX3d.so


> If all the above works, can you try:
> root > gSystem->Load("libTreeViewer");
> root > TFile *f = new TFile("tree1.root");
> root > TTree *t = (TTree*)f->Get("t1");
> root >  t->StartViewer();
Sorry, As I got the same error messages, I could not test this.


> On Tue, 24 Sep 2002, Harufumi TSUCHIYA wrote:
> 
> > Hello ROOTers.
> > 
> > I would like to use treeviewer. But, I could not succeeded in
> > viewing. 
> > I did following ways.
> > 
> > In $ROOTSYS/tutrials
> > root [0] TFile *f = new TFile("tree1.root");
> > root [1] TTree *t = (TTree*)f->Get("t1");
> > root [2] t->StartViewer();
> > dlopen error: /home/01a/harufumi/local/root/lib/libTreeViewer.so: Undefined symbol "__ti9TGLVEntry"
> > Load Error: Failed to load Dynamic link library /home/01a/harufumi/local/root/lib/libTreeViewer.so
> > Error in <TPluginHandler::SetupCallEnv>: class TTreeViewer not found in plugin TreeViewer
> > *** Interpreter error recovered ***
> > 
> > I got error messages like this. 
> > I also tested my ROOT files which contains tree object. But 
> > I falied to view tree, getting the same error messages.
> > 
> > I use ROOT v 3.03.09 which was complied from source on FreeBSD 4.6.2-RELEASE
> > using g++ 2.95.3 
> > 
> > Please give me any suggestions.
> > 
> > Harufumi Tsuchiya
> > 
> 



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