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

Randy Heiland heiland at iu.edu
Sun Jan 12 09:52:34 EST 2014


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




More information about the Community mailing list