[Insight-users] Compiling ITK with GCC 4.3.3 - Solved

Luis Ibanez luis.ibanez at kitware.com
Fri Jul 10 11:05:43 EDT 2009


Hi Panagiotis,

Thanks for pointing this out.

     This problem that you mentioned,
     Is is specific to GCC 4.3.3. ?


We have three Nightly submissions of ITK with GCC 4.3.

  * gelas.megason-lab.hms   Linux-g++-4.3.2-x86_64
  * gargon.hooperlab        Linux-gcc-4.3.2-x86_64
  * BillsBasement           Linux-gcc4.3.0-GLIBCXX_DEBUG


Please let us know,


     Thanks


        Luis



-----------------------------
Panagiotis Foteinos wrote:
> Hello yall.
> 
> I have recently upgraded from the legacy GCC collection to GCC 4.3.3. 
> Actually, my (new) linux distro has GCC-4.3.3 by default. What I did not 
> remember is that the new g++ compiler does not recognize the deprecated 
> stream headers, simply because, these headers are not installed in the 
> new linux distributions.
> 
> Due to the lack of these deprecated stream headers, when the compiler 
> used is of version 4, the compilation of the newest ITK release fails.
> 
> The problem is solved, however, when the following line is added in the 
> CmakeLists file (before the CONFIGURE_FILE command):
> 
>     INCLUDE(TestForANSIStreamHeaders)
> 
> 
> I hope I helped someone facing the same problem.
> 
> Regards,
> Panagiotis
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _____________________________________
> 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


More information about the Insight-users mailing list