Home > Backend Development > PHP Tutorial > vs2012 - PHP编译时发生错误

vs2012 - PHP编译时发生错误

WBOY
Release: 2016-06-06 20:42:05
Original
983 people have browsed it

我按照https://wiki.php.net/internals/windows/stepbystepbuild的步骤准备编译下PHP(在windows下)。
configure 以后提示type'nmake' to build PHP
运行nmake却提示:
NMAKE: fatal error U1077 “"D:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\cl.exe"”:返回代码“0x2”
stop
这是怎么回事?

回复内容:

我按照https://wiki.php.net/internals/windows/stepbystepbuild的步骤准备编译下PHP(在windows下)。
configure 以后提示type'nmake' to build PHP
运行nmake却提示:
NMAKE: fatal error U1077 “"D:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\cl.exe"”:返回代码“0x2”
stop
这是怎么回事?

我不知道答案, 只是想提出我的看法:这样折腾是没必要的。
lamp/lnmp 架构的实际应用都是在linux上的,在windows平台去编译安装完全没有实际价值。
1. windows下开发还是用安装好的集成环境,例如wamp这样的工具,快+简单。
2. 尽早尝试在linux 下开发,越早越好。编译安装也方便,有问题网上一搜也很多解决办法。开发中与实际应用环境相匹配才能减少出错,产生更大的价值。
3. 招聘都要求熟悉 linux开发,这不是最实际的吗?

https://www.google.com.hk/search?newwindow=1&safe=strict&es_sm=122&q=fatal+error+u1077+cd+%E8%BF%94%E5%9B%9E%E4%BB%A3%E7%A0%81+0x2&oq=fatal+error+U1077+0x2&gs_l=serp.1.2.0i19j0i8i30i19l2j0i5i30i19l2.9093.9470.0.12971.2.2.0.0.0.0.94.168.2.2.0....0...1c.1.56.serp..0.2.167.iEMf7oY3oWU

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template