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

Luis Ibanez luis.ibanez at kitware.com
Sat Aug 8 18:23:20 EDT 2009


Hi mi,

        ITK 3.14 works fine with GCC 4.3.

ITK 3.14 was released on June 5th 2009.

Please see below the Dashboard of June 2nd:

http://www.cdash.org/CDash/index.php?project=Insight&date=2009-06-02

where you will find that ITK was build that day in seven
different machines/platforms using GCC 4.3.

For example:


   - gelas.megason-lab.hms<http://www.cdash.org/CDash/viewSite.php?siteid=481&project=2&currenttime=1243990800>
   - sanchome.megason-lab.hms<http://www.cdash.org/CDash/viewSite.php?siteid=671&project=2&currenttime=1243990800>
   - gargon.hooperlab<http://www.cdash.org/CDash/viewSite.php?siteid=62&project=2&currenttime=1243990800>



Note that the compilation errors that you are getting,
are reported in headers of the C++ library. It is likely
that you are mixing two different versions of the GCC
compiler in your build.

It is unfortunate that you can't use CMake for your project.
You wouldn't have to deal with these details if you were
using CMake.


     Regards,


             Luis


------------------------------------------------------------------------------------------------------
On Tue, Aug 4, 2009 at 8:24 AM, Inst. MedInf <instmedinf at gmx.de> wrote:

> 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
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090808/fd17c619/attachment-0001.htm>


More information about the Insight-users mailing list