[vtkusers] vtkErrorMacro and vtkOutputWindow

Lisa S. Avila lisa.avila at kitware.com
Wed Jan 16 14:48:54 EST 2002


Hi Chris,

I've tried it both ways (through wish82.exe and through vtk.exe) and it 
works fine. I suspect it is your build of vtk that has some problem.

Lisa

At 02:38 PM 1/16/2002, Volpe, Christopher R (CRD) wrote:
>No, I didn't turn it off. This happens right when starting up vtk. I run 
>wish83.exe, I do a "package
>require vtk" directly at the prompt, I do a "vtkTransform t" followed by a 
>"t SetInput t", and
>there's no error. But if I manually pop up the vtkOutputWindow window 
>first and then do a "t SetInput
>t", I get the expected error. Maybe it was a transient issue from a couple 
>weeks ago -- I haven't
>done a CVS update since before the vtkTypeMacro changes -- I had been 
>reluctant to do in case there
>were issues with it. Perhaps I should just update and see where things 
>stand...
>
>
> > -----Original Message-----
> > From: Lisa S. Avila [mailto:lisa.avila at kitware.com]
> > Sent: Wednesday, January 16, 2002 2:24 PM
> > To: cvolpe2 at nycap.rr.com; 'Andy Cedilnik'
> > Cc: Vtkusers at Public. Kitware. Com (E-mail)
> > Subject: RE: [vtkusers] vtkErrorMacro and vtkOutputWindow
> >
> >
> > Hi Chris,
> >
> > I tried your example and it works fine for me (vtk opens an
> > output window).
> > Do you turn off your output window somewhere?
> >
> > Lisa
> >
> >
> > At 02:11 PM 1/16/2002, Christopher R. Volpe wrote:
> >
> > > >
> > > > Since I was the one who recently modified vtkErrorMacro and
> > > > vtkWarningMacro,
> > > > I will try to help you.
> > > > For me warnings and errors seems to work perfectly.
> > > >
> > > > First of all, try to write a small program that will generate
> > > > an error and
> > > > warning.
> > >
> > >I did that already:
> > >
> > >vtkTransform t
> > >t SetInput t
> > >
> > >The above should generate an error about the attempted
> > circular reference.
> > >
> > > > This should generate error.
> > > > Similar way you can generate warning. You will have to grep
> > > > on the VTK code.
> > > >
> > > > If this works, then you have problem in your code.
> > >
> > >The problem appears to be in vtk. This is vtk4.0, running on
> > Windows 2000.
> > >
> > >-Chris
> > >
> > >_______________________________________________
> > >This is the private VTK discussion list.
> > >Please keep messages on-topic. Check the FAQ at:
> > ><http://public.kitware.com/cgi-bin/vtkfaq>
> > >Follow this link to subscribe/unsubscribe:
> > >http://public.kitware.com/mailman/listinfo/vtkusers
> >
> > _______________________________________________
> > This is the private VTK discussion list.
> > Please keep messages on-topic. Check the FAQ at:
><http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: 
><http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers




More information about the vtkusers mailing list