RE: Compile Problem on Visual Studio 2010

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

> -----Original Message-----
> From: Steven Scott [mailto:chowarmaan@xxxxxxxxx]
> Sent: Friday, October 22, 2010 5:58 AM
> To: php-windows@xxxxxxxxxxxxx
> Subject:  Compile Problem on Visual Studio 2010
> Not sure if this is the right list for this question, but I have not found
> better one on the PHP site to reference.
> I am unable to build PHP 5.3.3 on Windows using Visual Studio 2010.  I
> been able to build previous versions, but the new buildconf.bat file
> but when I run the configure.bat file, I get an error that the cl.exe is
> found.  This happens on 64bit and 32bit machines.
> The CL.exe is in
> I have followed the build steps from:
> I created a folder C:\PHP5
> I unpacked the binary-tools into this directory and ran the
> phpsdk_setvars.bat I then ran the phpsdk_buildtree.bat C:\PHP5\source I
> then unpacked PHP 5.3.3 source into the C:\PHP5\source
> buildconf runs without error.
> configure returns:
> Saving configure options to config.nice.bat Checking for cl.exe ...  <not
> found>
> ERROR: MS C++ compiler is required
> C:\>dir \cl.exe /s/b
> C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\cl.exe C:\Program
> Files\Microsoft Visual Studio 10.0\VC\bin\amd64\cl.exe C:\Program
> Files\Microsoft Visual Studio 10.0\VC\bin\x86_amd64\cl.exe
> Any help would be appreciated

dir, to see where the file is, is not the same as the cl.exe is in the path.
Now that you know where cl.exe are.  Type `path` w/o the quote to see if one
the directory is in the path.  If not, you didn't set the environment needed
for VS.


PHP Windows Mailing List (
To unsubscribe, visit:

[PHP Home]     [PHP Users]     [PHP Install]     [PHP on Windows]     [Programming PHP]     [Kernel Newbies]     [Rice Cooker]     [Home]     [Yosemite News]     [Yosemite Photos]     [PHP Books]

Powered by Linux