This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]