Re: problems compiling TPad
Rene Brun (Rene.Brun@cern.ch)
Sat, 19 Sep 1998 01:32:19 +0200
Ludwig Maier wrote:
>
> 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,
I think the problem must be somewhere else. May be an object in
the pad being delete somewhere else?
To progress in the investigation, you must send a real program
as short as possible featuring this problem.
Rene Brun