cjpegmultimedia

jinclude.h:20:55: fatal error: jconfig.h: No such file or directory


I have downloaded open source code for jpeg encoder named as "jpegsr9a.zip".After unzipping when i try to build the source code it is showing like as follows

"jinclude.h:20:55: fatal error: jconfig.h: No such file or directory".

Kindly help me to resolve this issue.Thanks in advance.


Solution

  • You need to build the the jpeg-8a library, as this will create the file jconfig.h.

    Before you proceed to build jpeg-encoder, check the prerequisites and then continue. In this case, you need to compile and install jpeg-8a.