[Insight-users] about out of heap space when
compiling ITKapplication
Luis Ibanez
luis.ibanez at kitware.com
Thu Jul 28 19:46:41 EDT 2005
Hi Yixun,
The origin of your problem is item 3 of
your answers:
You are *not* using CMake
for configuring your project.
Please use CMake for the configuration,
you will find detailed instructions on
how to create the CMakeLists.txt files
in the ITK Tutorials
http://www.itk.org/HTML/Tutorials.htm
and in the ITK Software Guide
http://www.itk.org/ItkSoftwareGuide.pdf
FLTK and VTK can also be configured with CMake.
If you download FLTK version 1.1.6, you will find
that it already has its own CMakeLists.txt file.
Most of the applications in InsightApplications
work with ITK, VTK and FLTK and are configured
without problems with CMake.
The Tutorials also show how to combine
ITK with VTK
http://www.itk.org/CourseWare/Training/GettingStarted-II.pdf
and ITK with FLTK or Qt
http://www.itk.org/CourseWare/Training/GettingStarted-IV.pdf
There are *good reasons* why CMake was created.
The problem that you are facing is just one example
among many of how annoying is to configure a project
by hand. Such an effort is not worth your time.
If you were using CMake from the beginning at this
point you would have been processing Medical Images
instead of playing with the little text boxes of
the Visual Studio IDE...
Regards,
Luis
----------------
Yixun Liu wrote:
> 1.This is an application I wrote.
> 2.no large array
> 3.I do not directly configure my application with CMake. I copy the settint from the application configured with CMake.
> one is include path, the second is lib path and needed libs.
> 4.VC6.0 with pack 6
> 5.The example is ok
>
> supplement: My ITK application need VTK and FLTK. so the include path and link path include ITK, VTK and FLTK. The libs I need include the ITK,VTK and FLTK.
>
> Regards,
>
> Yixun Liu
>
>
> ----- Original Message -----
> From: "Luis Ibanez" <luis.ibanez at kitware.com>
> To: "Yixun Liu" <yxliu at fudan.edu.cn>
> Cc: <insight-users at itk.org>
> Sent: Thursday, July 28, 2005 12:02 AM
> Subject: Re: [Insight-users] about out of heap space when compiling ITKapplication
>
>
>
>>Hi Yixun,
>>
>>1) Is this an application from InsightApplications ?
>> or is this an application that you wrote ?
>>
>>3) Are you by any chance declaring large arrays ?
>>
>>4) Are you configuring your application with CMake ?
>>
>>5) What is your compiler version ?
>>
>>6) Have you succeded to build ITK examples ?
>>
>>
>>
>>Please let us know
>>
>>
>>Thanks
>>
>>
>> Luis
>>
>>
>>
>>--------------
>>Yixun Liu wrote:
>>
>>>Hi,
>>>
>>>When I build a ITK Application I alwayse receive the error:
>>>"fatal error C1060: compiler is out of heap space" although I have add
>>>the /Zm2000 .
>>>
>>>Thank you in advance!
>>>
>>>Regards,
>>>Yixun Liu
>>>
>>>
>>>
>>>
>>>------------------------------------------------------------------------
>>>
>>>_______________________________________________
>>>Insight-users mailing list
>>>Insight-users at itk.org
>>>http://www.itk.org/mailman/listinfo/insight-users
>>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
>
More information about the Insight-users
mailing list