This is the mail archive of the
cygwin
mailing list for the Cygwin project.
JPEG parameter struct mismatch
- From: w1hkj <w1hkj at bellsouth dot net>
- To: cygwin at cygwin dot com
- Date: Sat, 12 Apr 2008 21:41:22 -0500
- Subject: JPEG parameter struct mismatch
I have a fairly simple image to save in jpeg format. The code works
correctly in native Linux and also compiles and works correctly under
MinGW. When I try the same build in Cygwin the program crashes with the
following libjpeg message:
JPEG parameter struct mismatch: library thinks size is 376, caller
expects 360.
Testing the struct in question, "jpeg_compress_struct" with a sizeof
give the value 360.
So what am I doing wrong? The full program needs to run in Cygwin.
Thanks,
Dave Freese
www.w1hkj.com
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/