[ITK Community] [Insight-users] 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 12:22:36 EST 2013
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
More information about the Community
mailing list