[ITK Community] error building on OSX 10.8.5 w/ python

Michka Popoff michkapopoff at gmail.com
Sun Jan 12 10:21:26 EST 2014


Hi

This error is coming from the tests in CheckFixedArrayTraits (itkNumericTraitsTest.cxx), I did not launch the tests for the moment, but I can provide also a fix for these if you want the tests to be run. It will take me some time. Can you disable the tests for the moment if the goal is just to get it installed ?
The fix is under discussion for the moment and was not merged to ITK, when doing a fresh checkout be sure to apply the patch.


Michka

On 12 janv. 2014, at 15:52, Randy Heiland <heiland at iu.edu> wrote:

> Hello,
> 
> I just did a fresh checkout from git and still get an error, in spite of the recent change (http://review.source.kitware.com/#/c/14033/ )
> 
> $ c++ --version
> Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
> Target: x86_64-apple-darwin12.5.0
> Thread model: posix
> 
> $ /Users/heiland/dev/ITK/InsightToolkit-git-build/Wrapping/Generators/GccXML/gccxml/bin/gccxml --version
> GCC-XML version 0.9.0
> 
> $ cmake -DBUILD_SHARED_LIBS:BOOL=ON -DITK_WRAP_PYTHON:BOOL=ON ~/git/ITK
> $ make
> ...
>  "itk::NumericTraits<itk::RGBAPixel<unsigned long> >::Zero", referenced from:
>      void CheckFixedArrayTraits<itk::RGBAPixel<unsigned long> >(itk::RGBAPixel<unsigned long> const&) in itkNumericTraitsTest.cxx.o
>  "itk::NumericTraits<itk::RGBAPixel<short> >::One", referenced from:
>      void CheckFixedArrayTraits<itk::RGBAPixel<short> >(itk::RGBAPixel<short> const&) in itkNumericTraitsTest.cxx.o
>  "itk::NumericTraits<itk::RGBAPixel<short> >::Zero", referenced from:
>      void CheckFixedArrayTraits<itk::RGBAPixel<short> >(itk::RGBAPixel<short> const&) in itkNumericTraitsTest.cxx.o
>  "itk::NumericTraits<itk::RGBAPixel<unsigned short> >::One", referenced from:
>      void CheckFixedArrayTraits<itk::RGBAPixel<unsigned short> >(itk::RGBAPixel<unsigned short> const&) in itkNumericTraitsTest.cxx.o
>  "itk::NumericTraits<itk::RGBAPixel<unsigned short> >::Zero", referenced from:
>      void CheckFixedArrayTraits<itk::RGBAPixel<unsigned short> >(itk::RGBAPixel<unsigned short> const&) in itkNumericTraitsTest.cxx.o
>  "itk::NumericTraits<itk::RGBAPixel<long long> >::One", referenced from:
>      void CheckFixedArrayTraits<itk::RGBAPixel<long long> >(itk::RGBAPixel<long long> const&) in itkNumericTraitsTest.cxx.o
>  "itk::NumericTraits<itk::RGBAPixel<long long> >::Zero", referenced from:
>      void CheckFixedArrayTraits<itk::RGBAPixel<long long> >(itk::RGBAPixel<long long> const&) in itkNumericTraitsTest.cxx.o
>  "itk::NumericTraits<itk::RGBAPixel<unsigned long long> >::One", referenced from:
>      void CheckFixedArrayTraits<itk::RGBAPixel<unsigned long long> >(itk::RGBAPixel<unsigned long long> const&) in itkNumericTraitsTest.cxx.o
>  "itk::NumericTraits<itk::RGBAPixel<unsigned long long> >::Zero", referenced from:
>      void CheckFixedArrayTraits<itk::RGBAPixel<unsigned long long> >(itk::RGBAPixel<unsigned long long> const&) in itkNumericTraitsTest.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
> 
> thanks, Randy
> 
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/community




More information about the Community mailing list