[Insight-users] Re: ITK compiling (use from external project)
Luis Ibanez
luis.ibanez at kitware.com
Tue Aug 31 17:52:46 EDT 2004
Hi Christian,
Are you using CMake for configuring your project ?
It looks like you are not...
CMake usually takes care of setting all the compiler
flags necesary for using ITK.
Please post the CMakeLists.txt that you are using
for configuring your project.
Thanks
Luis
------------------------
Christian Dold wrote:
> Hi Luis
> I got lots of problems since last week during compiling my project.
> For example:
> :\ITK\InsightToolkit-1.6.0\Code\BasicFilters\itkRecursiveGaussianImageFilter.h(67)
> : fatal error C1076: compiler limit : internal heap limit reached; use
> /Zm to specify a higher limit
>
> D:\ITK\InsightToolkit-1.6.0\Code\BasicFilters\itkRecursiveGaussianImageFilter.h(67)
> : while compiling class-template member function 'double __thiscall
> itk::RecursiveGaussianImageFilter<class itk::Image<float,3>,class
> itk::Image<float,3> >::
> ....
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\ostream(354) :
> fatal error C1076: compiler limit : internal heap limit reached; use /Zm
> to specify a higher limit
> mipregiongrowing.cpp
> D:\ITK\InsightToolkit-1.6.0\Code\Common\itkWeakPointer.h(110) : fatal
> error C1076: compiler limit : internal heap limit reached; use /Zm to
> specify a higher limit
> .\src\visualization\itkMapIntensityImageFilter.txx(36) : see
> reference to class template instantiation 'itk::WeakPointer<class
> itk::ShiftScaleImageFilter<class itk::Image<float,3>,class
> itk::Image<unsigned short,3> > >' being compiled
> C:\Program Files\Microsoft Visual
> Studio\VC98\INCLUDE\xmemory(66) : while compiling class-template member
> function '__thiscall itk::MapIntensityImageFilter<class
> itk::Image<float,3>,class itk::Image<unsigned short,3>
>
>>::itk::MapIntensityImag
>
> .....
> mipaccureader.cpp
> D:\ITK\InsightToolkit-1.6.0\Code\BasicFilters\itkAnisotropicDiffusionImageFilter.h(110)
> : fatal error C1076: compiler limit : internal heap limit reached; use
> /Zm to specify a higher limit
>
> D:\ITK\InsightToolkit-1.6.0\Code\BasicFilters\itkAnisotropicDiffusionImageFilter.h(110)
> : while compiling class-template member function 'void __thiscall
> itk::AnisotropicDiffusionImageFilter<class itk::Image<float,3>,class
> itk::Image<float,3
>
>>>::SetConductanceScalingUpdateInterval(const unsigned int)'
>
> ....
> I always got the same error, changing the zm parameter did not work.
> Using no Zm works not. I searched on the internet but nothing helpes.
> Compiling on other mashines produces the same error.
>
> I will be a pleasure to get some info what to do to remove this failure
> Thanks a lot
> Christian
>
More information about the Insight-users
mailing list