[CMake] compiling problem cmake

Jean-Christophe Fillion-Robin jchris.fillionr at kitware.com
Mon Jan 2 18:53:25 EST 2012


Hi Bram,

In order to reproduce and understand the problem, would also be great to
point us to a repository or place to download the sources.

Additionally, could you also mention which version of CMake and which
generator you were using ?

Hth
Jc

On Mon, Jan 2, 2012 at 6:30 PM, Bram Kouwenberg
<kouwenberg.bram at gmail.com>wrote:

> 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!
>
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>



-- 
+1 919 869 8849
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120102/7f234e0e/attachment.htm>


More information about the CMake mailing list