What do you include prior to vtkPointHandleRepresentation2D.h?<br><br>If you comment out line 96 of  vtkPointHandleRepresentation2D.h, does it allow your file to compile... or give you a better compiler error message? (Obviously, it won&#39;t allow the associated VTK source to compile, this is just for troubleshooting.)<br>
<div class="Wj3C7c"></div><br><br><br><div class="gmail_quote">On Mon, Apr 21, 2008 at 3:27 PM, Dean Inglis &lt;<a href="mailto:dean.inglis@camris.ca">dean.inglis@camris.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;">




<div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">cvs as of Friday last week.&nbsp; At line 96 there is a 
declaration of a vtkPolyData</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">ivar for storing the cursor shape.</font></span></div><br>
<div dir="ltr" align="left" lang="en-us">
<hr>
<font face="Tahoma" size="2"><b>From:</b> David Cole [mailto:<a href="mailto:david.cole@kitware.com" target="_blank">david.cole@kitware.com</a>] 
<br><b>Sent:</b> April-21-08 3:23 PM<br><b>To:</b> 
<a href="mailto:dean.inglis@camris.ca" target="_blank">dean.inglis@camris.ca</a><br><b>Cc:</b> <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>; 
<a href="mailto:kwwidgets@kwwidgets.org" target="_blank">kwwidgets@kwwidgets.org</a><br><b>Subject:</b> Re: [KWWidgets] a compiler error in 
VTK/KWWidgets app<br></font><br></div><div><div></div><div class="Wj3C7c">
<div></div>What&#39;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" target="_blank">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" target="_blank">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></div></div></div>
</blockquote></div><br>