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 &lt;<a href="mailto:dean.inglis@sympatico.ca">dean.inglis@sympatico.ca</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I am developing an application that<br>
uses vtkPointHandleRepresentation2D in the<br>
representation of a vtkSeedWidget. &nbsp;KWWidgets<br>
is used as the GUI to display an image<br>
in a render window. &nbsp;During a lengthy callback<br>
that does some image processing, I manually access<br>
the main window&#39;s progress gauge to periodically<br>
give user feedback. &nbsp;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 &#39;constant&#39;<br>
vtkPointHandleRepresentation2D.h(96) : error C2238: unexpected token(s)<br>
preceding<br>
&#39;;&#39;<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. &nbsp;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>