X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <480172D2.7030402@bellsouth.net> Date: Sat, 12 Apr 2008 21:41:22 -0500 From: w1hkj <w1hkj AT bellsouth DOT net> User-Agent: Thunderbird 2.0.0.12 (X11/20080227) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: JPEG parameter struct mismatch Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: <cygwin.cygwin.com> List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com> List-Archive: <http://sourceware.org/ml/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/