<br>Hi mi,<br><br> ITK 3.14 works fine with GCC 4.3.<br><br>ITK 3.14 was released on June 5th 2009.<br><br>Please see below the Dashboard of June 2nd:<br><br><a href="http://www.cdash.org/CDash/index.php?project=Insight&date=2009-06-02">http://www.cdash.org/CDash/index.php?project=Insight&date=2009-06-02</a><br>
<br>where you will find that ITK was build that day in seven<br>different machines/platforms using GCC 4.3.<br><br>For example:<br><br><ul><li><a href="http://www.cdash.org/CDash/viewSite.php?siteid=481&project=2&currenttime=1243990800">gelas.megason-lab.hms</a></li>
<li><a href="http://www.cdash.org/CDash/viewSite.php?siteid=671&project=2&currenttime=1243990800">sanchome.megason-lab.hms</a></li><li><a href="http://www.cdash.org/CDash/viewSite.php?siteid=62&project=2&currenttime=1243990800">gargon.hooperlab</a></li>
</ul><br><br>Note that the compilation errors that you are getting,<br>are reported in headers of the C++ library. It is likely<br>that you are mixing two different versions of the GCC<br>compiler in your build.<br><br>It is unfortunate that you can't use CMake for your project.<br>
You wouldn't have to deal with these details if you were<br>using CMake.<br><br><br> Regards,<br><br><br> Luis<br><br><br>------------------------------------------------------------------------------------------------------<br>
<div class="gmail_quote">On Tue, Aug 4, 2009 at 8:24 AM, Inst. MedInf <span dir="ltr"><<a href="mailto:instmedinf@gmx.de">instmedinf@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi everyone,<br>
<br>
how can I find out wether ITK 3.14.0 on Linux (Debian) is compatible with GNU C++ 4.3?<br>
<br>
When compiling our sources on our new machine we get messages like the following ones:<br>
<br>
/usr/include/c++/4.3/bits/stl_iterator_base_types.h:155: error: ‘ptrdiff_t’ does not name a type<br>
In file included from /usr/include/c++/4.3/bits/stl_algobase.h:74,<br>
...<br>
/usr/include/c++/4.3/bits/stl_iterator.h:100: error: wrong number of template arguments (5, should be 3)<br>
...<br>
/usr/include/c++/4.3/new:106: error: ‘size_t’ is not a member of ‘std’<br>
/usr/include/c++/4.3/new:106: error: expected primary-expression before ‘void’<br>
In file included from /usr/include/c++/4.3/x86_64-linux-gnu/bits/c++allocator.h:39,<br>
from /usr/include/c++/4.3/bits/allocator.h:53,<br>
from /usr/include/c++/4.3/string:48,<br>
from /usr/include/c++/4.3/bits/locale_classes.h:47,<br>
from /usr/include/c++/4.3/bits/ios_base.h:48,<br>
from /usr/include/c++/4.3/ios:48,<br>
from /usr/include/c++/4.3/ostream:45,<br>
from /usr/include/c++/4.3/iostream:45,<br>
from /usr/local/include/InsightToolkit/Common/itkAffineTransform.h:21,<br>
from AffineMultiResRegistration.cxx:55:<br>
...<br>
<br>
This is our command:<br>
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<br>
<br>
(Because of our software framework we do not use cmake but make.)<br>
<br>
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...<br>
<br>
Best regards<br>
mi<br>
--<br>
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 -<br>
sicherer, schneller und einfacher! <a href="http://portal.gmx.net/de/go/atbrowser" target="_blank">http://portal.gmx.net/de/go/atbrowser</a><br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at: <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</blockquote></div><br>