<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Hi Sophonet and Enzo,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">is it possible you made other changes besides switching VTK from DLLs to static libraries? Perhaps your application was using a different version of VTK DLLs than you thought etc.</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">If that is not the case, can you point to an example which exhibits the problem?</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Regards,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Dženan</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 3, 2016 at 2:24 PM, Gib Bogle <span dir="ltr"><<a href="mailto:g.bogle@auckland.ac.nz" target="_blank">g.bogle@auckland.ac.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Statically linked VTK 5.10 works fine with Qt.<br>
______________________________<wbr>__________<br>
From: vtkusers [<a href="mailto:vtkusers-bounces@vtk.org">vtkusers-bounces@vtk.org</a>] on behalf of Enzo Matsumiya [<a href="mailto:enzo.matsumiya@gmail.com">enzo.matsumiya@gmail.com</a>]<br>
Sent: Thursday, 4 August 2016 6:21 a.m.<br>
To: Constantinescu Mihai via vtkusers<br>
Subject: [FORGED] Re: [vtkusers] Qt-based VTK app shows black image content if VTK is linked statically<br>
<div class="HOEnZb"><div class="h5"><br>
I can confirm that some issues occur when using VTK static as well (VTK stable 7.0.0).<br>
I could not look further into the issue, but my application crashed instead of just black window, and I just rolled back to dynamic build.<br>
<br>
Appreciate any details on this.<br>
<br>
<br>
Thanks,<br>
<br>
Enzo<br>
<br>
> On Aug 3, 2016, at 15:05, Sophonet <<a href="mailto:vtk12af6bc42@kant.sophonet.de">vtk12af6bc42@kant.sophonet.de</a><wbr>> wrote:<br>
><br>
> Hi list,<br>
><br>
> recently, I have been working on a Qt application (using VTK functionality in the main .exe and a bunch of underlying DLLs).<br>
><br>
> If VTK is built dynamically, the application behaves as expected.<br>
><br>
> However, if VTK is built statically (and - obviously - the application and underlying DLLs are then built using the static libraries of VTK), some content (vtkImageSlice) is missing in the render window, i.e. does not appear at all. Other parts (e.g. vtkPolyData) are shown correctly.<br>
><br>
> Anyone knows how to fix this? If possible, I would like to do static linking of VTK.<br>
><br>
> Thanks,<br>
><br>
> sophonet<br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
><br>
> Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
<br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br></div>