[CMake] MSVC++ IDE is licensed but CMAKE build appears to fail to pick up licence from command line
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. -- 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
Re: [CMake] MSVC++ IDE is licensed but CMAKE build appears to fail to pick up licence from command line
On 1/07/12 10:25 AM, Asterion Daedalus wrote: 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. I came across a similar problem in the past. Do you have another installation of Visual Studio somewhere on your systems e.g. the Express edition or Visual Studio 2008 ? I didn't get to the bottom of how the problem went away but we had Express installed and purchased the Professional version later and evaluated for the 30 days. Around the end of the evaluation period (last couple of days) is where the problem started even when we put in the proper license information. As I recall, it went away **after** the evaluation period as the software started using the purchased license. As with Windows, rebooting may help. HTH. Regards -- Nicholas Yue Graphics - RenderMan, Visualization, OpenGL, HDF5 Custom Dev - C++ porting, OSX, Linux, Windows Management - Recruitment, career management http://www.proceduralinsight.com/ http://au.linkedin.com/in/nicholasyue -- 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