[CMake] "cl" is not able to compile -VS2010 C1060: compiler out of heap space

John Drescher drescherjm at gmail.com
Thu Oct 27 09:03:20 EDT 2011


On Thu, Oct 27, 2011 at 8:52 AM, Nelis <neliswillers at gmail.com> wrote:
> Hi John
>
>>I have 5 versions of Visual Studio installed on my 64 bit windows 7
>>box at work and CMake-2.6.1 still works with the versions of VS I
>>tested (2008,2010) Did you rename VS2005 before or after you had this
>>problem?
>
> Renamed VS2005 after finding the heap problem on building CMake project sln
> files,
> but outcome still the same before and after renaming.
>
> Working through the few CMake files after CMaking, I find no 'incorrect'
> path.
>
> Immediately after deleting cache, on configure, I find this:
> 1>------ Build started: Project: cmTryCompileExec, Configuration: Debug
> Win32 ------
> 1> testCCompiler.c
> 1>c1 : fatal error C1060: compiler is out of heap space
>
> when I configure again, but with cache intact, I find different warnings,
> same error:
> 1>------ Build started: Project: cmTryCompileExec, Configuration: Debug
> Win32 ------
> 1>cl : Command line warning D9035: option 'GZ' has been deprecated and will
> be removed in a future release
> 1>cl : Command line warning D9036: use 'RTC1' instead of 'GZ'
> 1> testCCompiler.c
> 1>c1 : fatal error C1060: compiler is out of heap space
>
> could it be attributable to VS2010 picking up some setting from VS2005 on
> install?
>

Have you installed the VS2010 SP1 yet? If not please do so. There are
a few serious compiler bugs that I have seen. Although I have not seen
this one in my testing.

John


More information about the CMake mailing list