Wrong JPEG library version: library is 80, caller expects 70

落爺英雄遲暮 提交于 2019-12-23 16:34:18

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!