Bug #52607 [Com]: PHP won't compile with VS2010
| From: | d1pro at yandex dot ru | Date: | Sun, 15 Aug 2010 01:33:37 +0000 |
| Subject: | Bug #52607 [Com]: PHP won't compile with VS2010 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-153437@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52607&edit=1
ID: 52607
Comment by: d1pro at yandex dot ru
Reported by: d1pro at yandex dot ru
Summary: PHP won't compile with VS2010
Status: Feedback
Type: Bug
Package: Compile Failure
Operating System: Windows
PHP Version: 5.3.3
Block user comment: N
New Comment:
I have tryed both with same result. Manually editing the Makefile helps
- i got
succesful build. I have replaced $(CL) with $(CL1) and CL= with CL1=
Previous Comments:
------------------------------------------------------------------------
[2010-08-15 03:16:15] pajoye@php.net
It works here, do you use the SDK 7.1 or VS2010 console?
------------------------------------------------------------------------
[2010-08-15 03:07:38] d1pro at yandex dot ru
Description:
------------
Building with VS2010 or WinSDK 7.1 fails with
cl : Command line warning D9024 : unrecognized source file type
'cl.exe', object
file assumed
LINK : fatal error LNK1181: cannot open input file 'cl.exe'
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
Studio
10.0\VC\Bin\amd64\cl.exe"' : return code '0x2'
Stop.
This happens because new cl.exe uses environment variable CL which is
set to
cl.exe in the Makefile.
Simplest resolution is to rename variable and all entries of $(CL).
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=52607&edit=1