Hi All,
I'm trying to add some basic Histogramming to mt Geant4 application. I
get an error when compiling from the line below when I try to create the
file.
hfile = new TFile("hsimple.root","RECREATE","Demo ROOT file with
histograms");
Here is the message from the compiler:
/usr/local/geant4/tmp/Linux-g++/geanttest/libgeanttest.a(UldbHistograms.o):
In function `UldbHistograms::RecordBeginOfRun(G4Run const *)':
UldbHistograms.o(.text+0xea): undefined reference to `TFile::TFile(char
const *, char const *, char const *, int)'
collect2: ld returned 1 exit status
I'm using ROOT v2.24 on Linux Mandrake 7.0 with Geant4 2.0.
All suggestions are helpful.
Mark
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:31 MET