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

Reply via email to