Closed vpzomtrrfrt closed 1 year ago
Super, and it's happening on macOS as well, so I can't blame it on Windows or an obscure Linux distro. I will have to dig into what has changed in MagickWand and see if there is an appropriate work-around.
The only impact the disable-hdri
feature has is causing magick-rust to compute the equivalent value for QuantumRange
, so I'm going to make that feature a default and call this fixed. From what I can tell, the QuantumRange
constant is always defined or the MagickWand would fail to build. This seems like a bug in rust-bindgen again, but why it suddenly happens with a slightly different version of MagickWand, I don't know. There are 260+ commits in MagickWand since the 7.1.1.15 version, so narrowing this down is not worth the trouble given how little this matters to magick-rust.
Fixed in commit 8a9536d83a9a524c4274c487bba0a424d6f256e0
Works fine in 7.1.1.15, but compiling with 7.1.1.17 fails with this error:
Looks like #40, but in this case both versions were compiled with hdri enabled