[vtkusers] [KWWidgets] a compiler error in VTK/KWWidgets app
David Cole
david.cole at kitware.com
Mon Apr 21 15:23:06 EDT 2008
What's on line 96 of vtkPointHandleRepresentation2D.h?
Is this CVS HEAD for both KWWidgets and VTK...?
On Mon, Apr 21, 2008 at 2:49 PM, Dean Inglis <dean.inglis at sympatico.ca>
wrote:
> I am developing an application that
> uses vtkPointHandleRepresentation2D in the
> representation of a vtkSeedWidget. KWWidgets
> is used as the GUI to display an image
> in a render window. During a lengthy callback
> that does some image processing, I manually access
> the main window's progress gauge to periodically
> give user feedback. If I #include the headers for vtkKWApplication
> and vtkPointHandleRepresentation2D in the source file for the
> application main window (not the application driver),
> I get the following error:
>
> vtkPointHandleRepresentation2D.h(96) : error C2059: syntax error
> 'constant'
> vtkPointHandleRepresentation2D.h(96) : error C2238: unexpected token(s)
> preceding
> ';'
> Nmake : fatal error U1077
>
> etc. etc.
>
> If I comment out the use of code requiring use of either one of those
> headers,
> the app compiles. I am building vtk, kwwidgets in shared release mode on
> 32
> bit Vista
> with Visual Studio 2005 and doing an nmake install to a common development
> directory.
> Any ideas as to what is going on would be appreciated.
>
> Dean
>
> _______________________________________________
> KWWidgets mailing list
> KWWidgets at kwwidgets.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/kwwidgets
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080421/c6317f61/attachment.htm>
More information about the vtkusers
mailing list