[vtk-developers] Tcl rendering tests and hangs

Andrew Maclean andrew.amaclean at gmail.com
Tue Apr 17 22:07:17 EDT 2012


 Ok. As a matter of interest should  VTKRENDERINGOPENGL_EXPORT be preferred
over VTK_EXPORT?

Marcus, With respect to OutlineCornerFilter, this will fix the problem:
#include "vtkFiltersSourcesModule.h" // For export macro
//#include "vtkFiltersGeneralModule.h" // For export macro
It is just that the wrong header was included.

Guess what! After those changes the build works for Windows, except for
vtkFiltersHyperTreeCxxTests.
Tcl is working, however, the issue of being unable to close the TCL render
window still exists.
Python works Ok too.

Thanks
 Andrew


On Wed, Apr 18, 2012 at 11:25 AM, Goodwin Lawlor <
goodwin.lawlor.lists at gmail.com> wrote:

> 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.
>
>
> On Wed, Apr 18, 2012 at 2:15 AM, Andrew Maclean <andrew.amaclean at gmail.com
> > wrote:
>
>> 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
>>
>>
>> On Wed, Apr 18, 2012 at 10:53 AM, Goodwin Lawlor <
>> goodwin.lawlor.lists at gmail.com> wrote:
>>
>>> 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.
>>>
>>> Maybe this commit on Friday is the cause:
>>>
>>>
>>> http://vtk.org/gitweb?p=VTK.git;a=commitdiff;h=e545699df74c1364dca55d036096ae8e1f9457a4
>>>
>>> and VTK_RENDERING_EXPORT in vtkWin32RenderWindowInteractor.cxx should be
>>> changed to VTKRENDERINGOPENGL_EXPORT
>>>
>>> It's an unusual case to see that definition in a cxx file...
>>>
>>> Goodwin
>>>
>>>
>>> On Wed, Apr 18, 2012 at 1:30 AM, Goodwin Lawlor <
>>> goodwin.lawlor.lists at gmail.com> wrote:
>>>
>>>> Hi Andrew,
>>>>
>>>> I can see the same issue you're having on cdash:
>>>> http://open.cdash.org/viewBuildError.php?buildid=2196895
>>>>
>>>> I'll keep looking...
>>>>
>>>> Goodwin
>>>>
>>>>
>>>> On Wed, Apr 18, 2012 at 1:25 AM, Marcus D. Hanwell <
>>>> marcus.hanwell at kitware.com> wrote:
>>>>
>>>>> Hi Andrew,
>>>>>
>>>>> On Tue, Apr 17, 2012 at 7:48 PM, Andrew Maclean
>>>>> <andrew.amaclean at gmail.com> wrote:
>>>>> > Hi Goodwin, Marcus
>>>>> >
>>>>> > I just built for Windows and Linux and there are some issues:
>>>>> > Windows:
>>>>> >   1) vtkFIltersSourcesPython-6.0.dll is not built. This is due to
>>>>> unresolved
>>>>> > externals in the linking. Similarly for  vtkFIltersSourcesTCL-6.0.dll
>>>>> >   2) VTK_RENDERING_EXPORT is undefined so
>>>>> vtkWin32RenderWindowIntteractor is
>>>>> > not built (line 42) and there is a different linkage for
>>>>> vtkHandleMessage in
>>>>> > this file (line85).
>>>>>
>>>>> I just realized I missed this in the CDash at Home submissions. I have a
>>>>> patch proposal here that should fix that,
>>>>>
>>>>> http://review.source.kitware.com/#/t/433/
>>>>>
>>>>> >   3) vtkOutlineCornerFilter is not built due to unresolved external
>>>>> symbols.
>>>>>
>>>>> That is a new move today, I will take another look.
>>>>> >
>>>>> > Linux:
>>>>> >   Everything built Ok however I still get a blank white screen when
>>>>> running
>>>>> > the Tcl examples. I could be missing something in my setup because I
>>>>> had to
>>>>> > revert to Ubuntu 10.04 as the latest Nvidia upgrades (295)  destroyed
>>>>> > my system. I have a GTS8800 card which is incompatible with the
>>>>> NVidia
>>>>> > updates.
>>>>> >   On second thoughts the Python scripts run Ok so all the OpenGL
>>>>> stuff is
>>>>> > there.
>>>>> >
>>>>> Can you list the Tcl tests failing? Quite a few Tcl tests were added,
>>>>> I can take a closer look at tonight's dashboards.
>>>>>
>>>>> Marcus
>>>>>
>>>>
>>>>
>>>
>>
>>
>> --
>> ___________________________________________
>> Andrew J. P. Maclean
>>
>> ___________________________________________
>>
>
>


-- 
___________________________________________
Andrew J. P. Maclean

___________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20120418/95b71bfd/attachment.html>


More information about the vtk-developers mailing list