【问题标题】:make configure Makefile on windows在 windows 上配置 Makefile
【发布时间】:2016-05-21 15:40:40
【问题描述】:

我使用 Windows 我已经使用 git clone 命令下载 git 库。git library documentation 该库有一个生成文件。

  1. 我安装了 GNU make (GnuWin32)
  2. 我给了文件路径 cd <makefilepath> cmd
  3. 类型 进行配置

我遇到以下错误。任何帮助表示赞赏。谢谢。

C:\Users\venushka\Desktop\libxbee3>make configure
    process_begin: CreateProcess(NULL, uname, ...) failed.
    process_begin: CreateProcess(NULL, uname, ...) failed.
    make/os_detect.mk:13: make/os.windows.mk: No such file or directory
    makefile:29: make/build.generic.mk: No such file or directory
    make: *** No rule to make target `make/build.generic.mk'.  Stop.

【问题讨论】:

  • 现成的 ms-windows 中没有 make 程序。您必须安装一些开发工具集。有几种不同的可用。描述每种方法的优缺点需要很长时间。
  • @RolandSmith 我安装了 GNUWin32 。请你好心看看我的问题。我不知道。

标签: makefile


【解决方案1】:

如果您查看libxbee3 存储库中的make 目录,您会看到没有名为os.windows.mk 的文件。 构建系统的编写考虑了类 UNIX 系统,因为make 程序类 UNIX 操作系统上的标准构建系统。

正如您引用的文档中所述,在 ms-windows 上,您必须使用 microsoft“visual studio”工具构建它。

【讨论】:

  • 能否请您向我解释一下使用 microsoft“visual studio”工具构建它的更多信息。这是我第一次使用 git 库。非常感谢。
  • 按照libxbee3 文档中的说明进行操作。由于我不使用 windows,我不能更具体。
【解决方案2】:

请使用“win32”分支。我将更新文档以使这一步更加突出。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2018-11-14
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-01-02
    • 1970-01-01
    • 2018-07-07
    相关资源
    最近更新 更多