PHP 源在 Windows 上构建 : Files: no such file or directory

标签 php nmake

以下教程位于 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 文件夹,但它是空的。来源应该有东西在里面吗?

最佳答案

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

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

关于PHP 源在 Windows 上构建 : Files: no such file or directory,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41900528/

相关文章:

php - 在没有插件的情况下使用内置在 thickbox 中的 wordpress

windows - 如何使用 NMake 设置环境变量

windows - 构建 OpenSSL x64 静态库时出现错误 "error A2009: syntax error in expression"

php - 表单提交创建pdf并将数据保存到mysql数据库

php - Laravel 生成的 XML 文件开头有空格

c++ - gdb 等效于 VC++ cl 编译器?

windows - NMake 在使用 $(shell) 时返回错误

visual-studio-2015 - 将 Makefile 项目添加到 Visual Studio 2015 解决方案总是过时

php - 具有不同结果的多个 file_get_contents

CENTOS 7 上的 php shell_exec sudo