Re: Compile Problem on Visual Studio 2010
| From: | Steven Scott | Date: | Fri, 22 Oct 2010 20:26:16 +0000 |
| Subject: | Re: Compile Problem on Visual Studio 2010 | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-30385@lists.php.net to get a copy of this message | ||
On Fri, Oct 22, 2010 at 3:49 PM, Steven Scott <chowarmaan@gmail.com> wrote:
> On Fri, Oct 22, 2010 at 3:15 PM, Pierre Joye <pierre.php@gmail.com> wrote:
>> On Fri, Oct 22, 2010 at 7:52 PM, Steven Scott <chowarmaan@gmail.com> wrote:
>>
>>> I am running Visual Studio 2010, but the changes show:
>>
>> VC10 works just fine here (many boxes). What do you use? Visual studio
>> console or the SDK (7.x includes VC10)? Both work well, but you may
>> have messed up your setup (or SDK install broke the paths, early
>> versions did that).
>>
>>
>> Cheers,
>> --
>> Pierre
>>
>> @pierrejoye | http://blog.thepimp.net |
>> http://www.libgd.org
>>
>
> It appears that my environment after a Visual Studio 2010 environment
> may be the problem. When running the Windows SDK 6.1 shell, I get:
> The x86 compilers are not currently installed.
> Please go to Add/Remove Programs to update your installation.
> .
> Setting SDK environment relative to C:\Program Files\Microsoft SDKs\Windows\v6.1
> .
> Targeting Windows Server 2003 x86 DEBUG
>
> However, the software is installed and in the path. Running CL though
> on its own gives me an error about the mspdb100.dll not being found.
> I am going to try to repair my Visual Studio 2010 installation now.
>
With the extra debug statements:
cscript /nologo configure.js "--enable-calendar" "--enable-cgi"
"--with-gettext"
Saving configure options to config.nice.bat
Checking for cl.exe ... Looking ... \cygwin\bin\cl.exe
Looking ... \cygwin\usr\local\bin\cl.exe
Looking ... no\bin\cl.exe
Looking ... \cl.exe
Looking ... C:\Program Files\Microsoft Visual Studio 9.0vcpackages\cl.exe
Looking ... C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\cl.exe
Looking ... C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin\cl.exe
Looking ... C:\WINDOWS\Microsoft.NET\Framework\v3.5\cl.exe
Looking ... C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\cl.exe
Looking ... C:\WINDOWS\system32\cl.exe
Looking ... C:\WINDOWS\cl.exe
Looking ... C:\WINDOWS\System32\Wbem\cl.exe
Looking ... c:\Program Files\Microsoft SQL Server\100\Tools\Binn\\cl.exe
Looking ... c:\Program Files\Microsoft SQL Server\100\DTS\Binn\\cl.exe
Looking ... C:\WINDOWS\system32\WindowsPowerShell\v1.0\cl.exe
Looking ... C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\cl.exe
<in default path>
C:\php5\source\configure.js(2510, 1) Microsoft JScript runtime error:
'PHP_CL' is undefined