[ROOT] Problem linking my Root application on MacOS

From: Pierre Da Silva (pdasilva@lpnhep.in2p3.fr)
Date: Fri Sep 19 2003 - 11:30:35 MEST


 	Hello ROOTERS,

	I resent a mail because my problem is still not resolved. I 
have problems when I try to run my program under MacOSX with ROOT 
version 3.05.05. I can reproduce the problem with this very simplified 
program: 

int main (int argc, char *argv[])
{
   TApplication theApp ("App", NULL, 0);
   TH1F *histo;
   double xp[151];
   for(int j=0; j<100; j++) xp[j] =3D j+56;
   for(int j=0; j<51; j ++) xp[100+j] = 100+3*j+56;
   histo = new TH1F("myhisto","histo",50,0,1000);
   for(int j=0; j<151; j++) histo->Fill(xp[j]);
   histo->Draw();

   theApp.Run ();
   return 0;
}

When running this, the execution stops in the creation of the object
TApplication, but the program doesn't crash, it is simply stucked, and
nothing else is done (CPU: 0%). I still have the same problem even if I
comment the TApplication, the program is stucked at :

 histo = new TH1F("myhisto","histo",50,0,1000).

Can anyone help me?


				###############################
				Pierre Da Silva
				Email: pdasilva@lpnhep.in2p3.fr
				Tel.: 01 44 27 62 74

				LPNHE
				4, place Jussieu
				Tour 33 - Rez de Chaussee
				75252 PARIS Cedex 05 - FRANCE
				Tel.: 01 44 27 63 13
			 	Fax: 01 44 27 46 38
				###############################



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:15 MET