By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,501 Members | 2,805 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,501 IT Pros & Developers. It's quick & easy.

cant compile php_imagick on M$ windows ?

P: n/a
i tried to compile php_imagick on my win box with visual c++ 6.0
but i got these errors when linking:
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
Expand|Select|Wrap|Line Numbers
  1. zend_class_implements(php_imagick_sc_entry TSRMLS_CC, 1,
  2. zend_ce_iterator);
  3.  
in the imagick.c

and also, the following:
Expand|Select|Wrap|Line Numbers
  1. ZEND_DECLARE_MODULE_GLOBALS(imagick)
  2.  
  3. PHP_INI_BEGIN()
  4. STD_PHP_INI_ENTRY( "imagick.locale_fix", "0", PHP_INI_ALL,
  5. OnUpdateBool, locale_fix, zend_imagick_globals, imagick_globals )
  6. PHP_INI_END()
  7.  
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)
Dec 28 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.