** Summary changed:

- FreeImage fails to load jpeg, possible conflict with libjpeg?
+ FreeImage jpeg library conflicts with system jpeg library
** Description changed:

  Binary package hint: libfreeimage3
  
  Version Info:
  libfreeimage3    3.9.3-3
  libjpeg62            6b-13
  libogre-14          1.4.3-1
+ 
+ Description:
+ Freeimage static build of libJPEG conflict with the system jpg library 
meaning that FreeImage cannot be used alongside any library that uses the 
system JPEG library.
  
  Error Message:
  FreeImage error: 'JPEG parameter struct mismatch: library thinks size is 464, 
caller expects 428' when loading format JPEG terminate called after throwing an 
instance of 'int'
  
  Reason to suspect conflict with libjpeg:
  "A common error that users of the library sometimes stumble upon is "JPEG 
parameter struct mismatch: library thinks size is X, caller expects Y" where X 
and Y are some numbers in the range 400-500. The reason for the error is that 
the user is using a version of the header file, jpeglib.h, that is different 
from the version of the installed binaries."
  [http://en.wikipedia.org/wiki/Libjpeg]
  
  I am using libogre-14 and get this error when I try to load a jpeg.
  If its not freeimage maybe should assign bug to libogre-14
  
  Update:
  Using -lOgreMain in the linker params ensures the Ogre libraries get linked 
first and solves the conflict with the jpeg library linked by wxWidgets.
  BUT
- If the wx component is requires the wx version of the JPEG library it is a 
problem again.
+ If any wx component requires the the JPEG library then the same problem 
occurs in reverse.
  
- Suggestion, could FreeImage use the same version of the JPEG library as
+ Suggestion, FreeImage should use the same version of the JPEG library as
  is present on Ubuntu?
  
  Would the maintainer like to comment on this?

-- 
FreeImage jpeg library conflicts with system jpeg library
https://bugs.launchpad.net/bugs/128026
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to