Hi

the issue in case 2 is that you are calling OIIO from a program linking against libjpeg8, hence the mismatch message. Use the ldd command to check the libraries used by your program, it should show libjpeg80 in the list.

On 07/24/2013 05:41 AM, Kazuyo Mizuno wrote:
Hi, everyone.

I have an issue with JPEG file.

Error messages:
case 1.
JPEG parameter struct mistmatch: library thinks size is 584, caller expects 568
(OpenImageIO build with libjpeg 8d)

case 2.
Wrong JPEG library version: library is 62, caller expects 80
(OpenImageIO build with libjpeg 6b)

Environment:
1. OS:
   CentOS 5.4
2. Library
    OpenImageIO  1.1.13,  libtiff  3.9.6, libpng 15.1.0, boost 1.49.0,
libjpeg  (8d or 6b)
3. make option
    USE_OPENGL=0 USE_QT=0 USE_TBB=1 ISE_PYTHON=0 EMBEDPLUGINS=1

Does OpenImageIO have any required libjpeg version?
Thanks for your help.

----
Kazuyo Kojima
[email protected]
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to