[ITK Community] Linker errors on Mac 10.7 with ITK 4.5.1
Fetzer, Andreas
a.fetzer at Dkfz-Heidelberg.de
Wed Mar 5 10:08:45 EST 2014
Hi all,
is there any update regarding the linker errors on Mac with clang?
Another question: Will there be a separate bugfix release which include the fixes for clang?
Thanks
Andreas
From: Community [mailto:community-bounces at itk.org] On Behalf Of Fetzer, Andreas
Sent: Montag, 3. März 2014 12:02
To: 'Matt McCormick'
Cc: community at itk.org
Subject: Re: [ITK Community] Linker errors on Mac 10.7 with ITK 4.5.1
Hi Matt,
Thank you for your reply!
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:
Linking CXX executable ../../../../bin/ITKCommon1TestDriver
Undefined symbols for architecture x86_64:
"itk::NumericTraits<itk::CovariantVector<char, 1u> >::Zero", referenced from:
void CheckFixedArrayTraits<itk::CovariantVector<char, 1u> >(itk::CovariantVector<char, 1u> const&) in itkNumericTraitsTest.cxx.o
"itk::NumericTraits<itk::CovariantVector<char, 1u> >::One", referenced from:
void CheckFixedArrayTraits<itk::CovariantVector<char, 1u> >(itk::CovariantVector<char, 1u> const&) in itkNumericTraitsTest.cxx.o
"itk::NumericTraits<itk::CovariantVector<signed char, 1u> >::Zero", referenced from:
void CheckFixedArrayTraits<itk::CovariantVector<signed char, 1u> >(itk::CovariantVector<signed char, 1u> const&) in itkNumericTraitsTest.cxx.o
"itk::NumericTraits<itk::CovariantVector<signed char, 1u> >::One", referenced from:
void CheckFixedArrayTraits<itk::CovariantVector<signed char, 1u> >(itk::CovariantVector<signed char, 1u> const&) in itkNumericTraitsTest.cxx.o
"itk::NumericTraits<itk::CovariantVector<unsigned char, 1u> >::Zero", referenced from:
void CheckFixedArrayTraits<itk::CovariantVector<unsigned char, 1u> >(itk::CovariantVector<unsigned char, 1u> const&) in itkNumericTraitsTest.cxx.o
....
....
Is this a different issue?
Thanks
Andreas
From: Matt McCormick [mailto:matt.mccormick at kitware.com]
Sent: Freitag, 28. Februar 2014 19:58
To: Fetzer, Andreas
Cc: community at itk.org
Subject: Re: [ITK Community] Linker errors on Mac 10.7 with ITK 4.5.1
Hi Andreas,
This problem is being worked on here:
http://review.source.kitware.com/#/c/14575/
Any help reviewing and testing the patch is appreciated.
Thanks,
Matt
On Fri, Feb 28, 2014 at 6:36 AM, Fetzer, Andreas <a.fetzer at dkfz-heidelberg.de<mailto:a.fetzer at dkfz-heidelberg.de>> wrote:
Hi list,
we recently upgrade ITK in our project to version 4.5.1. Now I get linker errors (attached below)
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).
We build ITK as shared libraries.
To eliminate the possibility that we made some configuration misstake I checked out ITK separately and build it from
scratch. This lead to the same errors.
It this a know issue and is there already a solution?
Many thanks
Andreas
Error ouput:
Linking CXX executable ../../../../bin/ITKCommon1TestDriver
Undefined symbols for architecture x86_64:
"itk::SmartPointerForwardReference<itk::ProcessObject>::operator itk::ProcessObject*() const", referenced from:
itk::ImageBase<2u>::UpdateOutputInformation() in ITKCommon1TestDriver.cxx.o
itk::ImageBase<6u>::UpdateOutputInformation() in ITKCommon1TestDriver.cxx.o
itk::ImageFileWriter<itk::Image<unsigned char, 2u> >::Write() in ITKCommon1TestDriver.cxx.o
itk::ImageBase<2u>::UpdateOutputInformation() in itkAbortProcessObjectTest.cxx.o
itk::ImageBase<3u>::UpdateOutputInformation() in itkAdaptorComparisonTest.cxx.o
itk::ImageBase<2u>::UpdateOutputInformation() in itkExtractImage3Dto2DTest.cxx.o
itk::ImageBase<3u>::UpdateOutputInformation() in itkExtractImage3Dto2DTest.cxx.o
...
"itk::SmartPointerForwardReference<itk::ProcessObject>::~SmartPointerForwardReference()", referenced from:
itk::ImageBase<2u>::UpdateOutputInformation() in ITKCommon1TestDriver.cxx.o
itk::ImageBase<6u>::UpdateOutputInformation() in ITKCommon1TestDriver.cxx.o
itk::ImageFileWriter<itk::Image<unsigned char, 2u> >::Write() in ITKCommon1TestDriver.cxx.o
itk::ImageBase<2u>::UpdateOutputInformation() in itkAbortProcessObjectTest.cxx.o
itk::ImageBase<3u>::UpdateOutputInformation() in itkAdaptorComparisonTest.cxx.o
itk::ImageBase<2u>::UpdateOutputInformation() in itkExtractImage3Dto2DTest.cxx.o
itk::ImageBase<3u>::UpdateOutputInformation() in itkExtractImage3Dto2DTest.cxx.o
...
"itk::SmartPointerForwardReference<itk::ProcessObject>::operator->() const", referenced from:
itk::ImageBase<2u>::UpdateOutputInformation() in ITKCommon1TestDriver.cxx.o
itk::ImageBase<6u>::UpdateOutputInformation() in ITKCommon1TestDriver.cxx.o
itk::ImageBase<2u>::UpdateOutputInformation() in itkAbortProcessObjectTest.cxx.o
itk::ImageBase<3u>::UpdateOutputInformation() in itkAdaptorComparisonTest.cxx.o
itk::ImageBase<2u>::UpdateOutputInformation() in itkExtractImage3Dto2DTest.cxx.o
itk::ImageBase<3u>::UpdateOutputInformation() in itkExtractImage3Dto2DTest.cxx.o
itk::ImageBase<1u>::UpdateOutputInformation() in itkExtractImageTest.cxx.o
_______________________________________________
Community mailing list
Community at itk.org<mailto:Community at itk.org>
http://public.kitware.com/cgi-bin/mailman/listinfo/community
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20140305/3c8e35e2/attachment-0002.html>
More information about the Community
mailing list