[CMake] compiling problem cmake

Bram Kouwenberg kouwenberg.bram at gmail.com
Tue Jan 3 11:58:46 EST 2012


hi, thnx for helping.

interesting to see you use the 251 cmake unaltered for 256 and it works. I
guess the path building problem is a mingw thing indeed. why would it
create another  CMakeFiles  in CMakeTmp? Where can I find the script that
prescribes this?

I just added a screenie of explorer and the cmake error log.

le me know if this brings to you some fresh idea's

On Tue, Jan 3, 2012 at 3:07 AM, Bram Kouwenberg
<kouwenberg.bram at gmail.com>wrote:

> here s the same message with the screenie as a png
>
> ---------- Forwarded message ----------
> From: Bram Kouwenberg <kouwenberg.bram at gmail.com>
> Date: Tue, Jan 3, 2012 at 2:43 AM
> Subject: Re: [CMake] compiling problem cmake
> To: Jean-Christophe Fillion-Robin <jchris.fillionr at kitware.com>
> Cc: cmake at cmake.org
>
>
> the python source i got from http://python.org/ftp/python/2.5.6/
>
> the directions I followed were mainly from
> http://www.vtk.org/Wiki/BuildingPythonWithCMake#Building_Python_for_Linux_or_Windows were
> I took the 251 snapshot and changed the patch number to 6. Then during
> configuring I had to manually indicate some modules and env variables, up
> until this error appeared. let me know if you need know more
>
> On Tue, Jan 3, 2012 at 12:53 AM, Jean-Christophe Fillion-Robin <
> jchris.fillionr at kitware.com> wrote:
>
>> 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/20120103/cf98b95b/attachment-0001.htm>


More information about the CMake mailing list