MikeWey / DMagick

An ImageMagick binding for the D Programming Language.
zlib License
17 stars 4 forks source link

Fails to build on Mac. #27

Open tastyminerals opened 3 years ago

tastyminerals commented 3 years ago

I guess this is an M1 issue but still, here it is.

Running pre-generate commands for dmagick...
/Users/pavels/.dub/packages/dmagick-0.2.4/dmagick
Performing "tests" build using /Users/pavels/.local/share/ldc2/bin/ldc2 for aarch64, arm_hardfloat.
dmagick 0.2.4: building configuration "other"...
../../../../.dub/packages/dmagick-0.2.4/dmagick/dmagick/c/magickType.d(142,10): Error: undefined identifier `MagickFloatT`
/Users/pavels/.local/share/ldc2/bin/ldc2 failed with exit code 1.

The ImageMagick is installed via Mac ports, version: 6.9.11-60_1+x11.

MikeWey commented 3 years ago

MagickFloatT and MagickDoubleT are currently only defined for X86(_64).