Re: error when compiling php 5.3.x with vc++ 2008
| From: | Amir | Date: | Sat, 15 Dec 2012 09:51:46 +0000 |
| Subject: | Re: error when compiling php 5.3.x with vc++ 2008 | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-64284@lists.php.net to get a copy of this message | ||
I did it but have error still
note: I compile none thread safe and got error when using some user
function in my c++ code.
On Sat, Dec 15, 2012 at 1:02 PM, Pierre Joye <pierre.php@gmail.com> wrote:
> hi,
>
> nmake clean
> configure ....
> make
>
> You are building it again while having configured&built for another mode.
>
> On Sat, Dec 15, 2012 at 9:43 AM, Amir <admin@ecdcconference.org> wrote:
> > Hi
> >
> > here is my error:
> > error LNK2001: unresolved external symbol __imp__executor_globals_id
> >
> > when I compiling my c++ php extension.
> >
> > My setting is:
> > I use php5.lib as additional library
> > my processor:
> WIN32;NDEBUG;_WINDOWS;_USRDLL;PHP_WIN32;ZEND_WIN32;ZTS=0;ZEND_DEBUG=0
> >
> > and include directories:
> >
> C:\php-sdk\php53dev\vc9\x86\php5.3-xyz\Release\php-5.3.19-devel-VC9-x86\include";"
> >
>
> C:\php-sdk\php53dev\vc9\x86\php5.3-xyz\Release\php-5.3.19-devel-VC9-x86\include\win32";"
> >
>
> C:\php-sdk\php53dev\vc9\x86\php5.3-xyz\Release\php-5.3.19-devel-VC9-x86\include\TSRM";"
> >
>
> C:\php-sdk\php53dev\vc9\x86\php5.3-xyz\Release\php-5.3.19-devel-VC9-x86\include\zend";"
> >
> C:\php-sdk\php53dev\vc9\x86\php5.3-xyz\Release\php-5.3.19-devel-VC9-x86\include\main"
> >
> > I configured as this link
> > https://wiki.php.net/internals/windows/stepbystepbuild
> > step by step and
> > using Windows SDK 6.1
>
>
>
> --
> Pierre
>
> @pierrejoye | http://blog.thepimp.net |
> http://www.libgd.org
>