Re: error when compiling php 5.3.x with vc++ 2008
| From: | Pierre Joye | Date: | Sat, 15 Dec 2012 09:32:15 +0000 |
| Subject: | Re: error when compiling php 5.3.x with vc++ 2008 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-64283@lists.php.net to get a copy of this message | ||
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