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

Nelis neliswillers at gmail.com
Thu Oct 27 08:35:11 EDT 2011


Hi

CMake 2.8.6, newly installed VS2010, previously VS2005 (dir renamed for
now), XPSP3, swap space 5GB.

Running configure freshly after the cache is deleted, on two different
CMakeLists project files.

CMake Error at C:/Program Files/CMake
2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
  The C compiler "cl" is not able to compile a simple test program.
...
  Run Build Command:C:\PROGRA~1\MICROS~2.0\Common7\IDE\devenv.com
  CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec
  Microsoft (R) Visual Studio Version 10.0.40219.1.
  1>------ Build started: Project: cmTryCompileExec, Configuration: Debug
Win32 ------
  1> testCCompiler.c
  1>c1 : fatal error C1060: compiler is out of heap space
  ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped  
==========
  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:16 (PROJECT)

The same little cmake test program compiles inside VS2010 IDE.

The CMakeLists project file works on other PCs, but not mine.

Could it be as a result of stuff from previous VS versions lying around? 
- cleaned out all environmental variables
- renamed VS2005 directory to false name, so that paths to VS2005 won't
work.

Any idea where I can start to search for the solution?

regards

nelis




--
View this message in context: http://cmake.3232098.n2.nabble.com/cl-is-not-able-to-compile-VS2010-C1060-compiler-out-of-heap-space-tp6936159p6936159.html
Sent from the CMake mailing list archive at Nabble.com.


More information about the CMake mailing list