[Insight-users] [ITK Community] Problem with building ITK with python wrapper on Mac 10.8.5 with clang 5.0

Emil Rozbicki emilroz at gmail.com
Tue Dec 17 18:02:22 EST 2013


Hi,

it choked again but this time here:

Linking CXX shared module ../../../lib/_ITKImageIntensityPython.so
cd /tmp/insighttoolkit-fvnJ/InsightToolkit-4.5.0/itk-build/Wrapping/Modules/ITKImageIntensity && /usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_link_script CMakeFiles/ITKImageIntensityPython.dir/link.txt --verbose=1
/usr/local/Library/ENV/4.3/clang++    -Wall -Wno-long-double -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wshadow -Wunused -Wwrite-strings -funit-at-a-time -Wno-strict-overflow -Wno-unused-local-typedefs -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wstrict-null-sentinel    -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -bundle -Wl,-headerpad_max_install_names      -o ../../../lib/_ITKImageIntensityPython.so CMakeFiles/ITKImageIntensityPython.dir/ITKImageIntensityPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkAbsImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkAcosImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkAddImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkAndImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkAsinImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkAtan2ImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkAtanImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkBinaryMagnitudeImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkBoundedReciprocalImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkClampImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkComplexToImaginaryImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkComplexToModulusImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkComplexToPhaseImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkComplexToRealImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkConstrainedValueAdditionImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkConstrainedValueDifferenceImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkCosImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkDivideImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkEdgePotentialImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkExpImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkExpNegativeImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkHistogramMatchingImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkIntensityWindowingImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkInvertIntensityImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkLog10ImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkLogImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkMaskImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkMaskNegatedImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkMaximumImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkMinimumImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkModulusImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkMultiplyImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkNaryAddImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkNaryMaximumImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkNormalizeImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkNormalizeToConstantImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkNotImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkOrImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkPowImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkRGBToLuminanceImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkRescaleIntensityImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkRoundImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkShiftScaleImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkSigmoidImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkSinImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkSqrtImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkSquareImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkSubtractImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkTanImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkTernaryAddImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkTernaryMagnitudeImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkTernaryMagnitudeSquaredImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkVectorExpandImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkVectorIndexSelectionCastImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkVectorMagnitudeImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkVectorRescaleIntensityImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkWeightedAddImageFilterPython.cpp.o CMakeFiles/ITKImageIntensityPython.dir/itkXorImageFilterPython.cpp.o -F/usr/local/Cellar/qt/4.8.5/lib ../../../lib/libitkdouble-conversion-4.5.1.dylib ../../../lib/libitksys-4.5.1.dylib ../../../lib/libitkvnl_algo-4.5.1.dylib ../../../lib/libitkvnl-4.5.1.dylib ../../../lib/libitkv3p_netlib-4.5.1.dylib ../../../lib/libITKCommon-4.5.1.dylib ../../../lib/libitkNetlibSlatec-4.5.1.dylib ../../../lib/libITKStatistics-4.5.1.dylib ../../../lib/libITKIOImageBase-4.5.1.dylib ../../../lib/libITKMesh-4.5.1.dylib ../../../lib/libitkzlib-4.5.1.dylib ../../../lib/libITKMetaIO-4.5.1.dylib ../../../lib/libITKSpatialObjects-4.5.1.dylib ../../../lib/libITKPath-4.5.1.dylib ../../../lib/libITKLabelMap-4.5.1.dylib ../../../lib/libITKQuadEdgeMesh-4.5.1.dylib ../../../lib/libITKOptimizers-4.5.1.dylib ../../../lib/libITKPolynomials-4.5.1.dylib ../../../lib/libITKBiasCorrection-4.5.1.dylib ../../../lib/libITKBioCell-4.5.1.dylib ../../../lib/libITKDICOMParser-4.5.1.dylib ../../../lib/libITKEXPAT-4.5.1.dylib ../../../lib/libITKIOXML-4.5.1.dylib ../../../lib/libITKIOSpatialObjects-4.5.1.dylib ../../../lib/libITKFEM-4.5.1.dylib ../../../lib/libitkopenjpeg-4.5.1.dylib ../../../lib/libitkgdcmDICT-4.5.1.dylib ../../../lib/libitkgdcmMSFF-4.5.1.dylib ../../../lib/libITKznz-4.5.1.dylib ../../../lib/libITKniftiio-4.5.1.dylib ../../../lib/libITKgiftiio-4.5.1.dylib ../../../lib/libitkhdf5_cpp-4.5.1.dylib ../../../lib/libitkhdf5-4.5.1.dylib ../../../lib/libITKIOBMP-4.5.1.dylib ../../../lib/libITKIOBioRad-4.5.1.dylib ../../../lib/libITKIOCSV-4.5.1.dylib ../../../lib/libITKIOGDCM-4.5.1.dylib ../../../lib/libITKIOIPL-4.5.1.dylib ../../../lib/libITKIOGE-4.5.1.dylib ../../../lib/libITKIOGIPL-4.5.1.dylib ../../../lib/libITKIOHDF5-4.5.1.dylib ../../../lib/libitkjpeg-4.5.1.dylib ../../../lib/libITKIOJPEG-4.5.1.dylib ../../../lib/libitktiff-4.5.1.dylib ../../../lib/libITKIOTIFF-4.5.1.dylib ../../../lib/libITKIOLSM-4.5.1.dylib ../../../lib/libITKIOMRC-4.5.1.dylib ../../../lib/libITKIOMesh-4.5.1.dylib ../../../lib/libITKIOMeta-4.5.1.dylib ../../../lib/libITKIONIFTI-4.5.1.dylib ../../../lib/libITKNrrdIO-4.5.1.dylib ../../../lib/libITKIONRRD-4.5.1.dylib ../../../lib/libitkpng-4.5.1.dylib ../../../lib/libITKIOPNG-4.5.1.dylib ../../../lib/libITKIOSiemens-4.5.1.dylib ../../../lib/libITKIOStimulate-4.5.1.dylib ../../../lib/libITKIOTransformBase-4.5.1.dylib ../../../lib/libITKIOTransformHDF5-4.5.1.dylib ../../../lib/libITKIOTransformInsightLegacy-4.5.1.dylib ../../../lib/libITKIOTransformMatlab-4.5.1.dylib ../../../lib/libITKIOVTK-4.5.1.dylib ../../../lib/libITKKLMRegionGrowing-4.5.1.dylib ../../../lib/libITKVTK-4.5.1.dylib ../../../lib/libITKVideoCore-4.5.1.dylib ../../../lib/libITKVideoIO-4.5.1.dylib ../../../lib/libITKVtkGlue-4.5.1.dylib ../../../lib/libITKWatersheds-4.5.1.dylib /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config/libpython2.7.dylib ../../../lib/libITKPolynomials-4.5.1.dylib ../../../lib/libITKIOXML-4.5.1.dylib ../../../lib/libITKOptimizers-4.5.1.dylib ../../../lib/libitkgdcmMSFF-4.5.1.dylib ../../../lib/libitkopenjpeg-4.5.1.dylib ../../../lib/libitkgdcmDICT-4.5.1.dylib ../../../lib/libitkgdcmIOD-4.5.1.dylib ../../../lib/libitkgdcmDSED-4.5.1.dylib ../../../lib/libitkgdcmCommon-4.5.1.dylib ../../../lib/libITKIOTIFF-4.5.1.dylib ../../../lib/libitktiff-4.5.1.dylib ../../../lib/libitkjpeg-4.5.1.dylib ../../../lib/libITKgiftiio-4.5.1.dylib ../../../lib/libITKEXPAT-4.5.1.dylib ../../../lib/libITKMetaIO-4.5.1.dylib ../../../lib/libITKniftiio-4.5.1.dylib ../../../lib/libITKznz-4.5.1.dylib ../../../lib/libITKNrrdIO-4.5.1.dylib ../../../lib/libitkpng-4.5.1.dylib ../../../lib/libITKIOGE-4.5.1.dylib ../../../lib/libITKIOIPL-4.5.1.dylib ../../../lib/libitkhdf5_cpp-4.5.1.dylib ../../../lib/libitkhdf5-4.5.1.dylib ../../../lib/libitkzlib-4.5.1.dylib ../../../lib/libITKIOTransformBase-4.5.1.dylib ../../../lib/libITKVideoCore-4.5.1.dylib ../../../lib/libITKVTK-4.5.1.dylib /usr/local/lib/libvtkChartsCore-6.0.1.dylib /usr/local/lib/libvtkCommonColor-6.0.1.dylib /usr/local/lib/libvtkDomainsChemistry-6.0.1.dylib /usr/local/lib/libvtkFiltersFlowPaths-6.0.1.dylib /usr/local/lib/libvtkFiltersGeneric-6.0.1.dylib /usr/local/lib/libvtkFiltersHyperTree-6.0.1.dylib /usr/local/lib/libvtkFiltersParallelImaging-6.0.1.dylib /usr/local/lib/libvtkFiltersProgrammable-6.0.1.dylib /usr/local/lib/libvtkFiltersSelection-6.0.1.dylib /usr/local/lib/libvtkFiltersVerdict-6.0.1.dylib /usr/local/lib/libvtkverdict-6.0.1.dylib /usr/local/lib/libvtkGUISupportQtOpenGL-6.0.1.dylib -framework QtOpenGL /usr/local/lib/libvtkGUISupportQtSQL-6.0.1.dylib -framework QtSql /usr/local/lib/libvtkIOSQL-6.0.1.dylib /usr/local/lib/libvtksqlite-6.0.1.dylib /usr/local/lib/libvtkGUISupportQtWebkit-6.0.1.dylib -framework QtWebKit -framework phonon -framework QtXmlPatterns /usr/local/lib/libvtkViewsQt-6.0.1.dylib /usr/local/lib/libvtkImagingMath-6.0.1.dylib /usr/local/lib/libvtkImagingMorphological-6.0.1.dylib /usr/local/lib/libvtkImagingStatistics-6.0.1.dylib /usr/local/lib/libvtkImagingStencil-6.0.1.dylib /usr/local/lib/libvtkInteractionImage-6.0.1.dylib /usr/local/lib/libvtkIOAMR-6.0.1.dylib /usr/local/lib/libvtkIOEnSight-6.0.1.dylib /usr/local/lib/libvtkIOExodus-6.0.1.dylib /usr/local/lib/libvtkIOExport-6.0.1.dylib /usr/local/lib/libvtkRenderingGL2PS-6.0.1.dylib /usr/local/lib/libvtkgl2ps-6.0.1.dylib /usr/local/lib/libvtkIOImport-6.0.1.dylib /usr/local/lib/libvtkIOInfovis-6.0.1.dylib /usr/local/lib/libvtklibxml2-6.0.1.dylib -ldl /usr/local/lib/libvtkIOLSDyna-6.0.1.dylib /usr/local/lib/libvtkIOMINC-6.0.1.dylib /usr/local/lib/libvtkIOMovie-6.0.1.dylib /usr/local/lib/libvtkoggtheora-6.0.1.dylib /usr/local/lib/libvtkIOParallel-6.0.1.dylib /usr/local/lib/libvtkexoIIc-6.0.1.dylib /usr/local/lib/libvtkFiltersParallel-6.0.1.dylib /usr/local/lib/libvtkIONetCDF-6.0.1.dylib /usr/local/lib/libvtkNetCDF_cxx-6.0.1.dylib /usr/local/lib/libvtkNetCDF-6.0.1.dylib /usr/local/lib/libvtkhdf5_hl-6.0.1.dylib /usr/local/lib/libvtkhdf5-6.0.1.dylib /usr/local/lib/libvtkIOPLY-6.0.1.dylib /usr/local/lib/libvtkIOVideo-6.0.1.dylib /usr/local/lib/libvtkRenderingFreeTypeOpenGL-6.0.1.dylib /usr/local/lib/libvtkRenderingHybridOpenGL-6.0.1.dylib /usr/local/lib/libvtkRenderingImage-6.0.1.dylib /usr/local/lib/libvtkRenderingLOD-6.0.1.dylib /usr/local/lib/libvtkRenderingQt-6.0.1.dylib /usr/local/lib/libvtkFiltersTexture-6.0.1.dylib /usr/local/lib/libvtkGUISupportQt-6.0.1.dylib -framework QtNetwork -framework QtGui -framework QtCore /usr/local/lib/libvtkRenderingVolumeAMR-6.0.1.dylib /usr/local/lib/libvtkFiltersAMR-6.0.1.dylib /usr/local/lib/libvtkParallelCore-6.0.1.dylib /usr/local/lib/libvtkIOLegacy-6.0.1.dylib /usr/local/lib/libvtkRenderingVolumeOpenGL-6.0.1.dylib /usr/local/lib/libvtkViewsContext2D-6.0.1.dylib /usr/local/lib/libvtkViewsGeovis-6.0.1.dylib /usr/local/lib/libvtkGeovisCore-6.0.1.dylib /usr/local/lib/libvtkIOXML-6.0.1.dylib /usr/local/lib/libvtkIOGeometry-6.0.1.dylib /usr/local/lib/libvtkjsoncpp-6.0.1.dylib /usr/local/lib/libvtkproj4-6.0.1.dylib /usr/local/lib/libvtkViewsInfovis-6.0.1.dylib /usr/local/lib/libvtkRenderingContext2D-6.0.1.dylib /usr/local/lib/libvtkRenderingOpenGL-6.0.1.dylib -framework AGL -framework ApplicationServices -framework IOKit -framework Cocoa /usr/local/lib/libvtkFiltersImaging-6.0.1.dylib /usr/local/lib/libvtkInfovisLayout-6.0.1.dylib /usr/local/lib/libvtkInfovisCore-6.0.1.dylib /usr/local/lib/libvtkViewsCore-6.0.1.dylib /usr/local/lib/libvtkInteractionWidgets-6.0.1.dylib /usr/local/lib/libvtkImagingHybrid-6.0.1.dylib /usr/local/lib/libvtkFiltersHybrid-6.0.1.dylib /usr/local/lib/libvtkImagingGeneral-6.0.1.dylib /usr/local/lib/libvtkImagingSources-6.0.1.dylib /usr/local/lib/libvtkFiltersModeling-6.0.1.dylib /usr/local/lib/libvtkInteractionStyle-6.0.1.dylib /usr/local/lib/libvtkRenderingAnnotation-6.0.1.dylib /usr/local/lib/libvtkImagingColor-6.0.1.dylib /usr/local/lib/libvtkRenderingVolume-6.0.1.dylib /usr/local/lib/libvtkRenderingLabel-6.0.1.dylib /usr/local/lib/libvtkRenderingFreeType-6.0.1.dylib /usr/local/lib/libvtkRenderingCore-6.0.1.dylib /usr/local/lib/libvtkFiltersExtraction-6.0.1.dylib /usr/local/lib/libvtkFiltersStatistics-6.0.1.dylib /usr/local/lib/libvtkalglib-6.0.1.dylib /usr/local/lib/libvtkImagingFourier-6.0.1.dylib /usr/local/lib/libvtkImagingCore-6.0.1.dylib /usr/local/lib/libvtkFiltersGeometry-6.0.1.dylib /usr/local/lib/libvtkFiltersSources-6.0.1.dylib /usr/local/lib/libvtkFiltersGeneral-6.0.1.dylib /usr/local/lib/libvtkFiltersCore-6.0.1.dylib /usr/local/lib/libvtkCommonComputationalGeometry-6.0.1.dylib /usr/local/lib/libvtkIOImage-6.0.1.dylib /usr/local/lib/libvtkDICOMParser-6.0.1.dylib /usr/local/lib/libvtkmetaio-6.0.1.dylib /usr/local/lib/libvtkpng-6.0.1.dylib /usr/local/lib/libvtktiff-6.0.1.dylib /usr/local/lib/libvtkjpeg-6.0.1.dylib /usr/local/lib/libvtkIOXMLParser-6.0.1.dylib /usr/local/lib/libvtkIOCore-6.0.1.dylib /usr/local/lib/libvtkCommonExecutionModel-6.0.1.dylib /usr/local/lib/libvtkCommonDataModel-6.0.1.dylib /usr/local/lib/libvtkCommonMisc-6.0.1.dylib /usr/local/lib/libvtkCommonSystem-6.0.1.dylib /usr/local/lib/libvtkCommonTransforms-6.0.1.dylib /usr/local/lib/libvtkCommonMath-6.0.1.dylib /usr/local/lib/libvtkexpat-6.0.1.dylib /usr/local/lib/libvtkftgl-6.0.1.dylib /usr/local/lib/libvtkfreetype-6.0.1.dylib /usr/local/lib/libvtkzlib-6.0.1.dylib -framework ApplicationServices -framework CoreServices -framework OpenGL /usr/local/lib/libvtkWrappingPython27Core-6.0.1.dylib /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config/libpython2.7.dylib /usr/local/lib/libvtkCommonCore-6.0.1.dylib /usr/local/lib/libvtksys-6.0.1.dylib /usr/local/lib/libvtkWrappingTools-6.0.a ../../../lib/libITKSpatialObjects-4.5.1.dylib ../../../lib/libITKIOImageBase-4.5.1.dylib ../../../lib/libITKMesh-4.5.1.dylib ../../../lib/libITKPath-4.5.1.dylib ../../../lib/libITKStatistics-4.5.1.dylib ../../../lib/libITKCommon-4.5.1.dylib ../../../lib/libitkdouble-conversion-4.5.1.dylib ../../../lib/libitksys-4.5.1.dylib ../../../lib/libITKVNLInstantiation-4.5.1.dylib ../../../lib/libitkvnl_algo-4.5.1.dylib ../../../lib/libitkv3p_lsqr-4.5.1.dylib ../../../lib/libitkvnl-4.5.1.dylib ../../../lib/libitkvcl-4.5.1.dylib -lm ../../../lib/libitkNetlibSlatec-4.5.1.dylib ../../../lib/libitkv3p_netlib-4.5.1.dylib -lm 
Undefined symbols for architecture x86_64:
  "itk::NumericTraits<itk::CovariantVector<float, 2u> >::Zero", referenced from:
      itk::BinaryFunctorImageFilter<itk::Image<itk::CovariantVector<float, 2u>, 2u>, itk::Image<unsigned char, 2u>, itk::Image<itk::CovariantVector<float, 2u>, 2u>, itk::Functor::MaskInput<itk::CovariantVector<float, 2u>, unsigned char, itk::CovariantVector<float, 2u> > >::BinaryFunctorImageFilter() in itkMaskImageFilterPython.cpp.o
      itk::BinaryFunctorImageFilter<itk::Image<itk::CovariantVector<float, 2u>, 2u>, itk::Image<short, 2u>, itk::Image<itk::CovariantVector<float, 2u>, 2u>, itk::Functor::MaskInput<itk::CovariantVector<float, 2u>, short, itk::CovariantVector<float, 2u> > >::BinaryFunctorImageFilter() in itkMaskImageFilterPython.cpp.o
      itk::BinaryFunctorImageFilter<itk::Image<itk::CovariantVector<float, 2u>, 2u>, itk::Image<unsigned char, 2u>, itk::Image<itk::CovariantVector<float, 2u>, 2u>, itk::Functor::MaskNegatedInput<itk::CovariantVector<float, 2u>, unsigned char, itk::CovariantVector<float, 2u> > >::BinaryFunctorImageFilter() in itkMaskNegatedImageFilterPython.cpp.o
      itk::BinaryFunctorImageFilter<itk::Image<itk::CovariantVector<float, 2u>, 2u>, itk::Image<short, 2u>, itk::Image<itk::CovariantVector<float, 2u>, 2u>, itk::Functor::MaskNegatedInput<itk::CovariantVector<float, 2u>, short, itk::CovariantVector<float, 2u> > >::BinaryFunctorImageFilter() in itkMaskNegatedImageFilterPython.cpp.o
  "itk::NumericTraits<itk::CovariantVector<float, 3u> >::Zero", referenced from:
      itk::BinaryFunctorImageFilter<itk::Image<itk::CovariantVector<float, 3u>, 3u>, itk::Image<unsigned char, 3u>, itk::Image<itk::CovariantVector<float, 3u>, 3u>, itk::Functor::MaskInput<itk::CovariantVector<float, 3u>, unsigned char, itk::CovariantVector<float, 3u> > >::BinaryFunctorImageFilter() in itkMaskImageFilterPython.cpp.o
      itk::BinaryFunctorImageFilter<itk::Image<itk::CovariantVector<float, 3u>, 3u>, itk::Image<short, 3u>, itk::Image<itk::CovariantVector<float, 3u>, 3u>, itk::Functor::MaskInput<itk::CovariantVector<float, 3u>, short, itk::CovariantVector<float, 3u> > >::BinaryFunctorImageFilter() in itkMaskImageFilterPython.cpp.o
      itk::BinaryFunctorImageFilter<itk::Image<itk::CovariantVector<float, 3u>, 3u>, itk::Image<unsigned char, 3u>, itk::Image<itk::CovariantVector<float, 3u>, 3u>, itk::Functor::MaskNegatedInput<itk::CovariantVector<float, 3u>, unsigned char, itk::CovariantVector<float, 3u> > >::BinaryFunctorImageFilter() in itkMaskNegatedImageFilterPython.cpp.o
      itk::BinaryFunctorImageFilter<itk::Image<itk::CovariantVector<float, 3u>, 3u>, itk::Image<short, 3u>, itk::Image<itk::CovariantVector<float, 3u>, 3u>, itk::Functor::MaskNegatedInput<itk::CovariantVector<float, 3u>, short, itk::CovariantVector<float, 3u> > >::BinaryFunctorImageFilter() in itkMaskNegatedImageFilterPython.cpp.o
  "itk::NumericTraits<itk::Vector<float, 2u> >::Zero", referenced from:
      itk::BinaryFunctorImageFilter<itk::Image<itk::Vector<float, 2u>, 2u>, itk::Image<unsigned char, 2u>, itk::Image<itk::Vector<float, 2u>, 2u>, itk::Functor::MaskInput<itk::Vector<float, 2u>, unsigned char, itk::Vector<float, 2u> > >::BinaryFunctorImageFilter() in itkMaskImageFilterPython.cpp.o
      itk::BinaryFunctorImageFilter<itk::Image<itk::Vector<float, 2u>, 2u>, itk::Image<short, 2u>, itk::Image<itk::Vector<float, 2u>, 2u>, itk::Functor::MaskInput<itk::Vector<float, 2u>, short, itk::Vector<float, 2u> > >::BinaryFunctorImageFilter() in itkMaskImageFilterPython.cpp.o
      itk::BinaryFunctorImageFilter<itk::Image<itk::Vector<float, 2u>, 2u>, itk::Image<unsigned char, 2u>, itk::Image<itk::Vector<float, 2u>, 2u>, itk::Functor::MaskNegatedInput<itk::Vector<float, 2u>, unsigned char, itk::Vector<float, 2u> > >::BinaryFunctorImageFilter() in itkMaskNegatedImageFilterPython.cpp.o
      itk::BinaryFunctorImageFilter<itk::Image<itk::Vector<float, 2u>, 2u>, itk::Image<short, 2u>, itk::Image<itk::Vector<float, 2u>, 2u>, itk::Functor::MaskNegatedInput<itk::Vector<float, 2u>, short, itk::Vector<float, 2u> > >::BinaryFunctorImageFilter() in itkMaskNegatedImageFilterPython.cpp.o
  "itk::NumericTraits<itk::Vector<float, 3u> >::Zero", referenced from:
      itk::BinaryFunctorImageFilter<itk::Image<itk::Vector<float, 3u>, 3u>, itk::Image<unsigned char, 3u>, itk::Image<itk::Vector<float, 3u>, 3u>, itk::Functor::MaskInput<itk::Vector<float, 3u>, unsigned char, itk::Vector<float, 3u> > >::BinaryFunctorImageFilter() in itkMaskImageFilterPython.cpp.o
      itk::BinaryFunctorImageFilter<itk::Image<itk::Vector<float, 3u>, 3u>, itk::Image<short, 3u>, itk::Image<itk::Vector<float, 3u>, 3u>, itk::Functor::MaskInput<itk::Vector<float, 3u>, short, itk::Vector<float, 3u> > >::BinaryFunctorImageFilter() in itkMaskImageFilterPython.cpp.o
      itk::BinaryFunctorImageFilter<itk::Image<itk::Vector<float, 3u>, 3u>, itk::Image<unsigned char, 3u>, itk::Image<itk::Vector<float, 3u>, 3u>, itk::Functor::MaskNegatedInput<itk::Vector<float, 3u>, unsigned char, itk::Vector<float, 3u> > >::BinaryFunctorImageFilter() in itkMaskNegatedImageFilterPython.cpp.o
      itk::BinaryFunctorImageFilter<itk::Image<itk::Vector<float, 3u>, 3u>, itk::Image<short, 3u>, itk::Image<itk::Vector<float, 3u>, 3u>, itk::Functor::MaskNegatedInput<itk::Vector<float, 3u>, short, itk::Vector<float, 3u> > >::BinaryFunctorImageFilter() in itkMaskNegatedImageFilterPython.cpp.o
  "itk::NumericTraits<itk::RGBPixel<unsigned char> >::Zero", referenced from:
      itk::BinaryFunctorImageFilter<itk::Image<itk::RGBPixel<unsigned char>, 3u>, itk::Image<unsigned char, 3u>, itk::Image<itk::RGBPixel<unsigned char>, 3u>, itk::Functor::MaskInput<itk::RGBPixel<unsigned char>, unsigned char, itk::RGBPixel<unsigned char> > >::BinaryFunctorImageFilter() in itkMaskImageFilterPython.cpp.o
      itk::BinaryFunctorImageFilter<itk::Image<itk::RGBPixel<unsigned char>, 3u>, itk::Image<short, 3u>, itk::Image<itk::RGBPixel<unsigned char>, 3u>, itk::Functor::MaskInput<itk::RGBPixel<unsigned char>, short, itk::RGBPixel<unsigned char> > >::BinaryFunctorImageFilter() in itkMaskImageFilterPython.cpp.o
      itk::BinaryFunctorImageFilter<itk::Image<itk::RGBPixel<unsigned char>, 2u>, itk::Image<unsigned char, 2u>, itk::Image<itk::RGBPixel<unsigned char>, 2u>, itk::Functor::MaskInput<itk::RGBPixel<unsigned char>, unsigned char, itk::RGBPixel<unsigned char> > >::BinaryFunctorImageFilter() in itkMaskImageFilterPython.cpp.o
      itk::BinaryFunctorImageFilter<itk::Image<itk::RGBPixel<unsigned char>, 2u>, itk::Image<short, 2u>, itk::Image<itk::RGBPixel<unsigned char>, 2u>, itk::Functor::MaskInput<itk::RGBPixel<unsigned char>, short, itk::RGBPixel<unsigned char> > >::BinaryFunctorImageFilter() in itkMaskImageFilterPython.cpp.o
      itk::BinaryFunctorImageFilter<itk::Image<itk::RGBPixel<unsigned char>, 3u>, itk::Image<unsigned char, 3u>, itk::Image<itk::RGBPixel<unsigned char>, 3u>, itk::Functor::MaskNegatedInput<itk::RGBPixel<unsigned char>, unsigned char, itk::RGBPixel<unsigned char> > >::BinaryFunctorImageFilter() in itkMaskNegatedImageFilterPython.cpp.o
      itk::BinaryFunctorImageFilter<itk::Image<itk::RGBPixel<unsigned char>, 3u>, itk::Image<short, 3u>, itk::Image<itk::RGBPixel<unsigned char>, 3u>, itk::Functor::MaskNegatedInput<itk::RGBPixel<unsigned char>, short, itk::RGBPixel<unsigned char> > >::BinaryFunctorImageFilter() in itkMaskNegatedImageFilterPython.cpp.o
      itk::BinaryFunctorImageFilter<itk::Image<itk::RGBPixel<unsigned char>, 2u>, itk::Image<unsigned char, 2u>, itk::Image<itk::RGBPixel<unsigned char>, 2u>, itk::Functor::MaskNegatedInput<itk::RGBPixel<unsigned char>, unsigned char, itk::RGBPixel<unsigned char> > >::BinaryFunctorImageFilter() in itkMaskNegatedImageFilterPython.cpp.o
      ...
  "itk::NumericTraits<itk::RGBAPixel<unsigned char> >::Zero", referenced from:
      itk::BinaryFunctorImageFilter<itk::Image<itk::RGBAPixel<unsigned char>, 3u>, itk::Image<unsigned char, 3u>, itk::Image<itk::RGBAPixel<unsigned char>, 3u>, itk::Functor::MaskInput<itk::RGBAPixel<unsigned char>, unsigned char, itk::RGBAPixel<unsigned char> > >::BinaryFunctorImageFilter() in itkMaskImageFilterPython.cpp.o
      itk::BinaryFunctorImageFilter<itk::Image<itk::RGBAPixel<unsigned char>, 3u>, itk::Image<short, 3u>, itk::Image<itk::RGBAPixel<unsigned char>, 3u>, itk::Functor::MaskInput<itk::RGBAPixel<unsigned char>, short, itk::RGBAPixel<unsigned char> > >::BinaryFunctorImageFilter() in itkMaskImageFilterPython.cpp.o
      itk::BinaryFunctorImageFilter<itk::Image<itk::RGBAPixel<unsigned char>, 2u>, itk::Image<unsigned char, 2u>, itk::Image<itk::RGBAPixel<unsigned char>, 2u>, itk::Functor::MaskInput<itk::RGBAPixel<unsigned char>, unsigned char, itk::RGBAPixel<unsigned char> > >::BinaryFunctorImageFilter() in itkMaskImageFilterPython.cpp.o
      itk::BinaryFunctorImageFilter<itk::Image<itk::RGBAPixel<unsigned char>, 2u>, itk::Image<short, 2u>, itk::Image<itk::RGBAPixel<unsigned char>, 2u>, itk::Functor::MaskInput<itk::RGBAPixel<unsigned char>, short, itk::RGBAPixel<unsigned char> > >::BinaryFunctorImageFilter() in itkMaskImageFilterPython.cpp.o
      itk::BinaryFunctorImageFilter<itk::Image<itk::RGBAPixel<unsigned char>, 3u>, itk::Image<unsigned char, 3u>, itk::Image<itk::RGBAPixel<unsigned char>, 3u>, itk::Functor::MaskNegatedInput<itk::RGBAPixel<unsigned char>, unsigned char, itk::RGBAPixel<unsigned char> > >::BinaryFunctorImageFilter() in itkMaskNegatedImageFilterPython.cpp.o
      itk::BinaryFunctorImageFilter<itk::Image<itk::RGBAPixel<unsigned char>, 3u>, itk::Image<short, 3u>, itk::Image<itk::RGBAPixel<unsigned char>, 3u>, itk::Functor::MaskNegatedInput<itk::RGBAPixel<unsigned char>, short, itk::RGBAPixel<unsigned char> > >::BinaryFunctorImageFilter() in itkMaskNegatedImageFilterPython.cpp.o
      itk::BinaryFunctorImageFilter<itk::Image<itk::RGBAPixel<unsigned char>, 2u>, itk::Image<unsigned char, 2u>, itk::Image<itk::RGBAPixel<unsigned char>, 2u>, itk::Functor::MaskNegatedInput<itk::RGBAPixel<unsigned char>, unsigned char, itk::RGBAPixel<unsigned char> > >::BinaryFunctorImageFilter() in itkMaskNegatedImageFilterPython.cpp.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]: *** [lib/_ITKImageIntensityPython.so] Error 1
make[1]: *** [Wrapping/Modules/ITKImageIntensity/CMakeFiles/ITKImageIntensityPython.dir/all] Error 2
make: *** [all] Error 2
==> Formula
Tap: path or URL
Path: /Library/Caches/Homebrew/Formula/insighttoolkit.rb
==> Configuration
HOMEBREW_VERSION: 0.9.5
HEAD: e51623ff87fb3f2d93d23594e4ed2bcd7a1c4cab
CPU: quad-core 64-bit ivybridge
OS X: 10.8.5-x86_64
Xcode: 5.0.2
X11: 2.7.5 => /opt/X11
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j4
CMAKE_PREFIX_PATH: /usr/local:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr
CMAKE_INCLUDE_PATH: /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Headers:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/libxml2:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/apache2:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers:/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Headers
CMAKE_LIBRARY_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
CMAKE_FRAMEWORK_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks
PKG_CONFIG_PATH: /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/pkgconfig:/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.8
HOMEBREW_VERBOSE: 1
HOMEBREW_SDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/opt/python/bin:/usr/local/opt/python/bin:/usr/local/Library/ENV/4.3:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/usr/local/opt/cmake/bin:/usr/local/opt/vtk/bin:/usr/bin:/bin:/usr/sbin:/sbin


Emil

On 17 Dec 2013, at 21:55, Emil Rozbicki <emilroz at gmail.com> wrote:

> I'll give it a go just now and will see what happens.
> 
> Cheers,
> Emil
> 
> On 17 Dec 2013, at 21:51, Michka Popoff <michkapopoff at gmail.com> wrote:
> 
>> Sorry for the misleading information, it's of course the /usr/include folder that I was talking about.
>> 
>> I am currently compiling ITK 4.5 on 10.7.5, could you test my updated formula :
>> 
>> 1) Rename /usr/include to /usr/_include
>> 2) brew install https://raw.github.com/iMichka/homebrew-science/itk_4.5/insighttoolkit.rb --with-python -v
>> 3) Wait :)
>> 4) Rename /usr/_include back to /usr/include
>> 
>> As soons as it is okay I will ask for an update of the current homebrew formula. There is still this manual include folder name swapping step which I can not explain, but it should work.
>> 
>> Michka
>> 
>> 
>> Le 17 déc. 2013 à 19:10, Matt McCormick a écrit :
>> 
>>> Hi Michka,
>>> 
>>> Thanks for your input and efforts here!
>>> 
>>> Matt
>>> 
>>> On Tue, Dec 17, 2013 at 12:32 PM, Michka Popoff <michkapopoff at gmail.com> wrote:
>>>> Oups my previous mail was bumped from the insight-users mailing list, i was not registered. Should now work.
>>>> 
>>>> Normally just keep the current homebrew formula, just rename /include to /_include (/ is your root). This is the include folder gccxml picks up.
>>>> It will install ITK 4.4.2, this is OK for 10.8.5.
>>>> 
>>>> 
>>>> Le 17 déc. 2013 à 18:22, Emil Rozbicki a écrit :
>>>> 
>>>>> HI,
>>>>> 
>>>>> Thanks, that would be great. I tried HomeBrew installation of insighttoolkit but it failed so that's why I'm here :).
>>>>> Is it /us/include I should rename to give it a go?
>>>>> 
>>>>> Cheers,
>>>>> Emil
>>>>> 
>>>>> On 17 Dec 2013, at 17:11, Michka Popoff <michkapopoff at gmail.com> wrote:
>>>>> 
>>>>>> Hi
>>>>>> 
>>>>>> this is a problem with clang 5.0 and gccxml for the python wrappings. Not so easy to fix, we had a discussion about this here some time ago.
>>>>>> 
>>>>>> I was able to compile ITK with python wrappings on 10.8.5 by renaming my /include folder to /_include, so that gccxml does not find it in the path (this is a very dirty hack, do not forget to rename the include folder back !!!!).
>>>>>> 
>>>>>> I try to maintain a homebrew formula for OS X, which will let you install ITK easily. I'll have to investigate why there is a need to hide to current include folder and which one gccxml will then fetch.
>>>>>> 
>>>>>> Note that this will no more work for 10.9 (the only solution I found was to compile on 10.8.5 and move the files to 10.9 and relink them there, which works :)). (which is also a very dirty hack ...).
>>>>>> 
>>>>>> I'll update the formula for ITK 4.5 tomorrow, so you will have an easy way to install ITK on mac with python.
>>>>>> 
>>>>>> Le 17 déc. 2013 à 18:00, Emil Rozbicki a écrit :
>>>>>> 
>>>>>>> Hi Matt,
>>>>>>> 
>>>>>>> thanks for quick reply.
>>>>>>> 
>>>>>>> That's where it breaks:
>>>>>>> 
>>>>>>> [ 41%] Generating vcl_complex.xml
>>>>>>> In file included from /usr/include/c++/4.2.1/cstddef:51,
>>>>>>>           from /usr/include/c++/4.2.1/cstring:51,
>>>>>>>           from /usr/include/c++/4.2.1/bits/char_traits.h:45,
>>>>>>>           from /usr/include/c++/4.2.1/string:47,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkMacro.h:46,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkLightObject.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkObject.h:31,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkCommand.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolKit-build-4.4.2/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:
>>>>>>> /usr/bin/../lib/clang/5.0/include/stddef.h:29:42: error: missing binary operator before token "("
>>>>>>> /usr/bin/../lib/clang/5.0/include/stddef.h:37:39: error: missing binary operator before token "("
>>>>>>> /usr/bin/../lib/clang/5.0/include/stddef.h:48:42: error: missing binary operator before token "("
>>>>>>> In file included from /usr/include/c++/4.2.1/climits:50,
>>>>>>>           from /usr/include/c++/4.2.1/bits/stl_algobase.h:67,
>>>>>>>           from /usr/include/c++/4.2.1/bits/char_traits.h:46,
>>>>>>>           from /usr/include/c++/4.2.1/string:47,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkMacro.h:46,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkLightObject.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkObject.h:31,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkCommand.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolKit-build-4.4.2/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:
>>>>>>> /usr/bin/../lib/clang/5.0/include/limits.h:37:54: error: missing binary operator before token "("
>>>>>>> In file included from /usr/include/c++/4.2.1/bits/postypes.h:49,
>>>>>>>           from /usr/include/c++/4.2.1/iosfwd:49,
>>>>>>>           from /usr/include/c++/4.2.1/bits/stl_algobase.h:70,
>>>>>>>           from /usr/include/c++/4.2.1/bits/char_traits.h:46,
>>>>>>>           from /usr/include/c++/4.2.1/string:47,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkMacro.h:46,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkLightObject.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkObject.h:31,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkCommand.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolKit-build-4.4.2/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:
>>>>>>> /usr/bin/../lib/clang/5.0/include/stdint.h:32:54: error: missing binary operator before token "("
>>>>>>> In file included from /usr/include/c++/4.2.1/cstring:51,
>>>>>>>           from /usr/include/c++/4.2.1/bits/char_traits.h:45,
>>>>>>>           from /usr/include/c++/4.2.1/string:47,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkMacro.h:46,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkLightObject.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkObject.h:31,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkCommand.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolKit-build-4.4.2/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:
>>>>>>> /usr/include/c++/4.2.1/cstddef:55: error: '::ptrdiff_t' has not been declared
>>>>>>> In file included from /usr/include/c++/4.2.1/iosfwd:49,
>>>>>>>           from /usr/include/c++/4.2.1/bits/stl_algobase.h:70,
>>>>>>>           from /usr/include/c++/4.2.1/bits/char_traits.h:46,
>>>>>>>           from /usr/include/c++/4.2.1/string:47,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkMacro.h:46,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkLightObject.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkObject.h:31,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkCommand.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolKit-build-4.4.2/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:
>>>>>>> /usr/include/c++/4.2.1/bits/postypes.h:78: error: 'ptrdiff_t' does not name a type
>>>>>>> In file included from /usr/include/c++/4.2.1/bits/stl_algobase.h:74,
>>>>>>>           from /usr/include/c++/4.2.1/bits/char_traits.h:46,
>>>>>>>           from /usr/include/c++/4.2.1/string:47,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkMacro.h:46,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkLightObject.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkObject.h:31,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkCommand.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolKit-build-4.4.2/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:
>>>>>>> /usr/include/c++/4.2.1/bits/stl_iterator_base_types.h:104: error: expected type-specifier before 'ptrdiff_t'
>>>>>>> /usr/include/c++/4.2.1/bits/stl_iterator_base_types.h:104: error: expected '>' before 'ptrdiff_t'
>>>>>>> /usr/include/c++/4.2.1/bits/stl_iterator_base_types.h:115: error: '_Pointer' does not name a type
>>>>>>> /usr/include/c++/4.2.1/bits/stl_iterator_base_types.h:117: error: '_Reference' does not name a type
>>>>>>> /usr/include/c++/4.2.1/bits/stl_iterator_base_types.h:141: error: 'ptrdiff_t' does not name a type
>>>>>>> /usr/include/c++/4.2.1/bits/stl_iterator_base_types.h:151: error: 'ptrdiff_t' does not name a type
>>>>>>> In file included from /usr/include/c++/4.2.1/bits/stl_algobase.h:76,
>>>>>>>           from /usr/include/c++/4.2.1/bits/char_traits.h:46,
>>>>>>>           from /usr/include/c++/4.2.1/string:47,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkMacro.h:46,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkLightObject.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkObject.h:31,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkCommand.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolKit-build-4.4.2/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:
>>>>>>> /usr/include/c++/4.2.1/bits/stl_iterator.h:99: error: wrong number of template arguments (5, should be 3)
>>>>>>> /usr/include/c++/4.2.1/bits/stl_iterator_base_types.h:106: error: provided for 'template<class _Category, class _Tp, class _Distance> struct std::iterator'
>>>>>>> /usr/include/c++/4.2.1/bits/stl_iterator.h:386: error: wrong number of template arguments (5, should be 3)
>>>>>>> /usr/include/c++/4.2.1/bits/stl_iterator_base_types.h:106: error: provided for 'template<class _Category, class _Tp, class _Distance> struct std::iterator'
>>>>>>> /usr/include/c++/4.2.1/bits/stl_iterator.h:461: error: wrong number of template arguments (5, should be 3)
>>>>>>> /usr/include/c++/4.2.1/bits/stl_iterator_base_types.h:106: error: provided for 'template<class _Category, class _Tp, class _Distance> struct std::iterator'
>>>>>>> /usr/include/c++/4.2.1/bits/stl_iterator.h:539: error: wrong number of template arguments (5, should be 3)
>>>>>>> /usr/include/c++/4.2.1/bits/stl_iterator_base_types.h:106: error: provided for 'template<class _Category, class _Tp, class _Distance> struct std::iterator'
>>>>>>> In file included from /usr/include/c++/4.2.1/bits/char_traits.h:46,
>>>>>>>           from /usr/include/c++/4.2.1/string:47,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkMacro.h:46,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkLightObject.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkObject.h:31,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkCommand.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolKit-build-4.4.2/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:
>>>>>>> /usr/include/c++/4.2.1/bits/stl_algobase.h: In static member function 'static _Tp* std::__copy_backward<true, std::random_access_iterator_tag>::__copy_b(const _Tp*, const _Tp*, _Tp*)':
>>>>>>> /usr/include/c++/4.2.1/bits/stl_algobase.h:445: error: 'ptrdiff_t' does not name a type
>>>>>>> /usr/include/c++/4.2.1/bits/stl_algobase.h:446: error: '_Num' was not declared in this scope
>>>>>>> In file included from /usr/include/c++/4.2.1/bits/c++allocator.h:39,
>>>>>>>           from /usr/include/c++/4.2.1/bits/allocator.h:53,
>>>>>>>           from /usr/include/c++/4.2.1/memory:54,
>>>>>>>           from /usr/include/c++/4.2.1/string:48,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkMacro.h:46,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkLightObject.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkObject.h:31,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkCommand.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolKit-build-4.4.2/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:
>>>>>>> /usr/include/c++/4.2.1/ext/new_allocator.h: At global scope:
>>>>>>> /usr/include/c++/4.2.1/ext/new_allocator.h:43: error: 'std::ptrdiff_t' has not been declared
>>>>>>> /usr/include/c++/4.2.1/ext/new_allocator.h:57: error: 'ptrdiff_t' does not name a type
>>>>>>> In file included from /usr/include/c++/4.2.1/memory:54,
>>>>>>>           from /usr/include/c++/4.2.1/string:48,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkMacro.h:46,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkLightObject.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkObject.h:31,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkCommand.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolKit-build-4.4.2/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:
>>>>>>> /usr/include/c++/4.2.1/bits/allocator.h:68: error: 'ptrdiff_t' does not name a type
>>>>>>> /usr/include/c++/4.2.1/bits/allocator.h:89: error: 'ptrdiff_t' does not name a type
>>>>>>> In file included from /usr/include/c++/4.2.1/memory:58,
>>>>>>>           from /usr/include/c++/4.2.1/string:48,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkMacro.h:46,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkLightObject.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkObject.h:31,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkCommand.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolKit-build-4.4.2/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:
>>>>>>> /usr/include/c++/4.2.1/bits/stl_raw_storage_iter.h:72: error: wrong number of template arguments (5, should be 3)
>>>>>>> /usr/include/c++/4.2.1/bits/stl_iterator_base_types.h:106: error: provided for 'template<class _Category, class _Tp, class _Distance> struct std::iterator'
>>>>>>> In file included from /usr/include/c++/4.2.1/string:48,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkMacro.h:46,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkLightObject.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkObject.h:31,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkCommand.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolKit-build-4.4.2/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:
>>>>>>> /usr/include/c++/4.2.1/memory:73: error: 'ptrdiff_t' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/memory:73: error: template argument 2 is invalid
>>>>>>> /usr/include/c++/4.2.1/memory:74: error: invalid type in declaration before '(' token
>>>>>>> /usr/include/c++/4.2.1/memory:74: error: template declaration of 'int std::__get_temporary_buffer'
>>>>>>> /usr/include/c++/4.2.1/memory:74: error: 'ptrdiff_t' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/memory:74: error: expected primary-expression before '*' token
>>>>>>> /usr/include/c++/4.2.1/memory:74: error: expected primary-expression before ')' token
>>>>>>> /usr/include/c++/4.2.1/memory:109: error: 'ptrdiff_t' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/memory:109: error: template argument 2 is invalid
>>>>>>> /usr/include/c++/4.2.1/memory:110: error: invalid type in declaration before '(' token
>>>>>>> /usr/include/c++/4.2.1/memory:110: error: 'std::get_temporary_buffer' declared as an 'inline' variable
>>>>>>> /usr/include/c++/4.2.1/memory:110: error: template declaration of 'int std::get_temporary_buffer'
>>>>>>> /usr/include/c++/4.2.1/memory:110: error: 'ptrdiff_t' was not declared in this scope
>>>>>>> In file included from /usr/include/c++/4.2.1/string:51,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkMacro.h:46,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkLightObject.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkObject.h:31,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkCommand.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolKit-build-4.4.2/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:
>>>>>>> /usr/include/c++/4.2.1/bits/ostream_insert.h:47: error: 'streamsize' has not been declared
>>>>>>> /usr/include/c++/4.2.1/bits/ostream_insert.h: In function 'void std::__ostream_write(std::basic_ostream<_CharT, _Traits>&, const _CharT*, int)':
>>>>>>> /usr/include/c++/4.2.1/bits/ostream_insert.h:52: error: 'streamsize' does not name a type
>>>>>>> /usr/include/c++/4.2.1/bits/ostream_insert.h:53: error: '__put' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/ostream_insert.h: At global scope:
>>>>>>> /usr/include/c++/4.2.1/bits/ostream_insert.h:59: error: 'streamsize' has not been declared
>>>>>>> /usr/include/c++/4.2.1/bits/ostream_insert.h:79: error: 'streamsize' has not been declared
>>>>>>> /usr/include/c++/4.2.1/bits/ostream_insert.h: In function 'std::basic_ostream<_CharT, _Traits>& std::__ostream_insert(std::basic_ostream<_CharT, _Traits>&, const _CharT*, int)':
>>>>>>> /usr/include/c++/4.2.1/bits/ostream_insert.h:89: error: 'streamsize' does not name a type
>>>>>>> /usr/include/c++/4.2.1/bits/ostream_insert.h:90: error: '__w' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/ostream_insert.h: At global scope:
>>>>>>> /usr/include/c++/4.2.1/bits/ostream_insert.h:116: error: 'streamsize' has not been declared
>>>>>>> /usr/include/c++/4.2.1/bits/ostream_insert.h:120: error: 'streamsize' has not been declared
>>>>>>> In file included from /usr/include/c++/4.2.1/bits/stl_algo.h:66,
>>>>>>>           from /usr/include/c++/4.2.1/algorithm:68,
>>>>>>>           from /usr/include/c++/4.2.1/string:57,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkMacro.h:46,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkLightObject.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkObject.h:31,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkCommand.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolKit-build-4.4.2/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:
>>>>>>> /usr/include/c++/4.2.1/bits/stl_tempbuf.h:86: error: 'ptrdiff_t' does not name a type
>>>>>>> /usr/include/c++/4.2.1/bits/stl_tempbuf.h:89: error: 'size_type' does not name a type
>>>>>>> /usr/include/c++/4.2.1/bits/stl_tempbuf.h:90: error: 'size_type' does not name a type
>>>>>>> /usr/include/c++/4.2.1/bits/stl_tempbuf.h:102: error: 'size_type' does not name a type
>>>>>>> /usr/include/c++/4.2.1/bits/stl_tempbuf.h:107: error: 'size_type' does not name a type
>>>>>>> /usr/include/c++/4.2.1/bits/stl_tempbuf.h: In member function 'void std::_Temporary_buffer<_ForwardIterator, _Tp>::_M_initialize_buffer(const _Tp&, std::__false_type)':
>>>>>>> /usr/include/c++/4.2.1/bits/stl_tempbuf.h:98: error: '_M_len' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/stl_tempbuf.h: In member function '_Tp* std::_Temporary_buffer<_ForwardIterator, _Tp>::end()':
>>>>>>> /usr/include/c++/4.2.1/bits/stl_tempbuf.h:119: error: '_M_len' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/stl_tempbuf.h: In destructor 'std::_Temporary_buffer<_ForwardIterator, _Tp>::~_Temporary_buffer()':
>>>>>>> /usr/include/c++/4.2.1/bits/stl_tempbuf.h:129: error: '_M_len' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/stl_tempbuf.h: In constructor 'std::_Temporary_buffer<_ForwardIterator, _Tp>::_Temporary_buffer(_ForwardIterator, _ForwardIterator)':
>>>>>>> /usr/include/c++/4.2.1/bits/stl_tempbuf.h:145: error: class 'std::_Temporary_buffer<_ForwardIterator, _Tp>' does not have any field named '_M_original_len'
>>>>>>> /usr/include/c++/4.2.1/bits/stl_tempbuf.h:146: error: class 'std::_Temporary_buffer<_ForwardIterator, _Tp>' does not have any field named '_M_len'
>>>>>>> /usr/include/c++/4.2.1/bits/stl_tempbuf.h:153: error: 'size_type' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/stl_tempbuf.h:153: error: template argument 2 is invalid
>>>>>>> /usr/include/c++/4.2.1/bits/stl_tempbuf.h:153: error: invalid type in declaration before '(' token
>>>>>>> /usr/include/c++/4.2.1/bits/stl_tempbuf.h:153: error: 'get_temporary_buffer' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/stl_tempbuf.h:154: error: expected primary-expression before '>' token
>>>>>>> /usr/include/c++/4.2.1/bits/stl_tempbuf.h:154: error: '_M_original_len' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/stl_tempbuf.h:155: error: request for member 'first' in '__p', which is of non-class type 'int'
>>>>>>> /usr/include/c++/4.2.1/bits/stl_tempbuf.h:156: error: '_M_len' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/stl_tempbuf.h:156: error: request for member 'second' in '__p', which is of non-class type 'int'
>>>>>>> /usr/include/c++/4.2.1/bits/stl_tempbuf.h:164: error: '_M_len' was not declared in this scope
>>>>>>> In file included from /usr/include/c++/4.2.1/string:58,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkMacro.h:46,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkLightObject.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkObject.h:31,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkCommand.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolKit-build-4.4.2/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:
>>>>>>> /usr/include/c++/4.2.1/bits/basic_string.h: At global scope:
>>>>>>> /usr/include/c++/4.2.1/bits/basic_string.h: In instantiation of 'std::basic_string<char, std::char_traits<char>, std::allocator<char> >':
>>>>>>> /usr/include/c++/4.2.1/bits/basic_string.tcc:979:   instantiated from here
>>>>>>> /usr/include/c++/4.2.1/bits/basic_string.h:121: error: no type named 'difference_type' in 'struct std::allocator<char>'
>>>>>>> /usr/include/c++/4.2.1/bits/basic_string.h: In instantiation of 'std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >':
>>>>>>> /usr/include/c++/4.2.1/bits/basic_string.tcc:994:   instantiated from here
>>>>>>> /usr/include/c++/4.2.1/bits/basic_string.h:121: error: no type named 'difference_type' in 'struct std::allocator<wchar_t>'
>>>>>>> In file included from /usr/include/c++/4.2.1/ios:48,
>>>>>>>           from /usr/include/c++/4.2.1/istream:44,
>>>>>>>           from /usr/include/c++/4.2.1/sstream:44,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkMacro.h:52,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkLightObject.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkObject.h:31,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkCommand.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolKit-build-4.4.2/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:
>>>>>>> /usr/include/c++/4.2.1/bits/ios_base.h:457: error: 'streamsize' does not name a type
>>>>>>> /usr/include/c++/4.2.1/bits/ios_base.h:458: error: 'streamsize' does not name a type
>>>>>>> /usr/include/c++/4.2.1/bits/ios_base.h:617: error: 'streamsize' does not name a type
>>>>>>> /usr/include/c++/4.2.1/bits/ios_base.h:625: error: 'streamsize' does not name a type
>>>>>>> /usr/include/c++/4.2.1/bits/ios_base.h:639: error: 'streamsize' does not name a type
>>>>>>> /usr/include/c++/4.2.1/bits/ios_base.h:647: error: 'streamsize' does not name a type
>>>>>>> In file included from /usr/include/c++/4.2.1/ios:49,
>>>>>>>           from /usr/include/c++/4.2.1/istream:44,
>>>>>>>           from /usr/include/c++/4.2.1/sstream:44,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkMacro.h:52,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkLightObject.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkObject.h:31,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkCommand.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolKit-build-4.4.2/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:
>>>>>>> /usr/include/c++/4.2.1/streambuf:60: error: expected constructor, destructor, or type conversion before '__copy_streambufs_eof'
>>>>>>> /usr/include/c++/4.2.1/streambuf:155: error: 'streamsize' does not name a type
>>>>>>> /usr/include/c++/4.2.1/streambuf:254: error: 'streamsize' has not been declared
>>>>>>> /usr/include/c++/4.2.1/streambuf:280: error: 'streamsize' does not name a type
>>>>>>> /usr/include/c++/4.2.1/streambuf:353: error: 'streamsize' does not name a type
>>>>>>> /usr/include/c++/4.2.1/streambuf:445: error: 'streamsize' does not name a type
>>>>>>> /usr/include/c++/4.2.1/streambuf:587: error: 'streamsize' has not been declared
>>>>>>> /usr/include/c++/4.2.1/streambuf:644: error: 'streamsize' does not name a type
>>>>>>> /usr/include/c++/4.2.1/streambuf:660: error: 'streamsize' does not name a type
>>>>>>> /usr/include/c++/4.2.1/streambuf:737: error: 'streamsize' does not name a type
>>>>>>> /usr/include/c++/4.2.1/streambuf:808: error: expected constructor, destructor, or type conversion before '__copy_streambufs_eof'
>>>>>>> /usr/include/c++/4.2.1/streambuf:813: error: expected constructor, destructor, or type conversion before '__copy_streambufs_eof'
>>>>>>> In file included from /usr/include/c++/4.2.1/streambuf:820,
>>>>>>>           from /usr/include/c++/4.2.1/ios:49,
>>>>>>>           from /usr/include/c++/4.2.1/istream:44,
>>>>>>>           from /usr/include/c++/4.2.1/sstream:44,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkMacro.h:52,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkLightObject.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkObject.h:31,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkCommand.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolKit-build-4.4.2/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:
>>>>>>> /usr/include/c++/4.2.1/bits/streambuf.tcc:49: error: expected constructor, destructor, or type conversion before 'basic_streambuf'
>>>>>>> /usr/include/c++/4.2.1/bits/streambuf.tcc:83: error: expected constructor, destructor, or type conversion before 'basic_streambuf'
>>>>>>> /usr/include/c++/4.2.1/bits/streambuf.tcc:120: error: expected constructor, destructor, or type conversion before '__copy_streambufs_eof'
>>>>>>> /usr/include/c++/4.2.1/bits/streambuf.tcc:143: error: expected initializer before '__copy_streambufs'
>>>>>>> /usr/include/c++/4.2.1/bits/streambuf.tcc:156: error: explicit instantiation of non-template 'int std::streamsize'
>>>>>>> /usr/include/c++/4.2.1/bits/streambuf.tcc:157: error: expected `;' before '__copy_streambufs'
>>>>>>> /usr/include/c++/4.2.1/bits/streambuf.tcc:160: error: explicit instantiation of non-template 'int std::streamsize'
>>>>>>> /usr/include/c++/4.2.1/bits/streambuf.tcc:161: error: expected `;' before '__copy_streambufs_eof'
>>>>>>> /usr/include/c++/4.2.1/bits/streambuf.tcc:167: error: explicit instantiation of non-template 'int std::streamsize'
>>>>>>> /usr/include/c++/4.2.1/bits/streambuf.tcc:168: error: expected `;' before '__copy_streambufs'
>>>>>>> /usr/include/c++/4.2.1/bits/streambuf.tcc:171: error: explicit instantiation of non-template 'int std::streamsize'
>>>>>>> /usr/include/c++/4.2.1/bits/streambuf.tcc:172: error: expected `;' before '__copy_streambufs_eof'
>>>>>>> In file included from /usr/include/c++/4.2.1/bits/basic_ios.h:41,
>>>>>>>           from /usr/include/c++/4.2.1/ios:50,
>>>>>>>           from /usr/include/c++/4.2.1/istream:44,
>>>>>>>           from /usr/include/c++/4.2.1/sstream:44,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkMacro.h:52,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkLightObject.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkObject.h:31,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkCommand.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolKit-build-4.4.2/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:
>>>>>>> /usr/include/c++/4.2.1/bits/streambuf_iterator.h:51: error: wrong number of template arguments (5, should be 3)
>>>>>>> /usr/include/c++/4.2.1/bits/stl_iterator_base_types.h:106: error: provided for 'template<class _Category, class _Tp, class _Distance> struct std::iterator'
>>>>>>> /usr/include/c++/4.2.1/bits/streambuf_iterator.h:211: error: wrong number of template arguments (5, should be 3)
>>>>>>> /usr/include/c++/4.2.1/bits/stl_iterator_base_types.h:106: error: provided for 'template<class _Category, class _Tp, class _Distance> struct std::iterator'
>>>>>>> /usr/include/c++/4.2.1/bits/streambuf_iterator.h:273: error: 'streamsize' has not been declared
>>>>>>> /usr/include/c++/4.2.1/bits/streambuf_iterator.h: In function 'typename __gnu_cxx::__enable_if<std::__is_char<_Tp>::__value, std::ostreambuf_iterator<_CharT, std::char_traits<_CharT> > >::__type std::__copy_aux(_CharT*, _CharT*, std::ostreambuf_iterator<_CharT, std::char_traits<_CharT> >)':
>>>>>>> /usr/include/c++/4.2.1/bits/streambuf_iterator.h:307: error: 'streamsize' does not name a type
>>>>>>> /usr/include/c++/4.2.1/bits/streambuf_iterator.h:308: error: '__num' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/streambuf_iterator.h: In function 'typename __gnu_cxx::__enable_if<std::__is_char<_Tp>::__value, std::ostreambuf_iterator<_CharT, std::char_traits<_CharT> > >::__type std::__copy_aux(const _CharT*, const _CharT*, std::ostreambuf_iterator<_CharT, std::char_traits<_CharT> >)':
>>>>>>> /usr/include/c++/4.2.1/bits/streambuf_iterator.h:319: error: 'streamsize' does not name a type
>>>>>>> /usr/include/c++/4.2.1/bits/streambuf_iterator.h:320: error: '__num' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/streambuf_iterator.h: In function 'typename __gnu_cxx::__enable_if<std::__is_char<_Tp>::__value, _CharT*>::__type std::__copy_aux(std::istreambuf_iterator<_CharT, std::char_traits<_CharT> >, std::istreambuf_iterator<_CharT, std::char_traits<_CharT> >, _CharT*)':
>>>>>>> /usr/include/c++/4.2.1/bits/streambuf_iterator.h:342: error: 'streamsize' does not name a type
>>>>>>> /usr/include/c++/4.2.1/bits/streambuf_iterator.h:343: error: '__n' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/streambuf_iterator.h: In function 'typename __gnu_cxx::__enable_if<std::__is_char<_Tp>::__value, std::istreambuf_iterator<_CharT, std::char_traits<_CharT> > >::__type std::find(std::istreambuf_iterator<_CharT, std::char_traits<_CharT> >, std::istreambuf_iterator<_CharT, std::char_traits<_CharT> >, const _CharT&)':
>>>>>>> /usr/include/c++/4.2.1/bits/streambuf_iterator.h:379: error: 'streamsize' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/streambuf_iterator.h:379: error: expected `;' before '__n'
>>>>>>> /usr/include/c++/4.2.1/bits/streambuf_iterator.h:380: error: '__n' was not declared in this scope
>>>>>>> In file included from /usr/include/c++/4.2.1/bits/basic_ios.h:44,
>>>>>>>           from /usr/include/c++/4.2.1/ios:50,
>>>>>>>           from /usr/include/c++/4.2.1/istream:44,
>>>>>>>           from /usr/include/c++/4.2.1/sstream:44,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkMacro.h:52,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkLightObject.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkObject.h:31,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkCommand.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolKit-build-4.4.2/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.h: At global scope:
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.h:93: error: expected ',' or '...' before '__newlen'
>>>>>>> In file included from /usr/include/c++/4.2.1/bits/basic_ios.h:44,
>>>>>>>           from /usr/include/c++/4.2.1/ios:50,
>>>>>>>           from /usr/include/c++/4.2.1/istream:44,
>>>>>>>           from /usr/include/c++/4.2.1/sstream:44,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkMacro.h:52,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkLightObject.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkObject.h:31,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkCommand.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolKit-build-4.4.2/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.h:2461: error: 'streamsize' has not been declared
>>>>>>> In file included from /usr/include/c++/4.2.1/sstream:44,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkMacro.h:52,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkLightObject.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkObject.h:31,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkCommand.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolKit-build-4.4.2/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:
>>>>>>> /usr/include/c++/4.2.1/istream:92: error: 'streamsize' does not name a type
>>>>>>> /usr/include/c++/4.2.1/istream:259: error: 'streamsize' does not name a type
>>>>>>> /usr/include/c++/4.2.1/istream:333: error: 'streamsize' has not been declared
>>>>>>> /usr/include/c++/4.2.1/istream:344: error: 'streamsize' has not been declared
>>>>>>> /usr/include/c++/4.2.1/istream:406: error: 'streamsize' has not been declared
>>>>>>> /usr/include/c++/4.2.1/istream:417: error: 'streamsize' has not been declared
>>>>>>> /usr/include/c++/4.2.1/istream:444: error: expected ';' before '(' token
>>>>>>> /usr/include/c++/4.2.1/istream:447: error: expected ';' before '(' token
>>>>>>> /usr/include/c++/4.2.1/istream:476: error: 'streamsize' has not been declared
>>>>>>> /usr/include/c++/4.2.1/istream:494: error: 'streamsize' does not name a type
>>>>>>> /usr/include/c++/4.2.1/istream: In constructor 'std::basic_istream<_CharT, _Traits>::basic_istream(std::basic_streambuf<_CharT, _Traits>*)':
>>>>>>> /usr/include/c++/4.2.1/istream:104: error: class 'std::basic_istream<_CharT, _Traits>' does not have any field named '_M_gcount'
>>>>>>> /usr/include/c++/4.2.1/istream:104: error: there are no arguments to 'streamsize' that depend on a template parameter, so a declaration of 'streamsize' must be available
>>>>>>> /usr/include/c++/4.2.1/istream:104: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
>>>>>>> /usr/include/c++/4.2.1/istream: In destructor 'virtual std::basic_istream<_CharT, _Traits>::~basic_istream()':
>>>>>>> /usr/include/c++/4.2.1/istream:114: error: '_M_gcount' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/istream:114: error: there are no arguments to 'streamsize' that depend on a template parameter, so a declaration of 'streamsize' must be available
>>>>>>> /usr/include/c++/4.2.1/istream: In constructor 'std::basic_istream<_CharT, _Traits>::basic_istream()':
>>>>>>> /usr/include/c++/4.2.1/istream:594: error: class 'std::basic_istream<_CharT, _Traits>' does not have any field named '_M_gcount'
>>>>>>> /usr/include/c++/4.2.1/istream:594: error: there are no arguments to 'streamsize' that depend on a template parameter, so a declaration of 'streamsize' must be available
>>>>>>> /usr/include/c++/4.2.1/istream: At global scope:
>>>>>>> /usr/include/c++/4.2.1/istream:605: error: 'streamsize' has not been declared
>>>>>>> /usr/include/c++/4.2.1/istream:610: error: 'std::basic_istream<char, std::char_traits<char> >& std::basic_istream<char, std::char_traits<char> >::ignore' is not a static member of 'struct std::basic_istream<char, std::char_traits<char> >'
>>>>>>> /usr/include/c++/4.2.1/istream:610: error: 'streamsize' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/istream:615: error: 'std::basic_istream<char, std::char_traits<char> >& std::basic_istream<char, std::char_traits<char> >::ignore' is not a static member of 'struct std::basic_istream<char, std::char_traits<char> >'
>>>>>>> /usr/include/c++/4.2.1/istream:615: error: 'streamsize' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/istream:615: error: expected primary-expression before '__delim'
>>>>>>> /usr/include/c++/4.2.1/istream:615: error: initializer expression list treated as compound expression
>>>>>>> /usr/include/c++/4.2.1/istream:621: error: 'streamsize' has not been declared
>>>>>>> /usr/include/c++/4.2.1/istream:626: error: 'std::basic_istream<wchar_t, std::char_traits<wchar_t> >& std::basic_istream<wchar_t, std::char_traits<wchar_t> >::ignore' is not a static member of 'struct std::basic_istream<wchar_t, std::char_traits<wchar_t> >'
>>>>>>> /usr/include/c++/4.2.1/istream:626: error: 'streamsize' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/istream:631: error: 'std::basic_istream<wchar_t, std::char_traits<wchar_t> >& std::basic_istream<wchar_t, std::char_traits<wchar_t> >::ignore' is not a static member of 'struct std::basic_istream<wchar_t, std::char_traits<wchar_t> >'
>>>>>>> /usr/include/c++/4.2.1/istream:631: error: 'streamsize' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/istream:631: error: expected primary-expression before '__delim'
>>>>>>> /usr/include/c++/4.2.1/istream:631: error: initializer expression list treated as compound expression
>>>>>>> In file included from /usr/include/c++/4.2.1/locale:46,
>>>>>>>           from /usr/include/c++/4.2.1/bits/istream.tcc:46,
>>>>>>>           from /usr/include/c++/4.2.1/istream:845,
>>>>>>>           from /usr/include/c++/4.2.1/sstream:44,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkMacro.h:52,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkLightObject.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkObject.h:31,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkCommand.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolKit-build-4.4.2/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc:904: error: 'streamsize' has not been declared
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc: In member function '_OutIter std::num_put<_CharT, _OutIter>::_M_insert_int(_OutIter, std::ios_base&, _CharT, _ValueT) const':
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc:1043: error: 'streamsize' does not name a type
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc:1044: error: '__w' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc:1044: error: expected type-specifier before 'streamsize'
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc:1044: error: expected `>' before 'streamsize'
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc:1044: error: expected `(' before 'streamsize'
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc:1044: error: 'streamsize' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc:1045: error: expected `)' before '{' token
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc: In member function '_OutIter std::num_put<_CharT, _OutIter>::_M_insert_float(_OutIter, std::ios_base&, _CharT, char, _ValueT) const':
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc:1106: error: 'streamsize' does not name a type
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc:1122: error: '__prec' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc:1179: error: 'streamsize' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc:1179: error: expected `;' before '__off'
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc:1182: error: '__off' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc:1188: error: '__off' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc:1196: error: 'streamsize' does not name a type
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc:1197: error: '__w' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc:1197: error: expected type-specifier before 'streamsize'
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc:1197: error: expected `>' before 'streamsize'
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc:1197: error: expected `(' before 'streamsize'
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc:1197: error: 'streamsize' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc:1198: error: expected `)' before '{' token
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc: In member function 'virtual _OutIter std::num_put<_CharT, _OutIter>::do_put(_OutIter, std::ios_base&, _CharT, bool) const':
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc:1234: error: 'streamsize' does not name a type
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc:1235: error: '__w' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc:1235: error: expected type-specifier before 'streamsize'
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc:1235: error: expected `>' before 'streamsize'
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc:1235: error: expected `(' before 'streamsize'
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc:1235: error: 'streamsize' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc:1236: error: expected `)' before '{' token
>>>>>>> /usr/include/c++/4.2.1/bits/stl_iterator.h: At global scope:
>>>>>>> /usr/include/c++/4.2.1/bits/stl_iterator.h: In instantiation of '__gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >':
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc:1500:   instantiated from here
>>>>>>> /usr/include/c++/4.2.1/bits/stl_iterator.h:646: error: no type named 'difference_type' in 'struct std::iterator_traits<char*>'
>>>>>>> /usr/include/c++/4.2.1/bits/stl_iterator.h:697: error: no type named 'difference_type' in 'struct std::iterator_traits<char*>'
>>>>>>> /usr/include/c++/4.2.1/bits/stl_iterator.h:701: error: no type named 'difference_type' in 'struct std::iterator_traits<char*>'
>>>>>>> /usr/include/c++/4.2.1/bits/stl_iterator.h:705: error: no type named 'difference_type' in 'struct std::iterator_traits<char*>'
>>>>>>> /usr/include/c++/4.2.1/bits/stl_iterator.h:709: error: no type named 'difference_type' in 'struct std::iterator_traits<char*>'
>>>>>>> /usr/include/c++/4.2.1/bits/stl_iterator.h:713: error: no type named 'difference_type' in 'struct std::iterator_traits<char*>'
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc: In member function '_OutIter std::money_put<_CharT, _OutIter>::_M_insert(_OutIter, std::ios_base&, _CharT, const std::basic_string<_CharT, std::char_traits<_CharT>, std::allocator<_CharT> >&) const':
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc:1679: error: 'class std::ios_base' has no member named 'width'
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc:1739: error: 'class std::ios_base' has no member named 'width'
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc: At global scope:
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc:2507: error: expected ',' or '...' before '__newlen'
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc: In static member function 'static void std::__pad<_CharT, _Traits>::_S_pad(std::ios_base&, _CharT, _CharT*, const _CharT*, int)':
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc:2510: error: '__newlen' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc:2510: error: '__oldlen' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/locale_facets.tcc:2522: error: '__num' was not declared in this scope
>>>>>>> In file included from /usr/include/c++/4.2.1/bits/istream.tcc:47,
>>>>>>>           from /usr/include/c++/4.2.1/istream:845,
>>>>>>>           from /usr/include/c++/4.2.1/sstream:44,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkMacro.h:52,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkLightObject.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkObject.h:31,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkCommand.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolKit-build-4.4.2/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:
>>>>>>> /usr/include/c++/4.2.1/ostream: At global scope:
>>>>>>> /usr/include/c++/4.2.1/ostream:327: error: 'streamsize' has not been declared
>>>>>>> /usr/include/c++/4.2.1/ostream:351: error: 'streamsize' has not been declared
>>>>>>> /usr/include/c++/4.2.1/ostream: In member function 'void std::basic_ostream<_CharT, _Traits>::_M_write(const _CharT*, int)':
>>>>>>> /usr/include/c++/4.2.1/ostream:329: error: 'streamsize' does not name a type
>>>>>>> /usr/include/c++/4.2.1/ostream:330: error: '__put' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/ostream: In function 'std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const _CharT*)':
>>>>>>> /usr/include/c++/4.2.1/ostream:564: error: expected type-specifier before 'streamsize'
>>>>>>> /usr/include/c++/4.2.1/ostream:564: error: expected `>' before 'streamsize'
>>>>>>> /usr/include/c++/4.2.1/ostream:564: error: expected `(' before 'streamsize'
>>>>>>> /usr/include/c++/4.2.1/ostream:564: error: 'streamsize' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/ostream: In function 'std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const char*)':
>>>>>>> /usr/include/c++/4.2.1/ostream:581: error: expected type-specifier before 'streamsize'
>>>>>>> /usr/include/c++/4.2.1/ostream:581: error: expected `>' before 'streamsize'
>>>>>>> /usr/include/c++/4.2.1/ostream:581: error: expected `(' before 'streamsize'
>>>>>>> /usr/include/c++/4.2.1/ostream:581: error: 'streamsize' was not declared in this scope
>>>>>>> In file included from /usr/include/c++/4.2.1/ostream:635,
>>>>>>>           from /usr/include/c++/4.2.1/bits/istream.tcc:47,
>>>>>>>           from /usr/include/c++/4.2.1/istream:845,
>>>>>>>           from /usr/include/c++/4.2.1/sstream:44,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkMacro.h:52,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkLightObject.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkObject.h:31,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkCommand.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolKit-build-4.4.2/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:
>>>>>>> /usr/include/c++/4.2.1/bits/ostream.tcc: At global scope:
>>>>>>> /usr/include/c++/4.2.1/bits/ostream.tcc:173: error: 'streamsize' has not been declared
>>>>>>> In file included from /usr/include/c++/4.2.1/istream:845,
>>>>>>>           from /usr/include/c++/4.2.1/sstream:44,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkMacro.h:52,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkLightObject.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkObject.h:31,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkCommand.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolKit-build-4.4.2/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc: In member function 'typename std::basic_istream<_CharT, _Traits>::int_type std::basic_istream<_CharT, _Traits>::get()':
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc:186: error: '_M_gcount' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::get(_CharT&)':
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc:215: error: '_M_gcount' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc: At global scope:
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc:245: error: 'streamsize' has not been declared
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::get(_CharT*, int, _CharT)':
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc:247: error: '_M_gcount' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::get(std::basic_streambuf<_CharT, _Traits>&, _CharT)':
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc:289: error: '_M_gcount' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc: At global scope:
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc:326: error: 'streamsize' has not been declared
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::getline(_CharT*, int, _CharT)':
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc:328: error: '_M_gcount' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::ignore()':
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc:383: error: '_M_gcount' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc: At global scope:
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc:409: error: 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::ignore' is not a static member of 'class std::basic_istream<_CharT, _Traits>'
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc:409: error: template definition of non-template 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::ignore'
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc:409: error: 'streamsize' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc:410: error: expected `;' before '{' token
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc:465: error: 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::ignore' is not a static member of 'class std::basic_istream<_CharT, _Traits>'
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc:465: error: template definition of non-template 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::ignore'
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc:465: error: 'streamsize' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc:465: error: expected primary-expression before '__delim'
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc:466: error: expected `;' before '{' token
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc: In member function 'typename std::basic_istream<_CharT, _Traits>::int_type std::basic_istream<_CharT, _Traits>::peek()':
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc:526: error: '_M_gcount' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc: At global scope:
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc:548: error: 'streamsize' has not been declared
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::read(_CharT*, int)':
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc:550: error: '_M_gcount' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc: At global scope:
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc:571: error: expected constructor, destructor, or type conversion before 'basic_istream'
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::putback(_CharT)':
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc:603: error: '_M_gcount' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::unget()':
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc:631: error: '_M_gcount' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc: In function 'std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT2*)':
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc:796: error: 'streamsize' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc:796: error: expected `;' before '__extracted'
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc:804: error: expected `;' before '__num'
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc:805: error: '__num' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc:806: error: 'streamsize' cannot appear in a constant-expression
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc:806: error: template argument 1 is invalid
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc:814: error: '__extracted' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc:814: error: '__num' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc:834: error: '__extracted' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc: In function 'std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::basic_string<_CharT, _Traits, _Alloc>&)':
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc:889: error: 'streamsize' does not name a type
>>>>>>> /usr/include/c++/4.2.1/bits/istream.tcc:890: error: '__w' was not declared in this scope
>>>>>>> In file included from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkMacro.h:52,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkLightObject.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkObject.h:31,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkCommand.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolKit-build-4.4.2/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:
>>>>>>> /usr/include/c++/4.2.1/sstream: At global scope:
>>>>>>> /usr/include/c++/4.2.1/sstream:179: error: 'streamsize' does not name a type
>>>>>>> /usr/include/c++/4.2.1/sstream:212: error: 'streamsize' has not been declared
>>>>>>> In file included from /usr/include/c++/4.2.1/vector:70,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkMetaDataDictionary.h:22,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkObject.h:33,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkCommand.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolKit-build-4.4.2/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:
>>>>>>> /usr/include/c++/4.2.1/bits/stl_vector.h:185: error: 'ptrdiff_t' does not name a type
>>>>>>> In file included from /usr/include/c++/4.2.1/vector:71,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkMetaDataDictionary.h:22,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkObject.h:33,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkCommand.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolKit-build-4.4.2/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:111: error: template argument 3 is invalid
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:140: error: 'ptrdiff_t' has not been declared
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h: In member function 'void std::_Bit_iterator_base::_M_incr(int)':
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:142: error: 'difference_type' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:142: error: expected `;' before '__n'
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:143: error: '__n' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h: At global scope:
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:182: error: expected initializer before 'operator'
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:234: error: declaration of 'operator+=' as non-function
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:234: error: expected ';' before '(' token
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:240: error: expected `;' before 'iterator'
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:241: error: declaration of 'operator-=' as non-function
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:241: error: expected ';' before '(' token
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:247: error: expected `;' before 'iterator'
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:248: error: 'difference_type' has not been declared
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:255: error: 'difference_type' has not been declared
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:262: error: 'difference_type' has not been declared
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h: In member function 'std::_Bit_iterator std::_Bit_iterator::operator+(int) const':
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:251: error: no match for 'operator+=' in '__tmp += __i'
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h: In member function 'std::_Bit_iterator std::_Bit_iterator::operator-(int) const':
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:258: error: no match for 'operator-=' in '__tmp -= __i'
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h: At global scope:
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:267: error: declaration of 'operator+' as non-function
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:267: error: 'ptrdiff_t' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:267: error: expected primary-expression before 'const'
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:320: error: declaration of 'operator+=' as non-function
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:320: error: expected ';' before '(' token
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:326: error: expected `;' before 'const_iterator'
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:327: error: declaration of 'operator-=' as non-function
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:327: error: expected ';' before '(' token
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:333: error: expected `;' before 'const_iterator'
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:334: error: 'difference_type' has not been declared
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:341: error: 'difference_type' has not been declared
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:348: error: 'difference_type' has not been declared
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h: In member function 'std::_Bit_const_iterator std::_Bit_const_iterator::operator+(int) const':
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:337: error: no match for 'operator+=' in '__tmp += __i'
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h: In member function 'std::_Bit_const_iterator std::_Bit_const_iterator::operator-(int) const':
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:344: error: no match for 'operator-=' in '__tmp -= __i'
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h: At global scope:
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:353: error: declaration of 'operator+' as non-function
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:353: error: 'ptrdiff_t' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:353: error: expected primary-expression before 'const'
>>>>>>> In file included from /usr/include/c++/4.2.1/vector:71,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkMetaDataDictionary.h:22,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkObject.h:33,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkCommand.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolKit-build-4.4.2/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:463: error: 'ptrdiff_t' does not name a type
>>>>>>> /usr/include/c++/4.2.1/bits/stl_iterator_base_types.h: In instantiation of 'std::iterator_traits<std::_Bit_iterator>':
>>>>>>> /usr/include/c++/4.2.1/bits/stl_iterator.h:107:   instantiated from 'std::reverse_iterator<std::_Bit_iterator>'
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:564:   instantiated from here
>>>>>>> /usr/include/c++/4.2.1/bits/stl_iterator_base_types.h:129: error: no type named 'iterator_category' in 'struct std::_Bit_iterator'
>>>>>>> /usr/include/c++/4.2.1/bits/stl_iterator_base_types.h:130: error: no type named 'value_type' in 'struct std::_Bit_iterator'
>>>>>>> /usr/include/c++/4.2.1/bits/stl_iterator_base_types.h:131: error: no type named 'difference_type' in 'struct std::_Bit_iterator'
>>>>>>> /usr/include/c++/4.2.1/bits/stl_iterator_base_types.h: In instantiation of 'std::iterator_traits<std::_Bit_const_iterator>':
>>>>>>> /usr/include/c++/4.2.1/bits/stl_iterator.h:107:   instantiated from 'std::reverse_iterator<std::_Bit_const_iterator>'
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:568:   instantiated from here
>>>>>>> /usr/include/c++/4.2.1/bits/stl_iterator_base_types.h:129: error: no type named 'iterator_category' in 'struct std::_Bit_const_iterator'
>>>>>>> /usr/include/c++/4.2.1/bits/stl_iterator_base_types.h:130: error: no type named 'value_type' in 'struct std::_Bit_const_iterator'
>>>>>>> /usr/include/c++/4.2.1/bits/stl_iterator_base_types.h:131: error: no type named 'difference_type' in 'struct std::_Bit_const_iterator'
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h: In member function 'std::_Bit_iterator std::vector<bool, _Alloc>::insert(std::_Bit_iterator, const bool&)':
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:706: error: 'difference_type' does not name a type
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:712: error: '__n' was not declared in this scope
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h: In member function 'void std::vector<bool, _Alloc>::resize(size_t, bool)':
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:752: error: there are no arguments to 'difference_type' that depend on a template parameter, so a declaration of 'difference_type' must be available
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h: In member function 'void std::vector<bool, _Alloc>::_M_initialize(size_t)':
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:789: error: there are no arguments to 'difference_type' that depend on a template parameter, so a declaration of 'difference_type' must be available
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h: In member function 'void std::vector<bool, _Alloc>::_M_fill_insert(std::_Bit_iterator, size_t, bool)':
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:910: error: there are no arguments to 'difference_type' that depend on a template parameter, so a declaration of 'difference_type' must be available
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:911: error: there are no arguments to 'difference_type' that depend on a template parameter, so a declaration of 'difference_type' must be available
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:912: error: there are no arguments to 'difference_type' that depend on a template parameter, so a declaration of 'difference_type' must be available
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:920: error: there are no arguments to 'difference_type' that depend on a template parameter, so a declaration of 'difference_type' must be available
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:922: error: there are no arguments to 'difference_type' that depend on a template parameter, so a declaration of 'difference_type' must be available
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h: In member function 'void std::vector<bool, _Alloc>::_M_insert_range(std::_Bit_iterator, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag)':
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:955: error: there are no arguments to 'difference_type' that depend on a template parameter, so a declaration of 'difference_type' must be available
>>>>>>> /usr/include/c++/4.2.1/bits/stl_bvector.h:957: error: there are no arguments to 'difference_type' that depend on a template parameter, so a declaration of 'difference_type' must be available
>>>>>>> In file included from /usr/include/c++/4.2.1/map:65,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkMetaDataDictionary.h:23,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkObject.h:33,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkCommand.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolKit-build-4.4.2/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:
>>>>>>> /usr/include/c++/4.2.1/bits/stl_tree.h: At global scope:
>>>>>>> /usr/include/c++/4.2.1/bits/stl_tree.h:161: error: 'ptrdiff_t' does not name a type
>>>>>>> /usr/include/c++/4.2.1/bits/stl_tree.h:233: error: 'ptrdiff_t' does not name a type
>>>>>>> /usr/include/c++/4.2.1/bits/stl_tree.h:351: error: 'ptrdiff_t' does not name a type
>>>>>>> In file included from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkObject.h:33,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkCommand.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolKit-build-4.4.2/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:
>>>>>>> /usr/include/c++/4.2.1/bits/stl_map.h: In instantiation of 'std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, itk::SmartPointer<itk::MetaDataObjectBase>, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, itk::SmartPointer<itk::MetaDataObjectBase> > > >':
>>>>>>> /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkMetaDataDictionary.h:54:   instantiated from here
>>>>>>> /usr/include/c++/4.2.1/bits/stl_map.h:147: error: no type named 'difference_type' in 'class std::_Rb_tree<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, itk::SmartPointer<itk::MetaDataObjectBase> >, std::_Select1st<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, itk::SmartPointer<itk::MetaDataObjectBase> > >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, itk::SmartPointer<itk::MetaDataObjectBase> > > >'
>>>>>>> In file included from /usr/include/c++/4.2.1/list:70,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkObjectFactoryBase.h:32,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkObjectFactory.h:31,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Core/Common/include/itkCommand.h:22,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolKit-build-4.4.2/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:
>>>>>>> /usr/include/c++/4.2.1/bits/stl_list.h:117: error: 'ptrdiff_t' does not name a type
>>>>>>> /usr/include/c++/4.2.1/bits/stl_list.h:195: error: 'ptrdiff_t' does not name a type
>>>>>>> /usr/include/c++/4.2.1/bits/stl_list.h:428: error: 'ptrdiff_t' does not name a type
>>>>>>> In file included from /usr/include/c++/4.2.1/deque:70,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Filtering/LabelMap/include/itkLabelObject.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Filtering/LabelMap/include/itkShapeLabelObject.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolkit-4.4.2/Modules/Filtering/LabelMap/include/itkStatisticsLabelObject.h:21,
>>>>>>>           from /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolKit-build-4.4.2/Wrapping/Modules/ITKCommon/vcl_complex.cxx:2:
>>>>>>> /usr/include/c++/4.2.1/bits/stl_deque.h:115: error: 'ptrdiff_t' does not name a type
>>>>>>> /usr/include/c++/4.2.1/bits/stl_deque.h:183: error: declaration of 'operator+=' as non-function
>>>>>>> /usr/include/c++/4.2.1/bits/stl_deque.h:183: error: expected ';' before '(' token
>>>>>>> /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolKit-build-4.4.2/Wrapping/Modules/ITKCommon/vcl_complex.cxx:50: error: expected `;' at end of input
>>>>>>> /Users/emilrozbicki/Source-code-software/InsightToolKit/InsightToolKit-build-4.4.2/Wrapping/Modules/ITKCommon/vcl_complex.cxx:50: error: expected `}' at end of input
>>>>>>> /usr/include/c++/4.2.1/bits/stl_deque.h:180: error: expected unqualified-id at end of input
>>>>>>> /usr/include/c++/4.2.1/bits/stl_deque.h:180: error: expected `}' at end of input
>>>>>>> make[2]: *** [Wrapping/Modules/ITKCommon/vcl_complex.xml] Error 1
>>>>>>> make[1]: *** [Wrapping/Modules/ITKCommon/CMakeFiles/ITKCommonGccXML.dir/all] Error 2
>>>>>>> make: *** [all] Error 2
>>>>>>> 
>>>>>>> Thanks,
>>>>>>> Emil
>>>>>>> 
>>>>>>> On 17 Dec 2013, at 16:06, Matt McCormick <matt.mccormick at kitware.com> wrote:
>>>>>>> 
>>>>>>>> Hi Emi,
>>>>>>>> 
>>>>>>>> Thanks for the thorough description of the situation.
>>>>>>>> 
>>>>>>>> GCC-XML has limited support for the newer Mac compilers.
>>>>>>>> 
>>>>>>>> The
>>>>>>>> 
>>>>>>>> make[2]: *** [bin/ITKCommon1TestDriver] Error 1
>>>>>>>> make[1]: *** [Modules/Core/Common/test/CMakeFiles/ITKCommon1TestDriver.dir/all]
>>>>>>>> Error 2
>>>>>>>> 
>>>>>>>> errors do not contain the informative section of the error message.
>>>>>>>> Further up, can a more descriptive line with a full error message be
>>>>>>>> found?
>>>>>>>> 
>>>>>>>> Thanks,
>>>>>>>> Matt
>>>>>>>> 
>>>>>>>> 
>>>>>>>> On Tue, Dec 17, 2013 at 9:43 AM, Emil Rozbicki <emilroz at gmail.com> wrote:
>>>>>>>>> Hello,
>>>>>>>>> 
>>>>>>>>> as in the topic, I have a problem with building ITK 4.4.2 on OS X 10.8.5
>>>>>>>>> with clang 5.0.
>>>>>>>>> 
>>>>>>>>> Errors I'm getting have been posted here before:
>>>>>>>>> 
>>>>>>>>> make[2]: *** [Wrapping/Modules/ITKCommon/vcl_complex.xml] Error 1
>>>>>>>>> make[1]: *** [Wrapping/Modules/ITKCommon/CMakeFiles/ITKCommonGccXML.dir/all]
>>>>>>>>> Error 2
>>>>>>>>> 
>>>>>>>>> but solution came from getting the gcc and g++ compilers correct in Cmake
>>>>>>>>> and getting the python path right. I think I have those correctly (I can
>>>>>>>>> build SimpleITK with python wrapper with this config no problem but I'm
>>>>>>>>> after image registration so need full ITK).
>>>>>>>>> 
>>>>>>>>> My CMake Config:
>>>>>>>>> C compilers:
>>>>>>>>> CMAKE_CXX_COMPILER    /usr/bin/g++
>>>>>>>>> CMAKE_C_COMPILER      /usr/bin/gcc
>>>>>>>>> 
>>>>>>>>> I'm using homebrew python so my path are: (I used the same paths to build
>>>>>>>>> SimpleITK python wrapper and it worked):
>>>>>>>>> PYTHON_EXECUTABLE    /usr/local/bin/python
>>>>>>>>> PYTHON_INCLUDE_DIR    /usr/local/Frameworks/Python.framework/Headers
>>>>>>>>> PYTHON_LIBRARY
>>>>>>>>> /usr/local/Frameworks/Python.framework/Versions/Current/lib/libpython2.7.dylib
>>>>>>>>> PY_SITE_PACKAGES_PATH
>>>>>>>>> /usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
>>>>>>>>> 
>>>>>>>>> My C compilers:
>>>>>>>>> g++ -v
>>>>>>>>> Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
>>>>>>>>> --with-gxx-include-dir=/usr/include/c++/4.2.1
>>>>>>>>> Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
>>>>>>>>> Target: x86_64-apple-darwin12.5.0
>>>>>>>>> Thread model: posix
>>>>>>>>> 
>>>>>>>>> I also tried HEAD ITK from git but it results in different errors:
>>>>>>>>> make[2]: *** [bin/ITKCommon1TestDriver] Error 1
>>>>>>>>> make[1]: ***
>>>>>>>>> [Modules/Core/Common/test/CMakeFiles/ITKCommon1TestDriver.dir/all] Error 2
>>>>>>>>> 
>>>>>>>>> Any idea what's wrong here?
>>>>>>>>> 
>>>>>>>>> Kind Regards,
>>>>>>>>> Emi
>>>>>>>>> 
>>>>>>>>> _____________________________________
>>>>>>>>> Powered by www.kitware.com
>>>>>>>>> 
>>>>>>>>> Visit other Kitware open-source projects at
>>>>>>>>> http://www.kitware.com/opensource/opensource.html
>>>>>>>>> 
>>>>>>>>> Kitware offers ITK Training Courses, for more information visit:
>>>>>>>>> http://www.kitware.com/products/protraining.php
>>>>>>>>> 
>>>>>>>>> Please keep messages on-topic and check the ITK FAQ at:
>>>>>>>>> http://www.itk.org/Wiki/ITK_FAQ
>>>>>>>>> 
>>>>>>>>> Follow this link to subscribe/unsubscribe:
>>>>>>>>> http://www.itk.org/mailman/listinfo/insight-users
>>>>>>>>> 
>>>>>>>>> _______________________________________________
>>>>>>>>> Community mailing list
>>>>>>>>> Community at itk.org
>>>>>>>>> http://public.kitware.com/cgi-bin/mailman/listinfo/community
>>>>>>>>> 
>>>>>>> 
>>>>>>> _____________________________________
>>>>>>> Powered by www.kitware.com
>>>>>>> 
>>>>>>> Visit other Kitware open-source projects at
>>>>>>> http://www.kitware.com/opensource/opensource.html
>>>>>>> 
>>>>>>> Kitware offers ITK Training Courses, for more information visit:
>>>>>>> http://www.kitware.com/products/protraining.php
>>>>>>> 
>>>>>>> Please keep messages on-topic and check the ITK FAQ at:
>>>>>>> http://www.itk.org/Wiki/ITK_FAQ
>>>>>>> 
>>>>>>> Follow this link to subscribe/unsubscribe:
>>>>>>> http://www.itk.org/mailman/listinfo/insight-users
>>>>>>> _______________________________________________
>>>>>>> Community mailing list
>>>>>>> Community at itk.org
>>>>>>> http://public.kitware.com/cgi-bin/mailman/listinfo/community
>>>>>> 
>>>>> 
>>>> 
>>>> _____________________________________
>>>> Powered by www.kitware.com
>>>> 
>>>> Visit other Kitware open-source projects at
>>>> http://www.kitware.com/opensource/opensource.html
>>>> 
>>>> Kitware offers ITK Training Courses, for more information visit:
>>>> http://www.kitware.com/products/protraining.php
>>>> 
>>>> Please keep messages on-topic and check the ITK FAQ at:
>>>> http://www.itk.org/Wiki/ITK_FAQ
>>>> 
>>>> Follow this link to subscribe/unsubscribe:
>>>> http://www.itk.org/mailman/listinfo/insight-users
>>>> _______________________________________________
>>>> Community mailing list
>>>> Community at itk.org
>>>> http://public.kitware.com/cgi-bin/mailman/listinfo/community
>> 
> 



More information about the Insight-users mailing list