[ROOT] TCanvas in compiled application

From: Andrea Di Simone (Andrea.DiSimone@ROMA2.INFN.IT)
Date: Wed Dec 18 2002 - 16:00:56 MET


Hello,

I just upgraded to root version 3.04/02 (rh 7.2 gcc 2.96), and I have this
small problem. With version 3.03/09 the line

TCanvas *c=new TCanvas();

put in the main of a compiled application caused a window to be drawn, and
that was exactly what I wanted it to do.

The same code compiled with 3.04/02 doesn't produce any window. Later in
the code I call TGraph::Draw (with the "ps" options) and it still doesn't
draw the TCanvas.

Is there a way to force the TCanvas to be drawn?

Thanks,

Andrea.



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:24 MET