在Windows上安装dlib期间发生Cmake错误?

詹姆斯·邦杜

我正在尝试在Windows 7中安装dlib-19.2,但是在dlib的构建过程中出现这些错误。

Configuring cmake ...
-- Building for: NMake Makefiles
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error in CMakeLists.txt:
  The CMAKE_C_COMPILER:
    cl
  is not a full path and was not found in the PATH.
  To use the NMake generator with Visual C++, cmake must be run from a shell
  that can use the compiler cl from the command line.  This environment is
  unable to invoke the cl compiler.  To fix this problem, run cmake from the
  Visual Studio Command Prompt (vcvarsall.bat).
  Tell CMake where to find the compiler by setting either the environment
  variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
  the compiler, or to the compiler name if it is in the PATH.
CMake Error in CMakeLists.txt:
  The CMAKE_CXX_COMPILER:
    cl
  is not a full path and was not found in the PATH.
  To use the NMake generator with Visual C++, cmake must be run from a shell
  that can use the compiler cl from the command line.  This environment is
  unable to invoke the cl compiler.  To fix this problem, run cmake from the
  Visual Studio Command Prompt (vcvarsall.bat).
  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!
See also "C:/dlib-19.2/tools/python/build/CMakeFiles/CMakeOutput.log".
See also "C:/dlib-19.2/tools/python/build/CMakeFiles/CMakeError.log".
error: cmake configuration failed!
                                          

任何人都可以向我解释错误的原因以及如何避免它。Cmake GUI看起来运行得很好。

彼得·N

遇到相同的问题,安装Visual C ++ 2015 Build Tools为我解决了这个问题:http : //landinghub.visualstudio.com/visual-cpp-build-tools

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

Apache安装期间发生错误

来自分类Dev

Apache安装期间发生错误

来自分类Dev

MediaProxy安装期间发生错误

来自分类Dev

安装期间发生Drupal AJAX HTTP错误

来自分类Dev

配置商店信息安装期间发生错误

来自分类Dev

ubuntu安装期间发生I / O错误

来自分类Dev

Ruby:在macOS上安装“ rails” gem期间发生编译错误

来自分类Dev

在Ubuntu上安装Spark期间遇到错误

来自分类Dev

使用python 3.8 Windows 10错误安装dlib

来自分类Dev

迁移期间发生错误

来自分类Dev

构建期间发生错误

来自分类Dev

安装Windows 3.1时发生错误

来自分类Dev

在以下期间发生Eclipse错误:Mac上的“计算大小”?

来自分类Dev

在我未调用的方法上执行期间发生错误

来自分类Dev

在Windows 7上安装cordova 3.5.0时列出Android目标时发生错误

来自分类Dev

在Windows Server 2016上安装Invantive Data Hub时发生错误

来自分类Dev

Swift独立安装期间发生错误[安装命令错误:无效的环境标记python版本> = 3.0]

来自分类Dev

zendfox安装期间发生错误,SQLSTATE [HY000]:常规错误:1005(错误号:150)

来自分类Dev

zendfox安装期间发生错误,SQLSTATE [HY000]:常规错误:1005(错误号:150)

来自分类Dev

OpenCV:在Windows 7上构建库期间,cmake失败

来自分类Dev

在OSX上Go安装期间出现Ld错误

来自分类Dev

更新期间发生错误

来自分类Dev

Windows上的CMake zlib依赖错误

来自分类Dev

使用 CMake 在 Google colab 上构建 dlib

来自分类Dev

通过pip安装软件包期间发生find_package()错误

来自分类Dev

在happstack-server安装期间发生GHCi交互式链接错误

来自分类Dev

尝试在14.10上安装MediaWiki时发生mysqladmin错误

来自分类Dev

安装时发生错误

来自分类Dev

无法安装json。在Windows中发生错误。错误:安装json时发生错误:ERROR:无法构建gem本机扩展

Related 相关文章

  1. 1

    Apache安装期间发生错误

  2. 2

    Apache安装期间发生错误

  3. 3

    MediaProxy安装期间发生错误

  4. 4

    安装期间发生Drupal AJAX HTTP错误

  5. 5

    配置商店信息安装期间发生错误

  6. 6

    ubuntu安装期间发生I / O错误

  7. 7

    Ruby:在macOS上安装“ rails” gem期间发生编译错误

  8. 8

    在Ubuntu上安装Spark期间遇到错误

  9. 9

    使用python 3.8 Windows 10错误安装dlib

  10. 10

    迁移期间发生错误

  11. 11

    构建期间发生错误

  12. 12

    安装Windows 3.1时发生错误

  13. 13

    在以下期间发生Eclipse错误:Mac上的“计算大小”?

  14. 14

    在我未调用的方法上执行期间发生错误

  15. 15

    在Windows 7上安装cordova 3.5.0时列出Android目标时发生错误

  16. 16

    在Windows Server 2016上安装Invantive Data Hub时发生错误

  17. 17

    Swift独立安装期间发生错误[安装命令错误:无效的环境标记python版本> = 3.0]

  18. 18

    zendfox安装期间发生错误,SQLSTATE [HY000]:常规错误:1005(错误号:150)

  19. 19

    zendfox安装期间发生错误,SQLSTATE [HY000]:常规错误:1005(错误号:150)

  20. 20

    OpenCV:在Windows 7上构建库期间,cmake失败

  21. 21

    在OSX上Go安装期间出现Ld错误

  22. 22

    更新期间发生错误

  23. 23

    Windows上的CMake zlib依赖错误

  24. 24

    使用 CMake 在 Google colab 上构建 dlib

  25. 25

    通过pip安装软件包期间发生find_package()错误

  26. 26

    在happstack-server安装期间发生GHCi交互式链接错误

  27. 27

    尝试在14.10上安装MediaWiki时发生mysqladmin错误

  28. 28

    安装时发生错误

  29. 29

    无法安装json。在Windows中发生错误。错误:安装json时发生错误:ERROR:无法构建gem本机扩展

热门标签

归档