cant compile php_imagick on M$ windows ?

This is a discussion on cant compile php_imagick on M$ windows ? within the PHP Language forums, part of the PHP Programming Forums category; i tried to compile php_imagick on my win box with visual c++ 6.0 but i got these errors when ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-28-2007
sskaje
 
Posts: n/a
Default 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
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);
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()
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)
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:10 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0