[ITK Community] Linker errors on Mac 10.7 with ITK 4.5.1

Matt McCormick matt.mccormick at kitware.com
Fri Feb 28 13:58:11 EST 2014


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> 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
> http://public.kitware.com/cgi-bin/mailman/listinfo/community
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20140228/d14454e9/attachment-0002.html>


More information about the Community mailing list