error when compiling php 5.3.x with vc++ 2008
| From: | Amir | Date: | Sat, 15 Dec 2012 08:43:06 +0000 |
| Subject: | error when compiling php 5.3.x with vc++ 2008 | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-64282@lists.php.net to get a copy of this message | ||
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