View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013348CMakeCMakepublic2012-06-22 13:132013-03-04 08:38
Reporterergo1 
Assigned ToBrad King 
PrioritynormalSeverityblockReproducibilityalways
StatusclosedResolutionfixed 
PlatformWindowsOSWindows 8 RCOS VersionBuild 8400
Product VersionCMake 2.8.8 
Target VersionCMake 2.8.10Fixed in VersionCMake 2.8.10 
Summary0013348: Cmake not finding buld program for Visual Studio Express 2012 on Win8
DescriptionCMake Error: CMake was unable to find a build program corresponding to "Visual Studio 11". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: Could not find cmake module file:E:/W8/BUILDS/ogrewinrt/CMakeFiles/CMakeCCompiler.cmake
CMake Error: Could not find cmake module file:E:/W8/BUILDS/ogrewinrt/CMakeFiles/CMakeCXXCompiler.cmake
Configuring incomplete, errors occurred!
Steps To ReproduceTry to make a sample Ogre3d project on Win8 for Visual Studio Express 2012 RC.
Same error with either the 32 or 64 bit build tool selection

Additional InformationCode developer advised:
"2. You need patched CMake 2.8.7 from Feb 23 2012 or later for
VS_WINRT_EXTENSIONS and VS_WINRT_REFERENCES special target properties."

My understanding is that this patch was incorporated into Cmake 2.8.8 (??)

PS: Code tested OK with above noted version of cmake on win8 consumer preview with Visual Studio 11 Ultimate Beta
TagsNo tags attached.
Attached Files

 Relationships
has duplicate 0013544closedPeter Kuemmel Visual Studio 2012 Express not supported 

  Notes
(0030752)
szx (reporter)
2012-08-23 18:25

Same here:

CMake Error: CMake was unable to find a build program corresponding to "Visual Studio 11". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
(0031031)
David Golub (reporter)
2012-09-14 12:53

I have encountered this bug as well. I'm using CMake 2.8.9, so it's not specific to CMake 2.8.7.
(0031035)
Peter Kuemmel (developer)
2012-09-17 11:15
edited on: 2012-09-17 11:18

Fixed in 'next', at least for Windows 7:
http://cmake.org/gitweb?p=stage/cmake.git;a=commitdiff;h=afa9fae06ef28d40f0d4b3b3e014e8dfe3b943e6 [^]

Could someone test on Win8?

(0031044)
Brad King (manager)
2012-09-18 11:49

The patch linked in 0013348:0031035 only affects selection of the default generator.

More work is needed to make the generator work with VS 2012 Express.
(0031046)
Peter Kuemmel (developer)
2012-09-18 12:19

I only get this errors when I'm not using a VS2012 "Command Prompt". Calling

C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcvarsall.bat

with x86 or x86_amd64 fixes the issue. Should it work without using vcvarsall.bat?
(0031048)
Brad King (manager)
2012-09-18 12:53

Re 0013348:0031046: Yes, the IDE generators should work from the command line without loading any environment. I've got a patch locally that should work. I just need to finish running the tests in both VS 11 Professional and Express.
(0031051)
Brad King (manager)
2012-09-18 14:14

I've pushed out a commit that fixes the one from 0013348:0031035 to prefer VS 11 when VS 10 is also installed:

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e17f3458 [^]

and a commit to make the VS 11 generator support VS 11 Express:

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7ee3cee9 [^]

CMake builds and all tests pass with VS 11 Express for both 32-bit and 64-bit builds on Windows 7. This issue can be re-opened if there is still a problem on Windows 8.

(0032452)
Robert Maynard (manager)
2013-03-04 08:38

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2012-06-22 13:13 ergo1 New Issue
2012-08-21 11:34 Eugene Golushkov Note Added: 0030716
2012-08-23 18:25 szx Note Added: 0030752
2012-08-27 04:15 Eugene Golushkov Note Deleted: 0030716
2012-09-14 12:53 David Golub Note Added: 0031031
2012-09-17 11:14 Peter Kuemmel Assigned To => Peter Kuemmel
2012-09-17 11:14 Peter Kuemmel Status new => assigned
2012-09-17 11:15 Peter Kuemmel Note Added: 0031035
2012-09-17 11:18 Peter Kuemmel Note Edited: 0031035
2012-09-18 11:48 Brad King Relationship added has duplicate 0013544
2012-09-18 11:49 Brad King Note Added: 0031044
2012-09-18 11:49 Brad King Assigned To Peter Kuemmel => Brad King
2012-09-18 12:19 Peter Kuemmel Note Added: 0031046
2012-09-18 12:53 Brad King Note Added: 0031048
2012-09-18 14:14 Brad King Note Added: 0031051
2012-09-18 14:14 Brad King Status assigned => resolved
2012-09-18 14:14 Brad King Resolution open => fixed
2012-09-18 14:14 Brad King Fixed in Version => CMake 2.8.10
2012-09-18 14:14 Brad King Target Version => CMake 2.8.10
2013-03-04 08:38 Robert Maynard Note Added: 0032452
2013-03-04 08:38 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team