delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Reply-To: | <aliaga AT research DOT bell-labs DOT com> |
From: | "Daniel G. Aliaga" <aliaga AT research DOT bell-labs DOT com> |
To: | <cygwin AT cygwin DOT com> |
Subject: | CYGWIN JPEG question |
Date: | Wed, 29 Aug 2001 11:25:25 -0400 |
Message-ID: | <000901c1309e$d43e6730$a8256887@research.belllabs.com> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) |
Importance: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4522.1200 |
I recently installed CYGWIN. Its great! I'm porting code that uses the standard JPEG library. I specify the library on the link line, but I get error messages such as the following (one for every jpeg call): ....: undefined reference to 'import stub for jpeg_read_header(jpeg_decompress_struct *, int)' and so forth, etc. I suppose this has something to do with DLLs vs libraries. It seems libjpeg.a and libjpeg.dll.a are already in /usr/lib. I suppose the installation properly created them. cjpeg and djpeg work just fine. Is there something special I need to do during link time? I come from a Unix background. My compile line is something simple like: "g++ -o myprogram myprogram.C -ljpeg -lm" Thanks, -D. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |