Skip to content

Instantly share code, notes, and snippets.



Last active Aug 23, 2017
What would you like to do?
Max OS fatal error: 'jpeglib.h' file not found
Use Brew
> brew install libjpeg
find /usr | grep "libjpeg"
find /opt | grep "libjpeg"
Here what I have done
cd /usr/local/include
sudo rm jpeglib.h
cd /usr/local/lib
sudo rm libjpeg*.*
Additionally you can use brew switch if you're using brew on OS X to downgrade versions (and brew versions v8 to see what versions are available)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment