zoukankan      html  css  js  c++  java
  • win7 编译 通过cmake 编译caffe 报错

    网络上也没有一个特别的说明解决方法和方案 :

    INFO: ============================================================
    '"E:Program Files (x86)Microsoft Visual Studio 14.0Common7Tools....VCvcvarsall.bat"' 不是内部或外部命令,也不是可运行的程序
    或批处理文件。
    CMake Error at CMakeLists.txt:18 (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。保留所有权利。

        生成启动时间为 2019/2/27 11:18:13。
        节点 1 上的项目“E:Mycaffecaffe-windowsscriptsuildCMakeFiles3.13.3VCTargetsPath.vcxproj”(默认目标)。
        C:Program Files (x86)MSBuildMicrosoft.Cppv4.0V140Platformsx64PlatformToolsetsv140Toolset.targets(36,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". [E:Mycaffecaffe-windowsscriptsuildCMakeFiles3.13.3VCTargetsPath.vcxproj]
        已完成生成项目“E:Mycaffecaffe-windowsscriptsuildCMakeFiles3.13.3VCTargetsPath.vcxproj”(默认目标)的操作 - 失败。

        生成失败。

        “E:Mycaffecaffe-windowsscriptsuildCMakeFiles3.13.3VCTargetsPath.vcxproj”(默认目标) (1) ->
        (Desktop_PlatformPrepareForBuild 目标) ->
          C:Program Files (x86)MSBuildMicrosoft.Cppv4.0V140Platformsx64PlatformToolsetsv140Toolset.targets(36,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". [E:Mycaffecaffe-windowsscriptsuildCMakeFiles3.13.3VCTargetsPath.vcxproj]

            0 个警告
            1 个错误

        已用时间 00:00:00.53


      Exit code: 1

    -- Configuring incomplete, errors occurred!
    See also "E:/Mycaffe/caffe-windows/scripts/build/CMakeFiles/CMakeOutput.log".
    ERROR: Configure failed

    E:Mycaffecaffe-windowsscripts>

  • 相关阅读:
    B+树的Copy-on-Write设计
    so库链接和运行时选择哪个路径下的库?
    Xapian索引-文档检索过程分析之匹配百分比
    Xapian索引-文档检索过程分析
    Xapian的内存索引-添加文档
    Xapian的内存索引
    Xapian使用入门
    一个std::sort 自定义比较排序函数 crash的分析过程
    编译GCC4.8.2
    使用C++11的一点总结
  • 原文地址:https://www.cnblogs.com/TendToBigData/p/10501143.html
Copyright © 2011-2022 走看看