Fatal in <TClass::TClass>: ROOT system not initialized

From: assova <galina.asova_at_desy.de>
Date: Fri, 7 Jan 2005 16:23:52 +0100


Dear rooters,
On Suse linux 8.2 and ROOT 4.00/08, after the necessary includes and initializing the ROOT system first, I get this error. In fact the application works fine and only "gApplication->Terminate(0);" causes the problem.
I do

#include <TROOT.h>
#include <TSystem.h>
#include <TApplication.h>
#include <TGClient.h>
#include <TGFrame.h>

int main(int argc, char **argv){

	TApplication theApp("App", &argc, argv);
	//GUI pops up
	App.Run();
	//do some plots/calculations
	//GUI pops up
	//pressing a button calls
CloseWindow(){gApplication->Terminate(0);}
	return 0;

}

After some printout before and after the Terminate() I see only the first one.
Do I miss anything?

Best regards


      /    Galina Asova          /       DESY Zeuthen          /º
     /==========================/==============================__
    /   Platanenallee 6        /e-mail: Galina.Asova_at_desy.de   A /
   /    15738 Zeuthen         / phone: +49-(0)33762-77313    ___/
  /     Germany              /  fax:   +49-(0)33762-77330  / /
 /__________________________/_____________________________/ / 
 º_________________________/\_____________________________º/

 
Received on Fri Jan 07 2005 - 16:24:09 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:04 MET