Hi Harufumi, Did you have any problem when compiling/linking on your FreeBSD system? Did you check that $ROOTSYS/lib/libTreeViewer.so exists? if yes, can you do the following: root > gSystem->Load("libTreeViewer"); root > .class TTreeViewer 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(); Rene Brun 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