Ok, I've been attempting to build ImageMagick with VC6 so I can use the results to build a php_imagick.dll that will work with the VC6 build of PHP 5.3.0.
I realize Mikko has a VC9 build, but considering Apache, MySQL and PHP all use VC6 for their primary distribution, this would be the least common denominator and would clear up a host of issues people are currently having with php_imagick.dll.
I'm having no luck. So far I've built all combinations of ImageMagick 6.5.4.10 but only the dynamic build creates the dll and lib files I need to build the PHP extention. Unfortunately the resulting extention doesn't seem to work. I can build the extention and it does appear in phpinfo(), but it won't load or manipulate existing images. I can create images with draw function or using text, but when I attempt to load an existing image to resize, change type or anything else, it doesn't seem to work nor does it produce an error in Event Viewer or Apache logs.
In an attempt to track down the issue I attempted to build a self installing binary using VC6. However, since ImageMagickObject requires VC7.1, I couldn't complete that with VC6 exclusively. The project in the ATL folder doesn't seem build and the Advanced Build Instructions on the site doesn't seem to cover this option, only the ATL7 option is covered which obviously won't work on a VC6 build.
I guess my question would be, how do I create a self installing binary with VC6 and VC9? Do I have to have VC7.1 as well or is there a patch to allow us to build ImageMagickObject with VC6 or VC9?
Compile ImageMagick on Windows
Re: Compile ImageMagick on Windows
Why not comment out the dependency on ImageMagickObject in the Inno Setup scripts. You can then build an ImageMagick self-installer.
Re: Compile ImageMagick on Windows
I may give that a shot next. Hopefully PHP doesn't need it.
I did just try using a full VC9 suite, i.e. ImageMagick-6.5.4.10-Q16-windows-dll.exe, Apache 2.2.13 and PHP 5.3.0 Thread Safe and Mikko's php_imagick.dll, all built with VC9. Still no go, PHP simply won't load the dll. While I have .NET 3.5, I went ahead and installed the 2008 redist, just in case but that didn't help.
I guess I either need to find out which Image Magick version Mikko built his dll with or find some way to get at least one build to work.
Back to the drawing board. :/
I did just try using a full VC9 suite, i.e. ImageMagick-6.5.4.10-Q16-windows-dll.exe, Apache 2.2.13 and PHP 5.3.0 Thread Safe and Mikko's php_imagick.dll, all built with VC9. Still no go, PHP simply won't load the dll. While I have .NET 3.5, I went ahead and installed the 2008 redist, just in case but that didn't help.
I guess I either need to find out which Image Magick version Mikko built his dll with or find some way to get at least one build to work.
Back to the drawing board. :/
Re: Compile ImageMagick on Windows
Did anyone manage to get a VC6 dll?
When I try and use Imagick, i get:
When I try and use Imagick, i get:
CheersPHP Startup: imagick: Unable to initialize module
Module compiled with buildID=API20090626,TS,VC9
PHP compiled with buildID=API20090626,TS,VC6
There options need to match
Re: Compile ImageMagick on Windows
Still no solution to this?
I'm trying to install ImageMagick on VC6 (Win7 x64, Apache 2.2.14, PHP 5.3.1) and get to the same "These options need to match" error.
I'm unable to find any solution, so if there's one, could someone please point me in the right direction? Thanks!
I'm trying to install ImageMagick on VC6 (Win7 x64, Apache 2.2.14, PHP 5.3.1) and get to the same "These options need to match" error.
I'm unable to find any solution, so if there's one, could someone please point me in the right direction? Thanks!
Re: Compile ImageMagick on Windows
Version compatible with API20090626,TS,VC6 : http://www.sk89q.com/2010/03/vc6-window ... ick-2-3-0/