Minimal config needed to read/write TNtuple?

From: Tom Roberts <tjrob_at_fnal.gov>
Date: Mon, 18 Dec 2006 18:02:20 -0600


I am implementing the ability to read and write a TNtuple into my Geant4 simulation program. I found that I need to link with libTree, libCint, and libCore. When I try to use a TNtuple, I get the error message:

       Error: cannot open file "bool.h" :0: But the TNtuple file can be written and read correctly. I'm guessing that Cint is unhappy, but for a simple TNtuple it is not needed.

I want to distribute a binary version of the program to users who probably don't have Root installed, and who are physicists but not C++ programmers. That error message will be confusing, especially to people who never use Root....

What files and directories do I need to include in my distribution, beyond those 3 shared objects? Is there any simple way to reduce what is needed?

Tom Roberts Received on Tue Dec 19 2006 - 01:03:20 MET

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:02 MET