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

Matt McCormick matt.mccormick at kitware.com
Wed Mar 5 11:17:52 EST 2014


Hi Andreas,


On Wed, Mar 5, 2014 at 10:32 AM, Fetzer, Andreas <
a.fetzer at dkfz-heidelberg.de> wrote:

> Hi Matt,
>
>
>
> yes I have seen that the patch was merge into your release branch. However
> I still get linker errors. This time for itk::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 already know to you?
>

No.  If this platform is important to you, please consider setting up a
Nightly dashboard submission [1].  Inspecting the code, I do not see the
issue.  The symbol appears to be created [2] with the correct exports [3].
 Maybe a dashboard submission will show details that will help us work
together to fix the issue.


> When will the 4.5.2 be released?
>
> Our own release is scheduled for the end of March. Before that we would
> like to solve the linker errors in ITK.
>
>
>

If we can get issue fixed, we would be happy to coordinate with you and get
4.5.2 released in later in March before your release.

Thanks,
Matt

[1]  http://www.itk.org/Wiki/ITK/Git/Dashboard

[2]
http://itk.org/gitweb?p=ITK.git;a=blob;f=Modules/Core/Common/include/itkNumericTraitsFixedArrayPixel.h;h=1db158e8800fb156b8ae1cb491ac6020f2a6b296;hb=HEAD#l187

[3]
http://itk.org/gitweb?p=ITK.git;a=blob;f=Modules/Core/Common/src/itkNumericTraitsCovariantVectorPixel.cxx;h=e63057e8b6ad4eae24844f077caec2ea486d0f96;hb=HEAD#l22
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20140305/3e06fb3e/attachment-0002.html>


More information about the Community mailing list