<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16643" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=987122519-21042008><FONT face=Arial
color=#0000ff size=2>cvs as of Friday last week. At line 96 there is a
declaration of a vtkPolyData</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=987122519-21042008><FONT face=Arial
color=#0000ff size=2>ivar for storing the cursor shape.</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> David Cole [mailto:david.cole@kitware.com]
<BR><B>Sent:</B> April-21-08 3:23 PM<BR><B>To:</B>
dean.inglis@camris.ca<BR><B>Cc:</B> vtkusers@vtk.org;
kwwidgets@kwwidgets.org<BR><B>Subject:</B> Re: [KWWidgets] a compiler error in
VTK/KWWidgets app<BR></FONT><BR></DIV>
<DIV></DIV>What's on line 96 of vtkPointHandleRepresentation2D.h?<BR><BR>Is this
CVS HEAD for both KWWidgets and VTK...?<BR><BR><BR>
<DIV class=gmail_quote>On Mon, Apr 21, 2008 at 2:49 PM, Dean Inglis <<A
href="mailto:dean.inglis@sympatico.ca">dean.inglis@sympatico.ca</A>>
wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">I
am developing an application that<BR>uses vtkPointHandleRepresentation2D in
the<BR>representation of a vtkSeedWidget. KWWidgets<BR>is used as the
GUI to display an image<BR>in a render window. During a lengthy
callback<BR>that does some image processing, I manually access<BR>the main
window's progress gauge to periodically<BR>give user feedback. If I
#include the headers for vtkKWApplication<BR>and
vtkPointHandleRepresentation2D in the source file for the<BR>application main
window (not the application driver),<BR>I get the following
error:<BR><BR>vtkPointHandleRepresentation2D.h(96) : error C2059: syntax error
'constant'<BR>vtkPointHandleRepresentation2D.h(96) : error C2238: unexpected
token(s)<BR>preceding<BR>';'<BR>Nmake : fatal error U1077<BR><BR>etc.
etc.<BR><BR>If I comment out the use of code requiring use of either one of
those<BR>headers,<BR>the app compiles. I am building vtk, kwwidgets in
shared release mode on 32<BR>bit Vista<BR>with Visual Studio 2005 and doing an
nmake install to a common development<BR>directory.<BR>Any ideas as to what is
going on would be
appreciated.<BR><BR>Dean<BR><BR>_______________________________________________<BR>KWWidgets
mailing list<BR><A
href="mailto:KWWidgets@kwwidgets.org">KWWidgets@kwwidgets.org</A><BR><A
href="http://public.kitware.com/cgi-bin/mailman/listinfo/kwwidgets"
target=_blank>http://public.kitware.com/cgi-bin/mailman/listinfo/kwwidgets</A><BR></BLOCKQUOTE></DIV><BR></BODY></HTML>