MATLAB: I want to use jpeg_read and I installed MinGW-v64 and typed mex -setup.c (which was ok) and then mex jpeg_read.c. At this step, I am getting the following error . What should I do

jerrorMATLAB Compilermex compilermingw64

Building with 'MinGW64 MinGW64 Compiler (C)'.
Error using mex
fatal error:
jerror.h: No such file or directory
#include <jerror.h>
^
compilation terminated.

Best Answer

You need to install libjpeg
Related Question