Kevin,<br><br>I can compile and run your example error-free under MSW.&nbsp; Can you determine which line is causing the error?<br><br>-Kerry<br><br><div class="gmail_quote">On Tue, Apr 22, 2008 at 3:06 PM, Kevin H. Hobbs &lt;<a href="mailto:hobbsk@ohiou.edu">hobbsk@ohiou.edu</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;">In an application I&#39;m trying to write I want a render window to pop up<br>
every once in a while when there&#39;s something to render.<br>
<br>
I put the rendering in a function where all of the rendering instances<br>
are created and deleted.<br>
<br>
I got X errors.<br>
<br>
Should the minimum example code below just flash empty windows forever<br>
or should it produce errors?<br>
<br>
This is gargon on the dashboard.<br>
VTK from CVS<br>
Mesa from git<br>
Fedora 8<br>
x86_64<br>
<br>
<br>
#include &quot;vtkRenderer.h&quot;<br>
#include &quot;vtkRenderWindow.h&quot;<br>
#include &quot;vtkRenderWindowInteractor.h&quot;<br>
<br>
#define WSIZE 300<br>
<br>
int main( int argc, char * argv[] )<br>
{<br>
 &nbsp; &nbsp; &nbsp; &nbsp;while (1)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;{<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// Render Window<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;vtkRenderWindow * render_window = vtkRenderWindow::New();<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;render_window-&gt;SetSize( WSIZE, WSIZE );<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;render_window-&gt;Render();<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;render_window-&gt;Delete();<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;}<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;return 0;<br>
}<br>
<br>_______________________________________________<br>
This is the private VTK discussion list.<br>
Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>