[CMake] compiling problem cmake

Bram Kouwenberg kouwenberg.bram at gmail.com
Mon Jan 2 18:30:24 EST 2012


Hi, i want to compile an old python version from source with cmake on win 7
but during this process things go wrong with compiling a test already;
below is the error text: there's a proble creating a folder
'/cmTryCompileExec/fast'
in CmakeTmp. I don't now why. the only strange thing is in explorer I see
the following tree:


C:\python256\CMakeFiles\CMakeTmp\CMakeFiles\cmTryCompileExec.dir


it seems the config process creates another Cmakefiles folder. I have no
clue why since I'm not familiar with configuring/compiling, but it might
explain why this TryCompilefast folder cannot be created.


Anybody see what the problem is here?


tnx



The C compiler identification is GNU

The CXX compiler identification is GNU

Found Eclipse version 4.1 ()

Check for working C compiler: C:/MinGW32/bin/gcc.exe

Check for working C compiler: C:/MinGW32/bin/gcc.exe -- broken

CMake Error at C:/Program Files/CMake
2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):

The C compiler "C:/MinGW32/bin/gcc.exe" is not able to compile a simple

test program.

 It fails with the following output:

 Change Dir: C:/python256/CMakeFiles/CMakeTmp

  Run Build Command:C:/PROGRA~1/CMAKE2~1.8/bin/cmake.exe

"cmTryCompileExec/fast"

 CMake Error: The source directory

"C:/python256/CMakeFiles/CMakeTmp/cmTryCompileExec/fast" does not exist.

 Specify --help for usage, or press the help button on the CMake GUI.

    CMake will not be able to correctly generate this project.

Call Stack (most recent call first):

CMakeLists.txt:3 (project)

 Configuring incomplete, errors occurred!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120103/3f87b066/attachment-0001.htm>


More information about the CMake mailing list