Re: linker problem with TFile constructor

Krzysztof Zelazowski (Krzysztof.Zelazowski@cern.ch)
Thu, 22 Jul 1999 13:48:41 +0200 (METDST)


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();
}