dependenciesheif

heif-convert error: JPEG support has not been compiled in


I'm trying to convert HEIC files to JPEG. So I installed the libheif library:

Now the heif-convert tool is installed but when I run heif-convert input.HEIC output.jpeg, I get an error: JPEG support has not been compiled in.

I don't understand what I did wrong (or more likely what I forgot to do) and I don't find anything on the internet. Can someone tell me how I can fix this ?


Solution

  • As mentioned in the comments (thanks btw), the solution was to install libjpeg-dev (via apt) and re-run configure/make/make install.
    Works like a charm now.