problems compiling TPad

From: Ludwig Maier (lmaier@e18.physik.tu-muenchen.de)
Date: Fri Sep 18 1998 - 14:10:30 MEST


Hi,
 
  I have problems compiling this simple macro:
 
  TCanvas * c1;
  TPad * pad1;
  c1 = new TCanvas("c1","Example",200,10,700,780);
  pad1 = new TPad ("pad1","pad1",0.02,0.52,0.98,0.98,21);
  pad1->Draw();
 
  It works just fine executed as macro, but the compiled and linked
  version breaks after a floting point exeption caused by TPad::Resize.
  I still haven't found what I'm doing wrong here.
  I hope somebody could give me a hint.
 
  Thanks,
 
  Ludwig



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