Reply to cant compile php_imagick on M$ windows ?

Your name:

Reply:


Posted by sskaje on 12/28/07 05:59

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)

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация