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

Luis Ibanez luis.ibanez at kitware.com
Tue Jul 14 11:56:58 EDT 2009


Hi Panagiotis,

Thanks for posting the patch.

We just committed it to  ITK.

Please give it a try with your Gcc 4.3.3 build,
and let us know how it goes.

   Thanks


       Luis


-------------------------------------------------------------------------------------------
On Mon, Jul 13, 2009 at 5:48 AM, Panagiotis Foteinos <pafotein at gmail.com>wrote:

> Yes, I had not used the CVS.
>
> Attached, you will find the "headers.patch" file. Hope it helps.
>
> Regards,
> Panagiotis
>
>
>
>
>>>>
>>>>
>>>>
>>>> --------------------------------------------------------------------------------------------
>>>>
>>>> On Sun, Jul 12, 2009 at 7:12 AM, Panagiotis Foteinos <
>>>> pafotein at gmail.com> wrote:
>>>>
>>>>> Hello.
>>>>>
>>>>> I did not see a "CONFIGURE_FILE" command in line 749. I admit, however,
>>>>> that I did not add
>>>>> "INCLUDE(TestForANSIStreamHeaders)"
>>>>> above the earlier CONFIGURE_FILE command; I made a mistake in the
>>>>> previous email.
>>>>> I have added "INCLUDE(TestForANSIStreamHeaders)" in line 517 and
>>>>> worked.
>>>>>
>>>>> Version: ITK 3.14.0
>>>>>
>>>>> Regards,
>>>>> Panagiotis
>>>>>
>>>>>
>>>>> On Sat, Jul 11, 2009 at 7:13 AM, Luis Ibanez <luis.ibanez at kitware.com>wrote:
>>>>>
>>>>>> 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/mailman/private/insight-developers/attachments/20090714/591c9dcf/attachment.htm>


More information about the Insight-developers mailing list