<!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=534304019-21042008><FONT face=Arial 
color=#0000ff size=2>ok,, just tried altering 
kwwidgets/Examples/MedicalImageViewer:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=534304019-21042008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=534304019-21042008><FONT face=Arial 
color=#0000ff size=2>add </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=534304019-21042008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=534304019-21042008><FONT face=Arial 
color=#0000ff size=2>#include 
"vtkPointHandleRepresentation2D.h"</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=534304019-21042008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=534304019-21042008><FONT face=Arial 
color=#0000ff size=2>at the end of the list of includes in 
vtkKWMyWindow.cxx</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=534304019-21042008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=534304019-21042008><FONT face=Arial 
color=#0000ff size=2>Im getting the same weird error.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=534304019-21042008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left>
<HR tabIndex=-1>
</DIV>
<DIV dir=ltr align=left><FONT face=Tahoma size=2><B>From:</B> David Cole 
[mailto:david.cole@kitware.com] <BR><B>Sent:</B> April-21-08 3:35 
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 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'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="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
  <DIV>
  <DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff 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 face=Arial color=#0000ff size=2>ivar for 
  storing the cursor shape.</FONT></SPAN></DIV><BR>
  <DIV lang=en-us dir=ltr align=left>
  <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'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="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. &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'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 '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. &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></BODY></HTML>