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

Luis Ibanez luis.ibanez at kitware.com
Sat Jul 11 07:13:59 EDT 2009


Hi Panagiotis,

There are multiple "CONFIGURE_FILE" commands in the top
CMakeLists.txt file.

Are you referring to the one in line 749 ?


CONFIGURE_FILE(${ITK_SOURCE_DIR}/itkConfigure.h.in
  ${ITK_BINARY_DIR}/itkConfigure.h)


Please clarify,


      Thanks


             Luis


------------------------------------------------------------------------------

On Fri, Jul 10, 2009 at 11:42 AM, Panagiotis Foteinos <pafotein at gmail.com>wrote:

> The problem concerns gcc 4.3.3 on the periodic ITK release 3.14.0.
>
>
>
> On Fri, Jul 10, 2009 at 11:05 AM, Luis Ibanez <luis.ibanez at kitware.com>wrote:
>
>>
>> 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
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090711/ee1b2581/attachment-0001.htm>


More information about the Insight-users mailing list