Edit report at http://bugs.php.net/bug.php?id=52607&edit=1

 ID:                 52607
 Updated by:         paj...@php.net
 Reported by:        d1pro at yandex dot ru
 Summary:            PHP won't compile with VS2010
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            Compile Failure
 Operating System:   Windows
 PHP Version:        5.3.3
 Block user comment: N

 New Comment:

It works here, do you use the SDK 7.1 or VS2010 console?


Previous Comments:
------------------------------------------------------------------------
[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

Reply via email to