<div dir="ltr">Hi Andreas,<div><br></div><div>The referenced patch was merged. For more information on how to build again this version, see [1]. Your experiences are appreciated. The patch will be included in the next bugfix release, 4.5.2.</div>
<div><br></div><div>Thanks,</div><div>Matt</div><div><br></div><div><br></div><div>[1] <a href="http://www.itk.org/Wiki/ITK/Git">http://www.itk.org/Wiki/ITK/Git</a></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Mar 5, 2014 at 10:08 AM, Fetzer, Andreas <span dir="ltr"><<a href="mailto:a.fetzer@dkfz-heidelberg.de" target="_blank">a.fetzer@dkfz-heidelberg.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="DE" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi all,<u></u><u></u></span></p><p class="MsoNormal">
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">is there any update regarding the linker errors on Mac with clang?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Another question: Will there be a separate bugfix release which include the fixes for clang?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Andreas<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Community [mailto:<a href="mailto:community-bounces@itk.org" target="_blank">community-bounces@itk.org</a>] <b>On Behalf Of </b>Fetzer, Andreas<br>
<b>Sent:</b> Montag, 3. März 2014 12:02<br><b>To:</b> 'Matt McCormick'</span></p><div><div class="h5"><br><b>Cc:</b> <a href="mailto:community@itk.org" target="_blank">community@itk.org</a><br><b>Subject:</b> Re: [ITK Community] Linker errors on Mac 10.7 with ITK 4.5.1<u></u><u></u></div>
</div><p></p></div></div><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi Matt,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thank you for your reply!<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I tried to compile the branch but unfortunately I still get linker errors. This time at a different place and not for the SmartPointerForwardReference but NumericTraits:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Linking CXX executable ../../../../bin/ITKCommon1TestDriver<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Undefined symbols for architecture x86_64:<u></u><u></u></span></p><p class="MsoNormal">
<span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> "itk::NumericTraits<itk::CovariantVector<char, 1u> >::Zero", referenced from:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> void CheckFixedArrayTraits<itk::CovariantVector<char, 1u> >(itk::CovariantVector<char, 1u> const&) in itkNumericTraitsTest.cxx.o<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> "itk::NumericTraits<itk::CovariantVector<char, 1u> >::One", referenced from:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> void CheckFixedArrayTraits<itk::CovariantVector<char, 1u> >(itk::CovariantVector<char, 1u> const&) in itkNumericTraitsTest.cxx.o<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> "itk::NumericTraits<itk::CovariantVector<signed char, 1u> >::Zero", referenced from:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> void CheckFixedArrayTraits<itk::CovariantVector<signed char, 1u> >(itk::CovariantVector<signed char, 1u> const&) in itkNumericTraitsTest.cxx.o<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> "itk::NumericTraits<itk::CovariantVector<signed char, 1u> >::One", referenced from:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> void CheckFixedArrayTraits<itk::CovariantVector<signed char, 1u> >(itk::CovariantVector<signed char, 1u> const&) in itkNumericTraitsTest.cxx.o<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> "itk::NumericTraits<itk::CovariantVector<unsigned char, 1u> >::Zero", referenced from:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> void CheckFixedArrayTraits<itk::CovariantVector<unsigned char, 1u> >(itk::CovariantVector<unsigned char, 1u> const&) in itkNumericTraitsTest.cxx.o<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">….<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">….<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Is this a different issue?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Andreas<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Matt McCormick [mailto:<a href="mailto:matt.mccormick@kitware.com" target="_blank">matt.mccormick@kitware.com</a>] <br>
<b>Sent:</b> Freitag, 28. Februar 2014 19:58<br><b>To:</b> Fetzer, Andreas<br><b>Cc:</b> <a href="mailto:community@itk.org" target="_blank">community@itk.org</a><br><b>Subject:</b> Re: [ITK Community] Linker errors on Mac 10.7 with ITK 4.5.1<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">Hi Andreas,<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">This problem is being worked on here:<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"> <a href="http://review.source.kitware.com/#/c/14575/" target="_blank">http://review.source.kitware.com/#/c/14575/</a><u></u><u></u></p></div>
<div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Any help reviewing and testing the patch is appreciated.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">
Thanks,<u></u><u></u></p></div><div><p class="MsoNormal">Matt<u></u><u></u></p></div></div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p><div><p class="MsoNormal">On Fri, Feb 28, 2014 at 6:36 AM, Fetzer, Andreas <<a href="mailto:a.fetzer@dkfz-heidelberg.de" target="_blank">a.fetzer@dkfz-heidelberg.de</a>> wrote:<u></u><u></u></p>
<div><div><p class="MsoNormal"><span lang="EN-US">Hi list,</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">we recently upgrade ITK in our project to version 4.5.1. Now I get linker errors (attached below)</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">My system is Mac OS X 10.7.5 with Apple clang version 3.1 (tags/Apple/clang-318.0.54) (based on LLVM 3.1svn).</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">We build ITK as shared libraries.</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">To eliminate the possibility that we made some configuration misstake I checked out ITK separately and build it from</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">scratch. This lead to the same errors.</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">It this a know issue and is there already a solution?</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">Many thanks</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">Andreas</span><u></u><u></u></p><p class="MsoNormal">
<span lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">Error ouput:</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">Linking CXX executable ../../../../bin/ITKCommon1TestDriver</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Undefined symbols for architecture x86_64:</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> "itk::SmartPointerForwardReference<itk::ProcessObject>::operator itk::ProcessObject*() const", referenced from:</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> itk::ImageBase<2u>::UpdateOutputInformation() in ITKCommon1TestDriver.cxx.o</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> itk::ImageBase<6u>::UpdateOutputInformation() in ITKCommon1TestDriver.cxx.o</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> itk::ImageFileWriter<itk::Image<unsigned char, 2u> >::Write() in ITKCommon1TestDriver.cxx.o</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> itk::ImageBase<2u>::UpdateOutputInformation() in itkAbortProcessObjectTest.cxx.o</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> itk::ImageBase<3u>::UpdateOutputInformation() in itkAdaptorComparisonTest.cxx.o</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> itk::ImageBase<2u>::UpdateOutputInformation() in itkExtractImage3Dto2DTest.cxx.o</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> itk::ImageBase<3u>::UpdateOutputInformation() in itkExtractImage3Dto2DTest.cxx.o</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> ...</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> "itk::SmartPointerForwardReference<itk::ProcessObject>::~SmartPointerForwardReference()", referenced from:</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> itk::ImageBase<2u>::UpdateOutputInformation() in ITKCommon1TestDriver.cxx.o</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> itk::ImageBase<6u>::UpdateOutputInformation() in ITKCommon1TestDriver.cxx.o</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> itk::ImageFileWriter<itk::Image<unsigned char, 2u> >::Write() in ITKCommon1TestDriver.cxx.o</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> itk::ImageBase<2u>::UpdateOutputInformation() in itkAbortProcessObjectTest.cxx.o</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> itk::ImageBase<3u>::UpdateOutputInformation() in itkAdaptorComparisonTest.cxx.o</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> itk::ImageBase<2u>::UpdateOutputInformation() in itkExtractImage3Dto2DTest.cxx.o</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> itk::ImageBase<3u>::UpdateOutputInformation() in itkExtractImage3Dto2DTest.cxx.o</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> ...</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> "itk::SmartPointerForwardReference<itk::ProcessObject>::operator->() const", referenced from:</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> itk::ImageBase<2u>::UpdateOutputInformation() in ITKCommon1TestDriver.cxx.o</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> itk::ImageBase<6u>::UpdateOutputInformation() in ITKCommon1TestDriver.cxx.o</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> itk::ImageBase<2u>::UpdateOutputInformation() in itkAbortProcessObjectTest.cxx.o</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> itk::ImageBase<3u>::UpdateOutputInformation() in itkAdaptorComparisonTest.cxx.o</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> itk::ImageBase<2u>::UpdateOutputInformation() in itkExtractImage3Dto2DTest.cxx.o</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> itk::ImageBase<3u>::UpdateOutputInformation() in itkExtractImage3Dto2DTest.cxx.o</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> itk::ImageBase<1u>::UpdateOutputInformation() in itkExtractImageTest.cxx.o</span><u></u><u></u></p></div></div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>_______________________________________________<br>
Community mailing list<br><a href="mailto:Community@itk.org" target="_blank">Community@itk.org</a><br><a href="http://public.kitware.com/cgi-bin/mailman/listinfo/community" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/community</a><u></u><u></u></p>
</div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></div></blockquote></div><br></div>