<div dir="ltr">Hi Bill,<div><br></div><div>Thanks for link to the corresponding patch on gerrit!</div><div><br></div><div>From the release branch, if you cherry-pick this commit, then it fixes the issue.</div><div><br></div><div>  $ git checkout release</div><div>  $ git cherry-pick 23fbbebc3cfc63ebf13b7321e9c198a5ad000e5c</div><div><br></div><div>It would be really great if this patch could be applied onto the release branch!!!</div><div><br></div><div>Thank you very much!!!</div><div><br></div><div>Cheers,</div><div>Arnaud</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 29, 2014 at 9:22 PM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Actually, I get a conflict when I cherry pick. A git expert will need<br>
to comment on how to update vtk6.1<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On Wed, Oct 29, 2014 at 4:16 PM, Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>> wrote:<br>
> Arnaud,<br>
><br>
> This is the gerrit patch that fixed the issue:<br>
> <a href="http://review.source.kitware.com/#/c/15423/" target="_blank">http://review.source.kitware.com/#/c/15423/</a><br>
><br>
> If you cherry pick onto your VTK source and verify that it fixes your<br>
> link error, I'll try to get it applied to VTK6.1.<br>
><br>
> Bill<br>
><br>
><br>
> On Wed, Oct 29, 2014 at 1:34 PM, Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>> wrote:<br>
>> I just verified that I see the failure with VTK 6.1, but not VTK master.<br>
>><br>
>><br>
>> On Wed, Oct 29, 2014 at 12:23 PM, Arnaud Gelas <<a href="mailto:arnaudgelas@gmail.com">arnaudgelas@gmail.com</a>> wrote:<br>
>>> David,<br>
>>><br>
>>> Thanks for the input! I will give a try to the master branch of VTK.<br>
>>><br>
>>> I have been trying:<br>
>>> * VTK 6.1 (which is the last stable release, corresponding to the latest<br>
>>> hash on the release branch)<br>
>>> * cmake 2.8.12<br>
>>><br>
>>> Not that if that has been fixed onto master, it would be great to backport<br>
>>> the corresponding patches onto the release branch???<br>
>>><br>
>>> Thank you very much!!<br>
>>><br>
>>> I'll report tomorrow morning if it works with the master branch. I gotta go<br>
>>> now...<br>
>>><br>
>>> Best,<br>
>>> Arnaud<br>
>>><br>
>>> On Wed, Oct 29, 2014 at 5:19 PM, David Cole <<a href="mailto:DLRdave@aol.com">DLRdave@aol.com</a>> wrote:<br>
>>>><br>
>>>> Are you all using the same VTK here? I think older VTK trees have problems<br>
>>>> with Qt5, but recent 'master' should work fine... Also, same version of<br>
>>>> CMake? Or are you using older CMake?<br>
>>>><br>
>>>> I think this is largely fixed already if you use the latest 'master'<br>
>>>> versions of CMake, VTK and Qt5.<br>
>>>><br>
>>>> (But I could be wrong.... I've not used Qt5 personally yet. Just recalling<br>
>>>> things I've read on the lists recently....)<br>
>>>><br>
>>>> HTH,<br>
>>>> D<br>
>>>><br>
>>>><br>
>>>> On Wed, Oct 29, 2014 at 12:13 PM, Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>><br>
>>>> wrote:<br>
>>>>><br>
>>>>> Built the arrow example against an installed ITK with Qt5 on fedora.<br>
>>>>><br>
>>>>> Arnaud,<br>
>>>>><br>
>>>>> Can you provide the link.txt file in the Arrow bin tree?<br>
>>>>><br>
>>>>> Bill<br>
>>>>><br>
>>>>> On Wed, Oct 29, 2014 at 11:50 AM, Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>><br>
>>>>> wrote:<br>
>>>>> > Great. That means it is a VTK issue. I'm downloading qt5 on my fedora<br>
>>>>> > system. I'll see if I can reproduce there.<br>
>>>>> ><br>
>>>>> ><br>
>>>>> > On Wed, Oct 29, 2014 at 11:46 AM, Arnaud Gelas <<a href="mailto:arnaudgelas@gmail.com">arnaudgelas@gmail.com</a>><br>
>>>>> > wrote:<br>
>>>>> >> Bill,<br>
>>>>> >><br>
>>>>> >> Same link error with this example...<br>
>>>>> >><br>
>>>>> >><br>
>>>>> >> On Wed, Oct 29, 2014 at 4:31 PM, Bill Lorensen<br>
>>>>> >> <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>><br>
>>>>> >> wrote:<br>
>>>>> >>><br>
>>>>> >>> Arnaud,<br>
>>>>> >>><br>
>>>>> >>> Can you try to build one of the ITK wiki examples against your<br>
>>>>> >>> installed VTK? This might help narrow down the problem. Whether it is<br>
>>>>> >>> a VTK of ITK issue.<br>
>>>>> >>> <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Arrow" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Arrow</a><br>
>>>>> >>><br>
>>>>> >>> Bill<br>
>>>>> >>><br>
>>>>> >>> On Wed, Oct 29, 2014 at 11:11 AM, Arnaud Gelas<br>
>>>>> >>> <<a href="mailto:arnaudgelas@gmail.com">arnaudgelas@gmail.com</a>><br>
>>>>> >>> wrote:<br>
>>>>> >>> > Mike,<br>
>>>>> >>> ><br>
>>>>> >>> > It is difficult to refer to one single CMakeLists.txt, since it is<br>
>>>>> >>> > tied<br>
>>>>> >>> > up<br>
>>>>> >>> > to ITK's modularization.<br>
>>>>> >>> ><br>
>>>>> >>> > But here are the files to look at:<br>
>>>>> >>> ><br>
>>>>> >>> ><br>
>>>>> >>> ><br>
>>>>> >>> > <a href="https://github.com/Kitware/ITK/blob/master/Modules/Bridge/VtkGlue/CMakeLists.txt" target="_blank">https://github.com/Kitware/ITK/blob/master/Modules/Bridge/VtkGlue/CMakeLists.txt</a><br>
>>>>> >>> ><br>
>>>>> >>> ><br>
>>>>> >>> > <a href="https://github.com/Kitware/ITK/blob/master/Modules/Bridge/VtkGlue/itk-module-init.cmake" target="_blank">https://github.com/Kitware/ITK/blob/master/Modules/Bridge/VtkGlue/itk-module-init.cmake</a><br>
>>>>> >>> ><br>
>>>>> >>> ><br>
>>>>> >>> > <a href="https://github.com/Kitware/ITK/blob/master/Modules/Bridge/VtkGlue/itk-module.cmake" target="_blank">https://github.com/Kitware/ITK/blob/master/Modules/Bridge/VtkGlue/itk-module.cmake</a><br>
>>>>> >>> ><br>
>>>>> >>> > Best<br>
>>>>> >>> > Arnaud<br>
>>>>> >>> ><br>
>>>>> >>> > On Wed, Oct 29, 2014 at 4:03 PM, Mike Chinander<br>
>>>>> >>> > <<a href="mailto:chinander@gmail.com">chinander@gmail.com</a>><br>
>>>>> >>> > wrote:<br>
>>>>> >>> >><br>
>>>>> >>> >> Can you share your CMakeLists.txt file? Are you using something<br>
>>>>> >>> >> like<br>
>>>>> >>> >> the<br>
>>>>> >>> >> following commands:<br>
>>>>> >>> >><br>
>>>>> >>> >> ADD_EXECUTABLE(myexe ${MYSRCS})<br>
>>>>> >>> >> TARGET_LINK_LIBRARIES(myexe Qt5::Widgets ${ITK_LIBRARIES}<br>
>>>>> >>> >> ${VTK_LIBRARIES})<br>
>>>>> >>> >><br>
>>>>> >>> >> On Wed, Oct 29, 2014 at 9:48 AM, Arnaud Gelas<br>
>>>>> >>> >> <<a href="mailto:arnaudgelas@gmail.com">arnaudgelas@gmail.com</a>><br>
>>>>> >>> >> wrote:<br>
>>>>> >>> >>><br>
>>>>> >>> >>> Bill,<br>
>>>>> >>> >>><br>
>>>>> >>> >>> I can also confirm everything builds fine if VTK is not compiled<br>
>>>>> >>> >>> with<br>
>>>>> >>> >>> Qt5<br>
>>>>> >>> >>> (which is part of my requirements...)<br>
>>>>> >>> >>><br>
>>>>> >>> >>><br>
>>>>> >>> >>><br>
>>>>> >>> >>> On Wed, Oct 29, 2014 at 3:37 PM, Bill Lorensen<br>
>>>>> >>> >>> <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>><br>
>>>>> >>> >>> wrote:<br>
>>>>> >>> >>>><br>
>>>>> >>> >>>> Arnaud,<br>
>>>>> >>> >>>><br>
>>>>> >>> >>>> I just tried an ITK build against an installed VTK and it built<br>
>>>>> >>> >>>> just<br>
>>>>> >>> >>>> fine.<br>
>>>>> >>> >>>><br>
>>>>> >>> >>>> Bill<br>
>>>>> >>> >>>><br>
>>>>> >>> >>>><br>
>>>>> >>> >>>> On Wed, Oct 29, 2014 at 8:32 AM, Bill Lorensen<br>
>>>>> >>> >>>> <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>><br>
>>>>> >>> >>>> wrote:<br>
>>>>> >>> >>>> > I did not build against an installed VTK.<br>
>>>>> >>> >>>> ><br>
>>>>> >>> >>>> > On Wed, Oct 29, 2014 at 8:23 AM, Arnaud Gelas<br>
>>>>> >>> >>>> > <<a href="mailto:arnaudgelas@gmail.com">arnaudgelas@gmail.com</a>><br>
>>>>> >>> >>>> > wrote:<br>
>>>>> >>> >>>> >> Bill,<br>
>>>>> >>> >>>> >><br>
>>>>> >>> >>>> >> It seems builds fine as long as Qt5 is not involved in the<br>
>>>>> >>> >>>> >> process<br>
>>>>> >>> >>>> >> (?)<br>
>>>>> >>> >>>> >><br>
>>>>> >>> >>>> >> I just wonder if there is not something missing in vtk's<br>
>>>>> >>> >>>> >> cmake<br>
>>>>> >>> >>>> >> installed<br>
>>>>> >>> >>>> >> files to help finding Qt5::Widgets (?), or if we could only<br>
>>>>> >>> >>>> >> use<br>
>>>>> >>> >>>> >> required<br>
>>>>> >>> >>>> >> libraries from vtk which should not depend on Qt5 (?)<br>
>>>>> >>> >>>> >><br>
>>>>> >>> >>>> >> Thanks,<br>
>>>>> >>> >>>> >> Arnaud<br>
>>>>> >>> >>>> >><br>
>>>>> >>> >>>> >> On Wed, Oct 29, 2014 at 1:15 PM, Bill Lorensen<br>
>>>>> >>> >>>> >> <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>><br>
>>>>> >>> >>>> >> wrote:<br>
>>>>> >>> >>>> >>><br>
>>>>> >>> >>>> >>> Arnaud,<br>
>>>>> >>> >>>> >>><br>
>>>>> >>> >>>> >>> I build ITK with itkVtkGlue fine on my Mac, but I build<br>
>>>>> >>> >>>> >>> against<br>
>>>>> >>> >>>> >>> the<br>
>>>>> >>> >>>> >>> nightly VTK. I'm not sure if that makes a difference.<br>
>>>>> >>> >>>> >>><br>
>>>>> >>> >>>> >>> Bill<br>
>>>>> >>> >>>> >>><br>
>>>>> >>> >>>> >>><br>
>>>>> >>> >>>> >>> On Wed, Oct 29, 2014 at 6:26 AM, Arnaud Gelas<br>
>>>>> >>> >>>> >>> <<a href="mailto:arnaudgelas@gmail.com">arnaudgelas@gmail.com</a>><br>
>>>>> >>> >>>> >>> wrote:<br>
>>>>> >>> >>>> >>> > Hi all,<br>
>>>>> >>> >>>> >>> ><br>
>>>>> >>> >>>> >>> > I am trying to compile on mac (10.8.5) ITKVtkGlue with vtk<br>
>>>>> >>> >>>> >>> > 6.1.0<br>
>>>>> >>> >>>> >>> > (built<br>
>>>>> >>> >>>> >>> > with Qt5). Note I use cmake 2.8.12...<br>
>>>>> >>> >>>> >>> ><br>
>>>>> >>> >>>> >>> > I get link 1 error:<br>
>>>>> >>> >>>> >>> > ld library not found for -lQt5::Widgets<br>
>>>>> >>> >>>> >>> ><br>
>>>>> >>> >>>> >>> > Any idea how to fix it?<br>
>>>>> >>> >>>> >>> ><br>
>>>>> >>> >>>> >>> > Thanks,<br>
>>>>> >>> >>>> >>> > Arnaud<br>
>>>>> >>> >>>> >>> > _____________________________________<br>
>>>>> >>> >>>> >>> > Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>>>>> >>> >>>> >>> ><br>
>>>>> >>> >>>> >>> > Visit other Kitware open-source projects at<br>
>>>>> >>> >>>> >>> > <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>>>>> >>> >>>> >>> ><br>
>>>>> >>> >>>> >>> > Kitware offers ITK Training Courses, for more information<br>
>>>>> >>> >>>> >>> > visit:<br>
>>>>> >>> >>>> >>> > <a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
>>>>> >>> >>>> >>> ><br>
>>>>> >>> >>>> >>> > Please keep messages on-topic and check the ITK FAQ at:<br>
>>>>> >>> >>>> >>> > <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
>>>>> >>> >>>> >>> ><br>
>>>>> >>> >>>> >>> > Follow this link to subscribe/unsubscribe:<br>
>>>>> >>> >>>> >>> > <a href="http://public.kitware.com/mailman/listinfo/insight-users" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br>
>>>>> >>> >>>> >>><br>
>>>>> >>> >>>> >>><br>
>>>>> >>> >>>> >>><br>
>>>>> >>> >>>> >>> --<br>
>>>>> >>> >>>> >>> Unpaid intern in BillsBasement at noware dot com<br>
>>>>> >>> >>>> >><br>
>>>>> >>> >>>> >><br>
>>>>> >>> >>>> ><br>
>>>>> >>> >>>> ><br>
>>>>> >>> >>>> ><br>
>>>>> >>> >>>> > --<br>
>>>>> >>> >>>> > Unpaid intern in BillsBasement at noware dot com<br>
>>>>> >>> >>>><br>
>>>>> >>> >>>><br>
>>>>> >>> >>>><br>
>>>>> >>> >>>> --<br>
>>>>> >>> >>>> Unpaid intern in BillsBasement at noware dot com<br>
>>>>> >>> >>><br>
>>>>> >>> >>><br>
>>>>> >>> >>><br>
>>>>> >>> >>> _____________________________________<br>
>>>>> >>> >>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>>>>> >>> >>><br>
>>>>> >>> >>> Visit other Kitware open-source projects at<br>
>>>>> >>> >>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>>>>> >>> >>><br>
>>>>> >>> >>> Kitware offers ITK Training Courses, for more information visit:<br>
>>>>> >>> >>> <a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
>>>>> >>> >>><br>
>>>>> >>> >>> Please keep messages on-topic and check the ITK FAQ at:<br>
>>>>> >>> >>> <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
>>>>> >>> >>><br>
>>>>> >>> >>> Follow this link to subscribe/unsubscribe:<br>
>>>>> >>> >>> <a href="http://public.kitware.com/mailman/listinfo/insight-users" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br>
>>>>> >>> >>><br>
>>>>> >>> >><br>
>>>>> >>> >><br>
>>>>> >>> >> _____________________________________<br>
>>>>> >>> >> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>>>>> >>> >><br>
>>>>> >>> >> Visit other Kitware open-source projects at<br>
>>>>> >>> >> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>>>>> >>> >><br>
>>>>> >>> >> Kitware offers ITK Training Courses, for more information visit:<br>
>>>>> >>> >> <a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
>>>>> >>> >><br>
>>>>> >>> >> Please keep messages on-topic and check the ITK FAQ at:<br>
>>>>> >>> >> <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
>>>>> >>> >><br>
>>>>> >>> >> Follow this link to subscribe/unsubscribe:<br>
>>>>> >>> >> <a href="http://public.kitware.com/mailman/listinfo/insight-users" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br>
>>>>> >>> >><br>
>>>>> >>> ><br>
>>>>> >>> ><br>
>>>>> >>> > _____________________________________<br>
>>>>> >>> > Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>>>>> >>> ><br>
>>>>> >>> > Visit other Kitware open-source projects at<br>
>>>>> >>> > <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>>>>> >>> ><br>
>>>>> >>> > Kitware offers ITK Training Courses, for more information visit:<br>
>>>>> >>> > <a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
>>>>> >>> ><br>
>>>>> >>> > Please keep messages on-topic and check the ITK FAQ at:<br>
>>>>> >>> > <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
>>>>> >>> ><br>
>>>>> >>> > Follow this link to subscribe/unsubscribe:<br>
>>>>> >>> > <a href="http://public.kitware.com/mailman/listinfo/insight-users" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br>
>>>>> >>> ><br>
>>>>> >>><br>
>>>>> >>><br>
>>>>> >>><br>
>>>>> >>> --<br>
>>>>> >>> Unpaid intern in BillsBasement at noware dot com<br>
>>>>> >><br>
>>>>> >><br>
>>>>> ><br>
>>>>> ><br>
>>>>> ><br>
>>>>> > --<br>
>>>>> > Unpaid intern in BillsBasement at noware dot com<br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>> --<br>
>>>>> Unpaid intern in BillsBasement at noware dot com<br>
>>>>> _____________________________________<br>
>>>>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>>>>><br>
>>>>> Visit other Kitware open-source projects at<br>
>>>>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>>>>><br>
>>>>> Kitware offers ITK Training Courses, for more information visit:<br>
>>>>> <a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
>>>>><br>
>>>>> Please keep messages on-topic and check the ITK FAQ at:<br>
>>>>> <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
>>>>><br>
>>>>> Follow this link to subscribe/unsubscribe:<br>
>>>>> <a href="http://public.kitware.com/mailman/listinfo/insight-users" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br>
>>>><br>
>>>><br>
>>><br>
>><br>
>><br>
>><br>
>> --<br>
>> Unpaid intern in BillsBasement at noware dot com<br>
><br>
><br>
><br>
> --<br>
> Unpaid intern in BillsBasement at noware dot com<br>
<br>
<br>
<br>
--<br>
Unpaid intern in BillsBasement at noware dot com<br>
</div></div></blockquote></div><br></div>