RE: [PHP-WIN] Re: Build with More Debug

From: Date: Tue, 02 Nov 2010 17:55:53 +0000
Subject: RE: [PHP-WIN] Re: Build with More Debug
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14  Groups: php.windows 
Request: Send a blank email to php-windows+get-30410@lists.php.net to get a copy of this message
> -----Original Message----- > From: Steven Scott [mailto:chowarmaan@gmail.com] > Sent: Tuesday, November 02, 2010 10:39 AM > To: Tommy Pham > Cc: Pierre Joye; RQuadling@googlemail.com; php-windows > Subject: Re: [PHP-WIN] Re: Build with More Debug > > On Tue, Nov 2, 2010 at 12:10 PM, Tommy Pham <tommyhp2@gmail.com> > wrote: > >> -----Original Message----- > >> From: Tommy Pham [mailto:tommyhp2@gmail.com] > >> Sent: Tuesday, November 02, 2010 8:53 AM > >> To: 'Steven Scott' > >> Cc: 'Pierre Joye'; 'RQuadling@googlemail.com'; > >> 'php-windows' > >> Subject: RE: [PHP-WIN] Re: Build with More Debug > >> > >> > -----Original Message----- > >> > From: Steven Scott [mailto:chowarmaan@gmail.com] > >> > Sent: Tuesday, November 02, 2010 5:59 AM > >> > To: Tommy Pham > >> > Cc: Pierre Joye; RQuadling@googlemail.com; php-windows > >> > Subject: Re: [PHP-WIN] Re: Build with More Debug > >> > > >> > On Tue, Nov 2, 2010 at 8:34 AM, Steven Scott > <chowarmaan@gmail.com> > >> > wrote: > >> > > On Tue, Nov 2, 2010 at 12:39 AM, Tommy Pham > <tommyhp2@gmail.com> > >> > wrote: > >> > >>> -----Original Message----- > >> > >>> From: Pierre Joye [mailto:pierre.php@gmail.com] > >> > >>> Sent: Wednesday, October 27, 2010 12:25 PM > >> > >>> To: Steven Scott > >> > >>> Cc: RQuadling@googlemail.com; 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 > >> > <chowarmaan@gmail.com> > >> > >>> wrote: > >> > >>> > On Wed, Oct 27, 2010 at 2:51 PM, Pierre Joye > >> > >>> > <pierre.php@gmail.com> > >> > >>> wrote: > >> > >>> >> On Wed, Oct 27, 2010 at 8:15 PM, Steven Scott > >> > >>> >> <chowarmaan@gmail.com> > >> > >>> 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 | FÅl ‹n > >> > >>> I÷Šgëɱ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 > -C > > 913-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 Steven, You don't need Windows 7. You could still use Windows 2003. Just make sure that you have the updated dotNet framework version and SDK. I suggest you to use either 6.1 or 7. The version you have in the screen shot is 6.0. IIRC, 6.0a comes with VS2008 (non-express version). I haven't tried for XP/2003 target yet, but I didn't have any problems compiling for target 2008 (both x86 & x64). Regards, Tommy

« previous php.windows (#30410) next »