[ITK-dev] Linker errors after recent checking on Mac
Bill Lorensen
bill.lorensen at gmail.com
Wed Mar 30 16:56:53 EDT 2016
This commit:
[e1a7be21102463c7b91c456c3fbbb020f4a00cf7] BUG: Addressing VS10 and
VS11 NumericTraits linkage issue
causes link errors on my Mac clang++ compiler:
Apple clang version 3.0 (tags/Apple/clang-211.12) (based on LLVM 3.0svn)
[ 62%] Building CXX object
Modules/Core/Common/src/CMakeFiles/ITKCommon.dir/itkNumericTraits.cxx.o
Linking CXX shared library
../../../ThirdParty/VNL/src/vxl/lib/libITKCommon-4.10.dylib
Undefined symbols for architecture x86_64:
"itk::NumericTraits<char>::Zero", referenced from:
__GLOBAL__I_a in itkNumericTraitsVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsFixedArrayPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsTensorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsPointPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBAPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsCovariantVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBPixel.cxx.o
...
"itk::NumericTraits<char>::One", referenced from:
__GLOBAL__I_a in itkNumericTraitsVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsFixedArrayPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsTensorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsPointPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBAPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsCovariantVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBPixel.cxx.o
...
"itk::NumericTraits<signed char>::Zero", referenced from:
__GLOBAL__I_a in itkNumericTraitsVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsFixedArrayPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsTensorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsPointPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBAPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsCovariantVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBPixel.cxx.o
...
"itk::NumericTraits<unsigned char>::Zero", referenced from:
__GLOBAL__I_a in itkNumericTraitsVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsFixedArrayPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsTensorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsPointPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBAPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsCovariantVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBPixel.cxx.o
...
"itk::NumericTraits<unsigned char>::One", referenced from:
__GLOBAL__I_a in itkNumericTraitsVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsFixedArrayPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsTensorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsPointPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBAPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsCovariantVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBPixel.cxx.o
...
"itk::NumericTraits<unsigned short>::Zero", referenced from:
__GLOBAL__I_a in itkNumericTraitsVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsFixedArrayPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsTensorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsPointPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBAPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsCovariantVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBPixel.cxx.o
...
"itk::NumericTraits<unsigned short>::One", referenced from:
__GLOBAL__I_a in itkNumericTraitsVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsFixedArrayPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsTensorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsPointPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBAPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsCovariantVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBPixel.cxx.o
...
"itk::NumericTraits<short>::Zero", referenced from:
__GLOBAL__I_a in itkNumericTraitsVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsFixedArrayPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsTensorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsPointPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBAPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsCovariantVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBPixel.cxx.o
...
"itk::NumericTraits<short>::One", referenced from:
__GLOBAL__I_a in itkNumericTraitsVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsFixedArrayPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsTensorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsPointPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBAPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsCovariantVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBPixel.cxx.o
...
"itk::NumericTraits<signed char>::One", referenced from:
__GLOBAL__I_a in itkNumericTraitsVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsFixedArrayPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsTensorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsPointPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBAPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsCovariantVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBPixel.cxx.o
...
"itk::NumericTraits<int>::One", referenced from:
__GLOBAL__I_a in itkNumericTraitsVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsFixedArrayPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsTensorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsPointPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBAPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsCovariantVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBPixel.cxx.o
...
"itk::NumericTraits<int>::Zero", referenced from:
__GLOBAL__I_a in itkNumericTraitsVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsFixedArrayPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsTensorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsPointPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBAPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsCovariantVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBPixel.cxx.o
...
"itk::NumericTraits<unsigned int>::One", referenced from:
__GLOBAL__I_a in itkNumericTraitsVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsFixedArrayPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsTensorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsPointPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBAPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsCovariantVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBPixel.cxx.o
...
"itk::NumericTraits<unsigned int>::Zero", referenced from:
__GLOBAL__I_a in itkNumericTraitsVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsFixedArrayPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsTensorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsPointPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBAPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsCovariantVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBPixel.cxx.o
...
"itk::NumericTraits<long>::One", referenced from:
__GLOBAL__I_a in itkNumericTraitsVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsFixedArrayPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsTensorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsPointPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBAPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsCovariantVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBPixel.cxx.o
...
"itk::NumericTraits<long>::Zero", referenced from:
__GLOBAL__I_a in itkNumericTraitsVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsFixedArrayPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsTensorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsPointPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBAPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsCovariantVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBPixel.cxx.o
...
"itk::NumericTraits<unsigned long>::One", referenced from:
__GLOBAL__I_a in itkNumericTraitsVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsFixedArrayPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsTensorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsPointPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBAPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsCovariantVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBPixel.cxx.o
...
"itk::NumericTraits<unsigned long>::Zero", referenced from:
__GLOBAL__I_a in itkNumericTraitsVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsFixedArrayPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsTensorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsPointPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBAPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsCovariantVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBPixel.cxx.o
...
"itk::NumericTraits<long long>::One", referenced from:
__GLOBAL__I_a in itkNumericTraitsVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsTensorPixel2.cxx.o
__GLOBAL__I_a in itkNumericTraitsFixedArrayPixel2.cxx.o
__GLOBAL__I_a in itkNumericTraitsPointPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBAPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsCovariantVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBPixel.cxx.o
...
"itk::NumericTraits<long long>::Zero", referenced from:
__GLOBAL__I_a in itkNumericTraitsVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsTensorPixel2.cxx.o
__GLOBAL__I_a in itkNumericTraitsFixedArrayPixel2.cxx.o
__GLOBAL__I_a in itkNumericTraitsPointPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBAPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsCovariantVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBPixel.cxx.o
...
"itk::NumericTraits<unsigned long long>::Zero", referenced from:
__GLOBAL__I_a in itkNumericTraitsVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsTensorPixel2.cxx.o
__GLOBAL__I_a in itkNumericTraitsFixedArrayPixel2.cxx.o
__GLOBAL__I_a in itkNumericTraitsPointPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBAPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsCovariantVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBPixel.cxx.o
...
"itk::NumericTraits<unsigned long long>::One", referenced from:
__GLOBAL__I_a in itkNumericTraitsVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsTensorPixel2.cxx.o
__GLOBAL__I_a in itkNumericTraitsFixedArrayPixel2.cxx.o
__GLOBAL__I_a in itkNumericTraitsPointPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBAPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsCovariantVectorPixel.cxx.o
__GLOBAL__I_a in itkNumericTraitsRGBPixel.cxx.o
...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [Modules/ThirdParty/VNL/src/vxl/lib/libITKCommon-4.10.1.dylib]
Error 1
More information about the Insight-developers
mailing list