Hello,

Seems to work just fine with libheif 1.17.6 and 1.17.0 here.

Which problem do you see with 1.17.6?

/Kim


On 2026-08-30 11:03, Philippe Jean Guillaumie via enlightenment-users wrote:
Hello,

make fails with libheif support on Ubuntu Jammy (libheif 1.12.0-2) and Noble (libheif 1.17.6-1).

You need to run at least Ubuntu Resolute to meet the requierement.

https://launchpad.net/ubuntu/+source/libheif

Le 29/08/2026 à 17:06, Kim Woelders a écrit :
Hmm..

I have heif_error_success in /usr/include/libheif/heif_error.h, included by /usr/include/libheif/heif.h.
This is libheif 1.20.2. Which libheif version do you have?

/Kim


On 2026-08-29 16:18, [email protected] wrote:
dear list,

Thank you to Kim Woelders for continuing e16.

I'm wondering how to get heif support working with today's drop of imlib, and hoping the problem I encountered is a known problem so I don't re-invent a wheel. Re-invented wheels tend to not be very round.

What's working, and what isn't, and the workaround:




The configure stage is successful, and ends with this precis:

[snip]
Configuration Options Summary:

Image loaders:
  Regular image loaders
   AVIF....................: no
   GIF.....................: yes
   HEIF....................: yes
   JPEG....................: yes
   J2K.....................: yes
   JXL.....................: yes
   PNG.....................: yes
   PS......................: yes
   RAW.....................: no
   SVG.....................: yes
   TIFF....................: yes
   WEBP....................: yes
   Y4M.....................: no
  Decompressors
   BZIP2...................: yes
   LZMA(XZ)................: yes
   ZLIB....................: yes
  Containers
   ID3.....................: yes

Build for X11.............: yes
Use X MIT-SHM FD-passing..: yes

Use X86 MMX for speed.....: no
Use AMD64 for speed.......: yes

Include filters...........: yes
Include text functions....: yes
Use uscaler...............: yes
Use visibility hiding.....: yes
Use struct packing........: no
Enable RTLD_LOCAL support.: yes

Build demo programs.......: yes

Installation path.........: /usr/local




However, compiling imlib2-1.12.7  with the usual  ./configure, make, install fails in make, like so.

[snip]
loader_heif.c: In function '_heif_writer':
loader_heif.c:186:31: error: 'heif_error_success' undeclared (first use in this function); did you mean 'heif_error_code'?
   186 |     struct heif_error error = heif_error_success;
       |                               ^~~~~~~~~~~~~~~~~~
       |                               heif_error_code
loader_heif.c:186:31: note: each undeclared identifier is reported only once for each function it appears in
[snip]

But that suggestion doesn't make a lot of sense, as heif_error_code (from libheif) is an enum.




Working as expected:
configure --without-heif && make && make install

peter rooney


_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users



_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users




_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to