[CMake] CMake Error: Unable to find executable for TRY _RUN

Nithiananthan, Sajendra Sajendra.Nithiananthan at rmp.uhn.on.ca
Mon Sep 17 16:14:33 EDT 2007


Hello everyone,

I have been using CMake (2.4 Patch 6) on my system (Windows XP SP2, Visual
Studio 8) for some time with no problem.  Recently I have started to get an
error when attempting to run CMAKE for the first time on a project.  For
example, I download the example code
http://www.cmake.org/HTML/cmakeExample.tar.gz and ran CMake on the extracted
directory to perform an out of source build.  
When "Check size of void*" is shown in the status area, the following error
pops up:

CMake Error: Unable to find executable for TRY_RUN: tried
"C:/tmp/examplebin/CMakeFiles/CMakeTmp/cmTryCompileExec.exe" and
"C:/tmp/examplebin/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.exe" and
"C:/tmp/examplebin/CMakeFiles/CMakeTmp/Development/cmTryCompileExec.exe".

CMake then proceeds and in the case of this example I can successfully build
and run the project, however more complicated examples that require this
information (i.e. VTK, ITK) can not be built.  As I said, this is a new
error as I have built VTK and ITK on this machine before without any
problem.  I do not believe I have changed any settings, and have attempted
to install CMake again and try it, but same problem.

I am attaching the CMakeOut log file.
Any help or insights would be appreciated, Thank you.




This e-mail may contain confidential and/or privileged information for the sole use of the intended recipient. Any review or distribution by anyone other than the person for whom it was originally intended is strictly prohibited. If you have received this e-mail in error, please contact the sender and delete all copies. Opinions, conclusions or other information contained in this e-mail may not be that of the organization.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CMakeOutput.log
Type: application/octet-stream
Size: 2839 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/cmake/attachments/20070917/0a73c227/CMakeOutput.obj


More information about the CMake mailing list