[Insight-users] ITK 3.14.0 on Linux (Debian) compatible with GNU C++ 4.3?

Inst. MedInf instmedinf at gmx.de
Tue Aug 4 08:24:30 EDT 2009


Hi everyone,

how can I find out wether ITK 3.14.0 on Linux (Debian) is compatible with GNU C++ 4.3? 

When compiling our sources on our new machine we get messages like the following ones:

/usr/include/c++/4.3/bits/stl_iterator_base_types.h:155: error: ‘ptrdiff_t’ does not name a type
In file included from /usr/include/c++/4.3/bits/stl_algobase.h:74,
...
/usr/include/c++/4.3/bits/stl_iterator.h:100: error: wrong number of template arguments (5, should be 3)
...
/usr/include/c++/4.3/new:106: error: ‘size_t’ is not a member of ‘std’
/usr/include/c++/4.3/new:106: error: expected primary-expression before ‘void’
In file included from /usr/include/c++/4.3/x86_64-linux-gnu/bits/c++allocator.h:39,
                 from /usr/include/c++/4.3/bits/allocator.h:53,
                 from /usr/include/c++/4.3/string:48,
                 from /usr/include/c++/4.3/bits/locale_classes.h:47,
                 from /usr/include/c++/4.3/bits/ios_base.h:48,
                 from /usr/include/c++/4.3/ios:48,
                 from /usr/include/c++/4.3/ostream:45,
                 from /usr/include/c++/4.3/iostream:45,
                 from /usr/local/include/InsightToolkit/Common/itkAffineTransform.h:21,
                 from AffineMultiResRegistration.cxx:55:
...

This is our command:
 g++ -Wall -Wconversion '-DARCH="x86_64-gcc4.3-Linux"' -DENDIAN_LSBF -DHAVE_ITK  -I/usr/local/include/InsightToolkit -I/usr/local/include/InsightToolkit/Algorithms -I/usr/local/include/InsightToolkit/BasicFilters -I/usr/local/include/InsightToolkit/Common -I/usr/local/include/InsightToolkit/expat -I/usr/local/include/InsightToolkit/gdcm -I/usr/local/include/InsightToolkit/gdcm/src -I/usr/local/include/InsightToolkit/IO -I/usr/local/include/InsightToolkit/Numerics -I/usr/local/include/InsightToolkit/Numerics/FEM -I/usr/local/include/InsightToolkit/Numerics/NeuralNetworks -I/usr/local/include/InsightToolkit/Numerics/Statistics -I/usr/local/include/InsightToolkit/SpatialObject -I/usr/local/include/InsightToolkit/Utilities -I/usr/local/include/InsightToolkit/Utilities/expat -I/usr/local/include/InsightToolkit/Utilities/itkExtHdrs -I/usr/local/include/InsightToolkit/Utilities/itkpng -I/usr/local/include/InsightToolkit/Utilities/itksys -I/usr/local/include/InsightToolkit/Utilities/itktiff -I/usr/local/include/InsightToolkit/Utilities/itkzlib -I/usr/local/include/InsightToolkit/Utilities/MetaIO -I/usr/local/include/InsightToolkit/Utilities/NrrdIO -I/usr/local/include/InsightToolkit/Utilities/vxl -I/usr/local/include/InsightToolkit/Utilities/vxl/core -I/usr/local/include/InsightToolkit/Utilities/vxl/v3p -I/usr/local/include/InsightToolkit/Utilities/vxl/vcl -g -I ../include -I ../library -I ../../registration/include -c -o ../../../obj/x86_64-gcc4.3-Linux-debug/registration/main/AffineMultiResRegistration.o AffineMultiResRegistration.cxx

(Because of our software framework we do not use cmake but make.)

Thank you very much in advance! I'm sure that this information has to be found somewhere on the ITK website but I just could not find it...

Best regards
mi
-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser


More information about the Insight-users mailing list