[Insight-users] Error When compile SNAP

Luis Ibanez luis.ibanez at kitware.com
Fri Jun 18 10:34:34 EDT 2004


Hi diaoxianfen,

Please post the CMakeCache.txt file that CMake generates
in the binary directory where you are trying to build
InsightApplications.

The /Zm flag must be defined there.


Thanks


  Luis


---------------------
diaoxianfen wrote:

> Thanks for Mr  Luis Ibanez first.
> I compile the SNAP following what you say.But new errors arrise.I use 
> CMake1.8.3
> and InsightApplicatios1.6.0 and VC6.0,FLTK1.1.4.
> The errors as follows:
> 
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\ostream(286) : 
> fatal error C1076: compiler limit : internal heap limit reached; use /Zm 
> to specify a higher limit
> PreprocessingImageIOWizardLogic.cxx
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\ostream(350) : 
> fatal error C1076: compiler limit : internal heap limit reached; use /Zm 
> to specify a higher limit
> SegmentationImageIOWizardLogic.cxx
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\ostream(350) : 
> fatal error C1076: compiler limit : internal heap limit reached; use /Zm 
> to specify a higher limit
> PreprocessingUILogic.cxx
> 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
> UserInterfaceLogic.cxx
> E:\ITK\InsightToolkit-1.6.0\InsightToolkit-1.6.0\Code\Common\itkNeighborhood.txx(162) 
> : fatal error C1076: compiler limit : internal heap limit reached; use 
> /Zm to specify a higher limit
>         C:\Program Files\Microsoft Visual 
> Studio\VC98\INCLUDE\xstring(583) : while compiling class-template member 
> function 'void __thiscall itk::Neighborhood<float *,3,class 
> itk::NeighborhoodAllocator<float *> >::PrintSelf(class std::basic_ostream<
> char,struct std::char_traits<char> > &,class itk::Indent) const'
> Generating Code...
> Error executing cl.exe.
>  
> SNAP.exe - 5 error(s), 0 warning(s)
>  
> I don't know where is the reason.Could you help me find the bug?
> Thanks a lot.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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