【问题标题】:PHP source build on windows: Files: no such file or directory在 Windows 上构建 PHP 源代码:文件:没有这样的文件或目录
【发布时间】:2017-01-27 18:19:07
【问题描述】:

https://wiki.php.net/internals/windows/stepbystepbuild 观看教程。为 PHP 7 执行此操作,我得到了 nmake 命令。

运行 nmake 时出现以下错误

    "" -h win32\ -r C:\php-sdk\phpdev\vc14\x86\php-src\Release_TS\ -x C:\php
-sdk\phpdev\vc14\x86\php-src\Release_TS\ win32\build\wsyslog.mc
'-h' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: '"' : return code '0x1'

Release_TS 文件夹有一个 win32 文件夹,但它是空的。来源应该有东西吗?

【问题讨论】:

    标签: php nmake


    【解决方案1】:

    必须使用特定的命令提示符

    Visual Studio 2015-> VS2015 x64 x86 交叉工具命令提示符。 你必须为你正在为 (x86/x64) 构建的 php 找到正确的组合,而你正在 (x86/x64) 上构建。

    【讨论】:

      猜你喜欢
      • 2017-03-04
      • 2019-11-28
      • 1970-01-01
      • 2016-12-16
      • 2015-02-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多