Compiling Root Code For Standalone With g++

From: Jon Gans (gans@star.physics.yale.edu)
Date: Thu Jul 29 1999 - 17:26:07 MEST


I have followed the instructions on the web for compiling code under
linux, and it compiles just fine. However, when executing it runs into
some problems
with root specific call. For example

Ttext * text = new TText(); works fine but
gStyle->SetPalette(1); causes a seg fault.

booking canvas and histograms also produce segfaults
ie 
TCanvas richCanvas  = new TCanvas("richCanvas","canvas",,200,10,1120,720);

 thanks alot
 jon


______________________________________________________________________________

Jonathan Gans					   Home: 516 344 1265
Brookhaven National Lab                            Work: 516 344 7405	
Building 902b, Room 11                   Fax/Voice Mail: 516 213 4967 (LI)
Upton, NY 11973                            (Via Email)   718 247 2926 (NYC)
		http://star.physics.yale.edu/users/gans



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