[CMake] MSVC++ IDE is licensed but CMAKE build appears to fail to pick up licence from command line

Asterion Daedalus piercingdragoneyes at hotmail.com
Sat Jun 30 20:25:46 EDT 2012


I have found an problem that appears in two open source projects I downloaded.  Both appear to balk because of a missing or expired VC++ licence.  This is despite the fact that the IDE is running with a licence.
MSN "help" simply claims it is a bug in CMAKE so I feel that I will be ping-ponging.  
Has anyone else come across, or more importantly solved the problem?  I am trying a re-install of MS VC++ at this moment as I am assuming it is the culprit because two CMAKE makes, from different authors, are having the same problem.

CMakeError as follows: ---------------------------------------------------------------------------------------------------------------------------------------------------------------------Determining if the C compiler works failed with the following output:Change Dir: C:/Development/SLAM/tinyslam/trunk/CMakeFiles/CMakeTmp
Run Build Command:c:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec2590749267

Microsoft (R) Visual Studio Version 10.0.30319.1.
Copyright (C) Microsoft Corp. All rights reserved.


The evaluation period for Visual Studio Trial has ended.


The evaluation period for this product has ended.
Determining if the C compiler works failed with the following output:Change Dir: C:/Development/SLAM/tinyslam/trunk/CMakeFiles/CMakeTmp
Run Build Command:c:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec2387694939

Microsoft (R) Visual Studio Version 10.0.30319.1.
Copyright (C) Microsoft Corp. All rights reserved.


The evaluation period for Visual Studio Trial has ended.


The evaluation period for this product has ended.
Determining if the C compiler works failed with the following output:Change Dir: C:/Development/SLAM/tinyslam/trunk/CMakeFiles/CMakeTmp
Run Build Command:c:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec2133091021

Microsoft (R) Visual Studio Version 10.0.30319.1.
Copyright (C) Microsoft Corp. All rights reserved.


The evaluation period for Visual Studio Trial has ended.


The evaluation period for this product has ended.
Determining if the C compiler works failed with the following output:Change Dir: C:/Development/SLAM/tinyslam/trunk/CMakeFiles/CMakeTmp
Run Build Command:c:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec778085461

Microsoft (R) Visual Studio Version 10.0.30319.1.
Copyright (C) Microsoft Corp. All rights reserved.


The evaluation period for Visual Studio Trial has ended.


The evaluation period for this product has ended.
Determining if the C compiler works failed with the following output:Change Dir: C:/Development/SLAM/tinyslam/trunk/CMakeFiles/CMakeTmp
Run Build Command:c:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec3983230543

Microsoft (R) Visual Studio Version 10.0.30319.1.
Copyright (C) Microsoft Corp. All rights reserved.


The evaluation period for Visual Studio Trial has ended.


The evaluation period for this product has ended.
Determining if the C compiler works failed with the following output:Change Dir: C:/Development/SLAM/tinyslam/trunk/CMakeFiles/CMakeTmp
Run Build Command:C:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com" CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec2788015710The system cannot find the file specifiedGenerator: execution of make failed. Make command was: C:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com" CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec2788015710

Determining if the C compiler works failed with the following output:Change Dir: C:/Development/SLAM/tinyslam/trunk/CMakeFiles/CMakeTmp
Run Build Command:c:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec1460881942

Microsoft (R) Visual Studio Version 10.0.30319.1.
Copyright (C) Microsoft Corp. All rights reserved.


The evaluation period for Visual Studio Trial has ended.


The evaluation period for this product has ended.


 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120701/2cfaa6dc/attachment.htm>


More information about the CMake mailing list