Re: linker problem with TFile constructor

From: Krzysztof Zelazowski (Krzysztof.Zelazowski@cern.ch)
Date: Thu Jul 22 1999 - 13:48:41 MEST


Dear Thomas,

I think with the following modification it should work fine:

Cheers,
Krzysztof

//-------------------------------------------------------------
#include <TROOT.h>
#include <TFile.h>

TROOT root( "example","description" ); //initialize root 
main ()
{
  TFile *rootfile = new TFile("glb.root", "READ", "glb.root");
  rootfile->Map();
}



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:36 MET