Open crazywhalecc opened 5 days ago
You will either need switch to a C++ compiler or rebuild ImageMagick with 64 bit channel mask support yourself.
@dlemstra Thank you for your help. And I'm a newbie in Windows build, how can I achieve it?
It looks like you are using our build tooling in your script. We don't have support for disabling C++ builds and we will not be going to add an option for that.
ImageMagick version
7.1.1-37 Q16-HDRI x64
Operating system
Windows
Operating system, version and so on
10 LTSC
Description
Related issue #7583
I'm building php-src on windows, and it's a C project, I cannot link imagemagick with imagick extension.
When building php, I got the same error:
Just tried to use MagickWand in C, too.
Steps to Reproduce
Here's how I build imagemagick-windows:
execWithWrapper
,makeSimpleWrapper
is just for adding PATH, not related to build scripts.exec
equals toexec()
, that is, running in cmd.exe.resetDir
is to delete dir and create dir, make it empty.And for imagick extension, I did modification here (config.w32):
And using static-php-cli to build php.exe statically, got error:
Images
There is no image.
It's unrealistic to give you a full understanding of static-php-cli project, but if you have an idea for solving this problem or what caused it, I'd love to know. Thanks.