cant compile php_imagick on M$ windows ?



i tried to compile php_imagick on my win box with visual c++ 6.0
but i got these errors when linking:
[quote]
Creating library Release_TS/php_imagick.lib and object Release_TS/
php_imagick.exp
imagick.obj : error LNK2001: unresolved external symbol
_executor_globals_id
imagick.obj : error LNK2001: unresolved external symbol
_zend_ce_iterator
[/quote]

these two symbols can be found in the php5ts.lib, but i dont know what
makes them
ive already add the php5ts.lib to the link libs

then i read the source of php_imagick, and found :

there is a
[Code]
zend_class_implements(php_imagick_sc_entry TSRMLS_CC, 1,
zend_ce_iterator);
[/Code]
in the imagick.c

and also, the following:
[Code]
ZEND_DECLARE_MODULE_GLOBALS(imagick)

PHP_INI_BEGIN()
STD_PHP_INI_ENTRY( "imagick.locale_fix", "0", PHP_INI_ALL,
OnUpdateBool, locale_fix, zend_imagick_globals, imagick_globals )
PHP_INI_END()
[/Code]
may be have some relation with the '_executor_globals_id'

ive tried to compile the php_imagick with php use nmake on cmd, with a
--enable-imagick, but still with no imagick extension been built

PS:
WIndows 2003 sp2 + Visual Studio 6.0 sp6 + php 5.2.5 + imagemagick
6.3.7 (i tried from 6.3.7-1 to 6.3.7-7) + php_imagick (from PECL, i
tried all the latest versions)
.



Relevant Pages

  • Re: Compiling CERDISP.exe
    ... At his point I get linking errors. ... directory for files to compile. ... cerdisp.obj: error LNK2019: unresolved external symbol GetMessageW ... DispatchMessageW referenced in function WinMain ...
    (microsoft.public.windowsce.platbuilder)
  • [Q] btdrt.lib linking error. in EVC
    ... I'm trying to write a very simple application in EVC 4.0 that uses ... I am including bt_api.h, and linking to btdrt.lib. ... compile the program I get the following linking errors; ... btdrt.lib: error LNK2019: unresolved external symbol ...
    (microsoft.public.windowsce.platbuilder)
  • How do you link to the Bluetooth API?
    ... I'm trying to write a very simple application in EVC 4.0 that uses ... I am including bt_api.h, and linking to btdrt.lib. ... compile the program I get the following linking errors; ... btdrt.lib: error LNK2001: unresolved external symbol g_fBthApiCOM ...
    (microsoft.public.windowsce.app.development)
  • Re: Going From MFC to .NET
    ... Now the problem is that when I try to compile a debug or release vr. ... format; library ignored ... HardDriveTest.obj: error LNK2001: unresolved external symbol "unsigned ...
    (microsoft.public.vc.mfc)
  • Re: Links2 in graphics mode in X?
    ... the linking process with runtime shared libraries, ... so you need to go get libpng.a and libpng.so (depending ... de-modernizing C++ codes, or de-ansi99ing C codes. ... impossible to compile without linking against something, ...
    (comp.os.linux.misc)