CMake无法找到与 "Visual Studio 11 Win64"对应的构建程序

标签 cmake visual-studio-2012

我在 CMake 2.8.9 中遇到以下错误:

CMake Error: CMake was unable to find a build program corresponding to "Visual Studio 11 Win64". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: Could not find cmake module file:H:/ogredeps/CMakeFiles/CMakeCCompiler.cmake
CMake Error: Could not find cmake module file:H:/ogredeps/CMakeFiles/CMakeCXXCompiler.cmake
Configuring incomplete, errors occurred!

我在 Windows 7 64 上使用 Visual C++ 2012 Express。

我做错了什么?

最佳答案

我认为您正面临这个错误:http://www.cmake.org/Bug/view.php?id=13348

你可能有幸获得 CMake 2.8.10-RC1

关于CMake无法找到与 "Visual Studio 11 Win64"对应的构建程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12769106/

相关文章:

wpf - 标签不是有效的 XAML 元素?

GetOpenFileName 时出现 C++ WinAPI 错误

c++ - Clion "Cannot load CMake project: CMake executable is incorrect"问题

ubuntu - 如何在不更新ubuntu的情况下离线安装cmake文件?

visual-studio - Visual Studio挂起加载UI库

visual-studio-2012 - 重启VS后RDL文件不显示

sql-server - 在部署后 SQL 文件中指定相对路径

c++ - 未定义的引用链接 yaml-cpp 程序与 mingw-w64 + cmake

c++ - CMake CUDA 在 Windows 上单独编译静态库链接错误,但在 Ubuntu 上没有

c++ - 使用 CMAKE 生成 makefile 后 undefined reference