问题
How to solve this bug: When i trying to load a JPG file (png, bmp, .. all is fine), then i see in console this error
Wrong JPEG library version: library is 80, caller expects 70
and my JPG file is not loading.
I am using libjpeg 7.0 version and error come in image decode function at code line:
jpeg_create_decompress(&cinfo);
But, in example project is all fine. So interesting
回答1:
Solved. I removed a project file and was create a new XCode project file and add him a resources and sources.
Now, all works at fine.
来源:https://stackoverflow.com/questions/14974763/wrong-jpeg-library-version-library-is-80-caller-expects-70