[vtkusers] [KWWidgets] a compiler error in VTK/KWWidgets app
Dean Inglis
dean.inglis at camris.ca
Mon Apr 21 15:27:05 EDT 2008
cvs as of Friday last week. At line 96 there is a declaration of a
vtkPolyData
ivar for storing the cursor shape.
_____
From: David Cole [mailto:david.cole at kitware.com]
Sent: April-21-08 3:23 PM
To: dean.inglis at camris.ca
Cc: vtkusers at vtk.org; kwwidgets at kwwidgets.org
Subject: Re: [KWWidgets] a compiler error in VTK/KWWidgets app
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/2b55661b/attachment.htm>
More information about the vtkusers
mailing list