<div class="gmail_extra"><div class="gmail_extra">I really have no idea! However generally it has worked in Windows.</div><div class="gmail_extra">I don't think that pressing Q or E has worked inLinux for a long time too.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Andrew</div><div class="gmail_extra"><br></div><br><div class="gmail_quote">On Tue, Apr 24, 2012 at 10:41 AM, Goodwin Lawlor <span dir="ltr"><<a href="mailto:goodwin.lawlor.lists@gmail.com" target="_blank">goodwin.lawlor.lists@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_extra">Hi,</div><div class="gmail_extra"><br></div><div class="gmail_extra">After stepping through the code in vtkWin32RenderWindowInteractor, it seemed that since Tcl doesn't use the "Start" method to get the event loop moving, there was no callback fired on pressing E,e,Q,q.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">I've a topic here <a href="http://review.source.kitware.com/#/t/459" target="_blank">http://review.source.kitware.com/#/t/459</a> that adds an ExitEvent callback when an vtkRenderWindowInteractor is created in Tcl.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">I'm wondering now though how it ever worked before on win32?</div><span class="HOEnZb"><font color="#888888"><div class="gmail_extra"><br></div><div class="gmail_extra">
Goodwin</div></font></span><div class="HOEnZb"><div class="h5"><div class="gmail_extra">
<br><div class="gmail_quote">On Wed, Apr 18, 2012 at 12:32 PM, Goodwin Lawlor <span dir="ltr"><<a href="mailto:goodwin.lawlor.lists@gmail.com" target="_blank">goodwin.lawlor.lists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

That's great. I've noticed too that pressing the "e" key no longer exists tcl. I'll debug that as soon as I can.<div><div><br><br><div class="gmail_quote">On Wed, Apr 18, 2012 at 3:07 AM, Andrew Maclean <span dir="ltr"><<a href="mailto:andrew.amaclean@gmail.com" target="_blank">andrew.amaclean@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> Ok. As a matter of interest should  VTKRENDERINGOPENGL_EXPORT be preferred over VTK_EXPORT?<div><br></div><div>Marcus, With respect to OutlineCornerFilter, this will fix the problem:</div>


<div><div>#include "vtkFiltersSourcesModule.h" // For export macro</div>
<div>//#include "vtkFiltersGeneralModule.h" // For export macro</div></div><div>It is just that the wrong header was included.</div><div><br></div><div>Guess what! After those changes the build works for Windows, except for vtkFiltersHyperTreeCxxTests. </div>



<div>Tcl is working, however, the issue of being unable to close the TCL render window still exists.</div><div>Python works Ok too.</div><div><br>Thanks</div><span><font color="#888888"><div> Andrew</div></font></span><div>


<div><div><br></div><br><div class="gmail_quote">On Wed, Apr 18, 2012 at 11:25 AM, Goodwin Lawlor <span dir="ltr"><<a href="mailto:goodwin.lawlor.lists@gmail.com" target="_blank">goodwin.lawlor.lists@gmail.com</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Missed his patch... both VTK_EXPORT and VTKRENDERINGOPENGL_EXPORT resolve to the same: declspec(dllexport) (on  windows) so if it doesn' t work for you, there's no point making that change anyway. <div>



<div><br><br><div class="gmail_quote">
On Wed, Apr 18, 2012 at 2:15 AM, Andrew Maclean <span dir="ltr"><<a href="mailto:andrew.amaclean@gmail.com" target="_blank">andrew.amaclean@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




The patch from Marcus is using VTK_EXPORT. I am building now and will see if it works. If not I'll change VTK_EXPORT to  VTKRENDERINGOPENGL_EXPORT <div><div><br><br><div class="gmail_quote">On Wed, Apr 18, 2012 at 10:53 AM, Goodwin Lawlor <span dir="ltr"><<a href="mailto:goodwin.lawlor.lists@gmail.com" target="_blank">goodwin.lawlor.lists@gmail.com</a>></span> wrote:<br>





<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I just rebased the tcl static topic and I see the problem - up until a couple of days ago VTK_RENDERING_EXPORT was being defined in vtkWin32Header.h but no longer.<div>





<br></div><div>Maybe this commit on Friday is the cause:  </div>
<div><br></div><div><a href="http://vtk.org/gitweb?p=VTK.git;a=commitdiff;h=e545699df74c1364dca55d036096ae8e1f9457a4" target="_blank">http://vtk.org/gitweb?p=VTK.git;a=commitdiff;h=e545699df74c1364dca55d036096ae8e1f9457a4</a></div>





<div><br>
</div><div>and VTK_RENDERING_EXPORT in vtkWin32RenderWindowInteractor.cxx should be changed to VTKRENDERINGOPENGL_EXPORT</div><div><br></div><div>It's an unusual case to see that definition in a cxx file...</div><span><font color="#888888"><div>






<br></div></font></span><div><span><font color="#888888">Goodwin</font></span><div><div><br><br><div class="gmail_quote">On Wed, Apr 18, 2012 at 1:30 AM, Goodwin Lawlor <span dir="ltr"><<a href="mailto:goodwin.lawlor.lists@gmail.com" target="_blank">goodwin.lawlor.lists@gmail.com</a>></span> wrote:<br>






<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Andrew,<div><br></div><div>I can see the same issue you're having on cdash: 
<a href="http://open.cdash.org/viewBuildError.php?buildid=2196895" target="_blank">http://open.cdash.org/viewBuildError.php?buildid=2196895</a> </div><div><br></div><div>I'll keep looking...</div><span><font color="#888888"><div>






<br></div></font></span><div><span><font color="#888888">Goodwin</font></span><div><div><br><br><div class="gmail_quote">
On Wed, Apr 18, 2012 at 1:25 AM, Marcus D. Hanwell <span dir="ltr"><<a href="mailto:marcus.hanwell@kitware.com" target="_blank">marcus.hanwell@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">







Hi Andrew,<br>
<div><br>
On Tue, Apr 17, 2012 at 7:48 PM, Andrew Maclean<br>
<<a href="mailto:andrew.amaclean@gmail.com" target="_blank">andrew.amaclean@gmail.com</a>> wrote:<br>
> Hi Goodwin, Marcus<br>
><br>
> I just built for Windows and Linux and there are some issues:<br>
> Windows:<br>
>   1) vtkFIltersSourcesPython-6.0.dll is not built. This is due to unresolved<br>
> externals in the linking. Similarly for  vtkFIltersSourcesTCL-6.0.dll<br>
>   2) VTK_RENDERING_EXPORT is undefined so vtkWin32RenderWindowIntteractor is<br>
> not built (line 42) and there is a different linkage for vtkHandleMessage in<br>
> this file (line85).<br>
<br>
</div>I just realized I missed this in the CDash@Home submissions. I have a<br>
patch proposal here that should fix that,<br>
<br>
<a href="http://review.source.kitware.com/#/t/433/" target="_blank">http://review.source.kitware.com/#/t/433/</a><br>
<div><br>
>   3) vtkOutlineCornerFilter is not built due to unresolved external symbols.<br>
<br>
</div>That is a new move today, I will take another look.<br>
<div>><br>
> Linux:<br>
>   Everything built Ok however I still get a blank white screen when running<br>
> the Tcl examples. I could be missing something in my setup because I had to<br>
> revert to Ubuntu 10.04 as the latest Nvidia upgrades (295)  destroyed<br>
> my system. I have a GTS8800 card which is incompatible with the NVidia<br>
> updates.<br>
>   On second thoughts the Python scripts run Ok so all the OpenGL stuff is<br>
> there.<br>
><br>
</div>Can you list the Tcl tests failing? Quite a few Tcl tests were added,<br>
I can take a closer look at tonight's dashboards.<br>
<span><font color="#888888"><br>
Marcus<br>
</font></span></blockquote></div><br></div></div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><div><div>-- <br>___________________________________________<br>Andrew J. P. Maclean<br><br>___________________________________________<br>

</div></div></blockquote></div><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>___________________________________________<br>Andrew J. P. Maclean<br><br>___________________________________________<br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>___________________________________________<br>Andrew J. P. Maclean<br><br>___________________________________________<br>
</div>