79725697

Date: 2025-08-05 06:44:09
Score: 0.5
Natty:
Report link

Maybe update libheif to a newer version.(I am using homebrew to do so on MacOS).

I am having this issue while installing another python library with pi-heif as its dependency on MacOS. Same error about error: call to undeclared function 'heif_image_handle_get_preferred_decoding_colorspace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration].

There was a 1.16.2version of libheif installed on my computer but the latest version available on homebrew as for now(2025-08-05) is 1.20.1.

I just reinstall the latest version of libheif and it's all right now.

Reasons:
  • RegEx Blacklisted phrase (1): Same error
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: zhangzhen