相关疑难解决方法(0)

Cmake无法为Visual Studio 10 amd64配置项目

我正在尝试让CMAKE为x64架构的msvc 10 express版创建一个项目.我安装了MSVC 2010 Express和Windows SDK 7.1.

如果我正常启动CMake我可以创建一个32位项目,但它无法创建一个64位项目.我也尝试从Windows SDK命令提示符(cl cmd映射到x64版本)中启动CMAKE但是它仍然失败,但以下内容.

Found Windows SDK v7.1: C:\Program Files\Microsoft SDKs\Windows\v7.1\
Check for working C compiler using: Visual Studio 10 Win64
Check for working C compiler using: Visual Studio 10 Win64 -- broken
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
  The C compiler "c:/Program Files (x86)/Microsoft Visual Studio
  10.0/VC/bin/amd64/cl.exe" is not able to compile a simple test program.

  It fails with the following output:

   Change Dir: C:/Users/Dan/Desktop/pclt/PCL/bin/CMakeFiles/CMakeTmp



  Run Build Command:C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
  cmTryCompileExec1400574213.vcxproj /p:Configuration=Debug

  Microsoft …
Run Code Online (Sandbox Code Playgroud)

cmake visual-c++ point-cloud-library

6
推荐指数
2
解决办法
1万
查看次数

标签 统计

cmake ×1

point-cloud-library ×1

visual-c++ ×1