本人新手一枚,在学习配置openMVG和VS2015的过程中Cmake的时候出现了问题,关于openMVG的配置问题错误信息如下:


CMake Error at CMakeLists.txt:10 (project):
  Failed to run MSBuild command:

    C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe

  to get the value of VCTargetsPath:


    Microsoft (R) 生成引擎版本 14.0.25420.1


    版权所有(C) Microsoft Corporation。保留所有权利。


  

    生成启动时间为 2018/5/7 15:46:23。


    节点 1 上的项目“D:\openMVS\build\openMVG\CMakeFiles\3.11.1\VCTargetsPath.vcxproj”(默认目标)。


    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\Win32\PlatformToolsets\v140\Toolset.targets(34,5): error MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution". [D:\openMVS\build\openMVG\CMakeFiles\3.11.1\VCTargetsPath.vcxproj]


    已完成生成项目“D:\openMVS\build\openMVG\CMakeFiles\3.11.1\VCTargetsPath.vcxproj”(默认目标)的操作 - 失败。


 

    生成失败。


   

    “D:\openMVS\build\openMVG\CMakeFiles\3.11.1\VCTargetsPath.vcxproj”(默认目标) (1) ->


    (Desktop_PlatformPrepareForBuild 目标) -> 
      C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\Win32\PlatformToolsets\v140\Toolset.targets(34,5): error MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution". [D:\openMVS\build\openMVG\CMakeFiles\3.11.1\VCTargetsPath.vcxproj]

        0 个警告
        1 个错误

    已用时间 00:00:00.41

  Exit code: 1

Configuring incomplete, errors occurred!
See also "D:/openMVS/build/openMVG/CMakeFiles/CMakeOutput.log".


实在不知道是什么问题,求教各位大神啦。

相关文章: