Hello again,
I'm still struggling to make a simple TTree in root and no matter what I
do, I get a segmentation violation when trying to create a branch that
contains any kind of class or list. I've tried TObjArray, TClonesArray,
and my own class that contains a TObjArray.
I had this problem with 3.03, and have the same problem after upgrading
to 3.05. I'm probably just doing something stupid, since I'm a root
newbie. But everything I try gives me the same segmentation violation.
I'm attaching a small tar file with minimal code and a home-brew
(trial&error) Makefile that at least works with gcc 3.2 in Linux. On
another OS you'll at least need to change the "ARCH = linux" at the top.
I based this on the Makefile in the root example directory. This is
my cleaned-up proof-of-principle excersize that I want to work out
before addressing the real task at hand.
The tutorial/example programs seem to work, so I think the error is my
own rather than root's.
I'll also ask another quickie here: How do I get a local version of the
online root class docomentation
(http://root.cern.ch/root/htmldoc/ClassIndex.html)?
I tried this approach and failed:
root [0] gHtml.MakeAll()
Error: illegal pointer to class object gHtml 0x0 603 FILE:(tmpfile) LINE:1
*** Interpreter error recovered ***
Thanks in advance,
Topher Cawlfield
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:10 MET