php-windows Digest 2 Nov 2010 17:38:43 -0000 Issue 3881
Topics (messages 30405 through 30409):
Re: Build with More Debug
30405 by: Steven Scott
30406 by: Steven Scott
30407 by: Tommy Pham
30408 by: Tommy Pham
30409 by: Steven Scott
Administrivia:
To subscribe to the digest, e-mail:
[email protected]
To unsubscribe from the digest, e-mail:
[email protected]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
On Tue, Nov 2, 2010 at 12:39 AM, Tommy Pham <[email protected]> wrote:
>> -----Original Message-----
>> From: Pierre Joye [mailto:[email protected]]
>> Sent: Wednesday, October 27, 2010 12:25 PM
>> To: Steven Scott
>> Cc: [email protected]; php-windows
>> Subject: [PHP-WIN] Re: Build with More Debug
>>
>> version of the SDK?
>>
>> What else did you install?
>>
>> SDK 6.1 or 7.x work just fine here, by default, no magic...
>>
>> On Wed, Oct 27, 2010 at 9:24 PM, Steven Scott <[email protected]>
>> wrote:
>> > On Wed, Oct 27, 2010 at 2:51 PM, Pierre Joye <[email protected]>
>> wrote:
>> >> On Wed, Oct 27, 2010 at 8:15 PM, Steven Scott <[email protected]>
>> wrote:
>> >>
>> >>> Interesting, but I do not see an include for WinNT.h in the info.c
>> >>> file. It is in my code too, but I do not see a reference to it in
>> >>> the source code on this machine.
>> >>
>> >> What do you use to compile php?
>> >>
>> >> SDK Console?
>> >>
>> >>
>> >> Cheers
>> >> --
>> >> Pierre
>> >>
>> >> @pierrejoye | http://blog.thepimp.net | http://www.libgd.org
>> >>
>> >
>> > Windows 2003 Server, 32 Bit
>> > Start / Microsoft Windows SDK / CMD Shell
>> >
>>
>>
>>
>> --
>> Pierre
>>
>> @pierrejoye | http://blog.thepimp.net | http://www.libgd.org
>>
>
> I also don't have any problems with SDK 6.1 or 7 on Win08. Just a bit
> curious since I don't remember if you mentioned you configure it or not...
> did you configure the Visual Studio with the SDK using the 'Windows SDK
> Configuration Tool' ?
>
> Regards,
> Tommy
>
>
I did set the default include and library paths in Visual Studio, but
did not actually run a Windows SDK Configuration Tool, short of the
Registry setup.
--- End Message ---
--- Begin Message ---
On Tue, Nov 2, 2010 at 8:34 AM, Steven Scott <[email protected]> wrote:
> On Tue, Nov 2, 2010 at 12:39 AM, Tommy Pham <[email protected]> wrote:
>>> -----Original Message-----
>>> From: Pierre Joye [mailto:[email protected]]
>>> Sent: Wednesday, October 27, 2010 12:25 PM
>>> To: Steven Scott
>>> Cc: [email protected]; php-windows
>>> Subject: [PHP-WIN] Re: Build with More Debug
>>>
>>> version of the SDK?
>>>
>>> What else did you install?
>>>
>>> SDK 6.1 or 7.x work just fine here, by default, no magic...
>>>
>>> On Wed, Oct 27, 2010 at 9:24 PM, Steven Scott <[email protected]>
>>> wrote:
>>> > On Wed, Oct 27, 2010 at 2:51 PM, Pierre Joye <[email protected]>
>>> wrote:
>>> >> On Wed, Oct 27, 2010 at 8:15 PM, Steven Scott <[email protected]>
>>> wrote:
>>> >>
>>> >>> Interesting, but I do not see an include for WinNT.h in the info.c
>>> >>> file. It is in my code too, but I do not see a reference to it in
>>> >>> the source code on this machine.
>>> >>
>>> >> What do you use to compile php?
>>> >>
>>> >> SDK Console?
>>> >>
>>> >>
>>> >> Cheers
>>> >> --
>>> >> Pierre
>>> >>
>>> >> @pierrejoye | http://blog.thepimp.net | http://www.libgd.org
>>> >>
>>> >
>>> > Windows 2003 Server, 32 Bit
>>> > Start / Microsoft Windows SDK / CMD Shell
>>> >
>>>
>>>
>>>
>>> --
>>> Pierre
>>>
>>> @pierrejoye | http://blog.thepimp.net | http://www.libgd.org
>>>
>>
>> I also don't have any problems with SDK 6.1 or 7 on Win08. Just a bit
>> curious since I don't remember if you mentioned you configure it or not...
>> did you configure the Visual Studio with the SDK using the 'Windows SDK
>> Configuration Tool' ?
>>
>> Regards,
>> Tommy
>>
>>
>
> I did set the default include and library paths in Visual Studio, but
> did not actually run a Windows SDK Configuration Tool, short of the
> Registry setup.
>
Not sure what the Configuration Tool is, but I did follow the
instructions in the menu item shown in the attached screen shot.
--- End Message ---
--- Begin Message ---
> -----Original Message-----
> From: Steven Scott [mailto:[email protected]]
> Sent: Tuesday, November 02, 2010 5:59 AM
> To: Tommy Pham
> Cc: Pierre Joye; [email protected]; php-windows
> Subject: Re: [PHP-WIN] Re: Build with More Debug
>
> On Tue, Nov 2, 2010 at 8:34 AM, Steven Scott <[email protected]>
> wrote:
> > On Tue, Nov 2, 2010 at 12:39 AM, Tommy Pham <[email protected]>
> wrote:
> >>> -----Original Message-----
> >>> From: Pierre Joye [mailto:[email protected]]
> >>> Sent: Wednesday, October 27, 2010 12:25 PM
> >>> To: Steven Scott
> >>> Cc: [email protected]; php-windows
> >>> Subject: [PHP-WIN] Re: Build with More Debug
> >>>
> >>> version of the SDK?
> >>>
> >>> What else did you install?
> >>>
> >>> SDK 6.1 or 7.x work just fine here, by default, no magic...
> >>>
> >>> On Wed, Oct 27, 2010 at 9:24 PM, Steven Scott
> <[email protected]>
> >>> wrote:
> >>> > On Wed, Oct 27, 2010 at 2:51 PM, Pierre Joye
> >>> > <[email protected]>
> >>> wrote:
> >>> >> On Wed, Oct 27, 2010 at 8:15 PM, Steven Scott
> >>> >> <[email protected]>
> >>> wrote:
> >>> >>
> >>> >>> Interesting, but I do not see an include for WinNT.h in the
> >>> >>> info.c file. It is in my code too, but I do not see a reference
> >>> >>> to it in the source code on this machine.
> >>> >>
> >>> >> What do you use to compile php?
> >>> >>
> >>> >> SDK Console?
> >>> >>
> >>> >>
> >>> >> Cheers
> >>> >> --
> >>> >> Pierre
> >>> >>
> >>> >> @pierrejoye | http://blog.thepimp.net | http://www.libgd.org
> >>> >>
> >>> >
> >>> > Windows 2003 Server, 32 Bit
> >>> > Start / Microsoft Windows SDK / CMD Shell
> >>> >
> >>>
> >>>
> >>>
> >>> --
> >>> Pierre
> >>>
> >>> @pierrejoye | http://blog.thepimp.net | http://www.libgd.org
> >>>
> >>
> >> I also don't have any problems with SDK 6.1 or 7 on Win08. Just a
> >> bit curious since I don't remember if you mentioned you configure it or
> not...
> >> did you configure the Visual Studio with the SDK using the 'Windows
> >> SDK Configuration Tool' ?
> >>
> >> Regards,
> >> Tommy
> >>
> >>
> >
> > I did set the default include and library paths in Visual Studio, but
> > did not actually run a Windows SDK Configuration Tool, short of the
> > Registry setup.
> >
>
> Not sure what the Configuration Tool is, but I did follow the instructions
in
> the menu item shown in the attached screen shot.
>From that screen shot, it looks like Windows 2003 Platform SDK, IIRC. I
think that could be why you're having problem since I don't think that
particular version of SDK supports VC++ 2008 (I could be wrong). What's
your target OS? Why not use SDK 6.1 or 7.0? Any particular reason not to?
According to this link [1], seems like Win2003 SDK has been retired.
Regards,
Tommy
[1] http://msdn.microsoft.com/en-us/windows/ff851942.aspx
--- End Message ---
--- Begin Message ---
> -----Original Message-----
> From: Tommy Pham [mailto:[email protected]]
> Sent: Tuesday, November 02, 2010 8:53 AM
> To: 'Steven Scott'
> Cc: 'Pierre Joye'; '[email protected]'; 'php-windows'
> Subject: RE: [PHP-WIN] Re: Build with More Debug
>
> > -----Original Message-----
> > From: Steven Scott [mailto:[email protected]]
> > Sent: Tuesday, November 02, 2010 5:59 AM
> > To: Tommy Pham
> > Cc: Pierre Joye; [email protected]; php-windows
> > Subject: Re: [PHP-WIN] Re: Build with More Debug
> >
> > On Tue, Nov 2, 2010 at 8:34 AM, Steven Scott <[email protected]>
> > wrote:
> > > On Tue, Nov 2, 2010 at 12:39 AM, Tommy Pham <[email protected]>
> > wrote:
> > >>> -----Original Message-----
> > >>> From: Pierre Joye [mailto:[email protected]]
> > >>> Sent: Wednesday, October 27, 2010 12:25 PM
> > >>> To: Steven Scott
> > >>> Cc: [email protected]; php-windows
> > >>> Subject: [PHP-WIN] Re: Build with More Debug
> > >>>
> > >>> version of the SDK?
> > >>>
> > >>> What else did you install?
> > >>>
> > >>> SDK 6.1 or 7.x work just fine here, by default, no magic...
> > >>>
> > >>> On Wed, Oct 27, 2010 at 9:24 PM, Steven Scott
> > <[email protected]>
> > >>> wrote:
> > >>> > On Wed, Oct 27, 2010 at 2:51 PM, Pierre Joye
> > >>> > <[email protected]>
> > >>> wrote:
> > >>> >> On Wed, Oct 27, 2010 at 8:15 PM, Steven Scott
> > >>> >> <[email protected]>
> > >>> wrote:
> > >>> >>
> > >>> >>> Interesting, but I do not see an include for WinNT.h in the
> > >>> >>> info.c file. It is in my code too, but I do not see a
> > >>> >>> reference to it in the source code on this machine.
> > >>> >>
> > >>> >> What do you use to compile php?
> > >>> >>
> > >>> >> SDK Console?
> > >>> >>
> > >>> >>
> > >>> >> Cheers
> > >>> >> --
> > >>> >> Pierre
> > >>> >>
> > >>> >> @pierrejoye | http://blog.thepimp.net | http://www.libgd.org
> > >>> >>
> > >>> >
> > >>> > Windows 2003 Server, 32 Bit
> > >>> > Start / Microsoft Windows SDK / CMD Shell
> > >>> >
> > >>>
> > >>>
> > >>>
> > >>> --
> > >>> Pierre
> > >>>
> > >>> @pierrejoye | http://blog.thepimp.net | http://www.libgd.org
> > >>>
> > >>
> > >> I also don't have any problems with SDK 6.1 or 7 on Win08. Just a
> > >> bit curious since I don't remember if you mentioned you configure
> > >> it or
> > not...
> > >> did you configure the Visual Studio with the SDK using the 'Windows
> > >> SDK Configuration Tool' ?
> > >>
> > >> Regards,
> > >> Tommy
> > >>
> > >>
> > >
> > > I did set the default include and library paths in Visual Studio,
> > > but did not actually run a Windows SDK Configuration Tool, short of
> > > the Registry setup.
> > >
> >
> > Not sure what the Configuration Tool is, but I did follow the
> > instructions in the menu item shown in the attached screen shot.
>
> From that screen shot, it looks like Windows 2003 Platform SDK, IIRC. I
think
> that could be why you're having problem since I don't think that
particular
> version of SDK supports VC++ 2008 (I could be wrong). What's your target
> OS? Why not use SDK 6.1 or 7.0? Any particular reason not to? According
to
> this link [1], seems like Win2003 SDK has been retired.
>
> Regards,
> Tommy
>
> [1] http://msdn.microsoft.com/en-us/windows/ff851942.aspx
My mistake, the version you have is Microsoft® Windows® Software Development
Kit Update for Windows Vista. Here's the note from [2] which explains your
problem using it with VC++ 2008.
"NOTE: An updated version of the Windows SDK that supports Windows Server
2008, .NET Framework 3.5, as well as Windows Vista is now available and also
contains the Visual Studio 2008 C++ command line compiler. The updated
Windows SDK is available as either a
* Web Install or
* DVD ISO image
NOTE: The C++ compilers in this SDK release are the same that shipped with
Visual Studio 2005 Service Pack 1, however it does not support the /analyze
switch. If you need that capability and do not wish to upgrade to the latest
Windows SDK, you can obtain that functionality by installing the C++
compiler from the older Microsoft Windows Software Development Kit for
Windows Vista and .NET Framework 3.0 Runtime Components."
[2]
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=4377F86D-C913-4B
5C-B87E-EF72E5B4E065&displaylang=en
--- End Message ---
--- Begin Message ---
On Tue, Nov 2, 2010 at 12:10 PM, Tommy Pham <[email protected]> wrote:
>> -----Original Message-----
>> From: Tommy Pham [mailto:[email protected]]
>> Sent: Tuesday, November 02, 2010 8:53 AM
>> To: 'Steven Scott'
>> Cc: 'Pierre Joye'; '[email protected]'; 'php-windows'
>> Subject: RE: [PHP-WIN] Re: Build with More Debug
>>
>> > -----Original Message-----
>> > From: Steven Scott [mailto:[email protected]]
>> > Sent: Tuesday, November 02, 2010 5:59 AM
>> > To: Tommy Pham
>> > Cc: Pierre Joye; [email protected]; php-windows
>> > Subject: Re: [PHP-WIN] Re: Build with More Debug
>> >
>> > On Tue, Nov 2, 2010 at 8:34 AM, Steven Scott <[email protected]>
>> > wrote:
>> > > On Tue, Nov 2, 2010 at 12:39 AM, Tommy Pham <[email protected]>
>> > wrote:
>> > >>> -----Original Message-----
>> > >>> From: Pierre Joye [mailto:[email protected]]
>> > >>> Sent: Wednesday, October 27, 2010 12:25 PM
>> > >>> To: Steven Scott
>> > >>> Cc: [email protected]; php-windows
>> > >>> Subject: [PHP-WIN] Re: Build with More Debug
>> > >>>
>> > >>> version of the SDK?
>> > >>>
>> > >>> What else did you install?
>> > >>>
>> > >>> SDK 6.1 or 7.x work just fine here, by default, no magic...
>> > >>>
>> > >>> On Wed, Oct 27, 2010 at 9:24 PM, Steven Scott
>> > <[email protected]>
>> > >>> wrote:
>> > >>> > On Wed, Oct 27, 2010 at 2:51 PM, Pierre Joye
>> > >>> > <[email protected]>
>> > >>> wrote:
>> > >>> >> On Wed, Oct 27, 2010 at 8:15 PM, Steven Scott
>> > >>> >> <[email protected]>
>> > >>> wrote:
>> > >>> >>
>> > >>> >>> Interesting, but I do not see an include for WinNT.h in the
>> > >>> >>> info.c file. It is in my code too, but I do not see a
>> > >>> >>> reference to it in the source code on this machine.
>> > >>> >>
>> > >>> >> What do you use to compile php?
>> > >>> >>
>> > >>> >> SDK Console?
>> > >>> >>
>> > >>> >>
>> > >>> >> Cheers
>> > >>> >> --
>> > >>> >> Pierre
>> > >>> >>
>> > >>> >> @pierrejoye | http://blog.thepimp.net | http://www.libgd.org
>> > >>> >>
>> > >>> >
>> > >>> > Windows 2003 Server, 32 Bit
>> > >>> > Start / Microsoft Windows SDK / CMD Shell
>> > >>> >
>> > >>>
>> > >>>
>> > >>>
>> > >>> --
>> > >>> Pierre
>> > >>>
>> > >>> @pierrejoye | http://blog.thepimp.net | http://www.libgd.org
>> > >>>
>> > >>
>> > >> I also don't have any problems with SDK 6.1 or 7 on Win08. Just a
>> > >> bit curious since I don't remember if you mentioned you configure
>> > >> it or
>> > not...
>> > >> did you configure the Visual Studio with the SDK using the 'Windows
>> > >> SDK Configuration Tool' ?
>> > >>
>> > >> Regards,
>> > >> Tommy
>> > >>
>> > >>
>> > >
>> > > I did set the default include and library paths in Visual Studio,
>> > > but did not actually run a Windows SDK Configuration Tool, short of
>> > > the Registry setup.
>> > >
>> >
>> > Not sure what the Configuration Tool is, but I did follow the
>> > instructions in the menu item shown in the attached screen shot.
>>
>> From that screen shot, it looks like Windows 2003 Platform SDK, IIRC. I
> think
>> that could be why you're having problem since I don't think that
> particular
>> version of SDK supports VC++ 2008 (I could be wrong). What's your target
>> OS? Why not use SDK 6.1 or 7.0? Any particular reason not to? According
> to
>> this link [1], seems like Win2003 SDK has been retired.
>>
>> Regards,
>> Tommy
>>
>> [1] http://msdn.microsoft.com/en-us/windows/ff851942.aspx
>
> My mistake, the version you have is Microsoft® Windows® Software Development
> Kit Update for Windows Vista. Here's the note from [2] which explains your
> problem using it with VC++ 2008.
>
> "NOTE: An updated version of the Windows SDK that supports Windows Server
> 2008, .NET Framework 3.5, as well as Windows Vista is now available and also
> contains the Visual Studio 2008 C++ command line compiler. The updated
> Windows SDK is available as either a
>
> * Web Install or
> * DVD ISO image
>
>
> NOTE: The C++ compilers in this SDK release are the same that shipped with
> Visual Studio 2005 Service Pack 1, however it does not support the /analyze
> switch. If you need that capability and do not wish to upgrade to the latest
> Windows SDK, you can obtain that functionality by installing the C++
> compiler from the older Microsoft Windows Software Development Kit for
> Windows Vista and .NET Framework 3.0 Runtime Components."
>
> [2]
> http://www.microsoft.com/downloads/en/details.aspx?FamilyID=4377F86D-C913-4B
> 5C-B87E-EF72E5B4E065&displaylang=en
>
>
>
The VMWare image I had as a base is Windows 2003 Server. That is why
I was there. I will try to get a Windows 7 image and use that to try
to do the build then with the newer ISO images you mentioned.
Thanks for the advice.
Steven Scott
--- End Message ---