From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: Using the IJG JPEG code with DJGPP Date: Sat, 10 Jan 1998 17:30:43 -0500 Organization: Cornell University (http://www.cornell.edu/) Lines: 15 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <34B7F693.14F6AD1C@cornell.edu> References: <01bd1e10$efbd1be0$LocalHost AT nicland> NNTP-Posting-Host: cu-dialup-0094.cit.cornell.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Nicholas Law wrote: > However, when I tried to put the libary in my program by including the > jpeglib.h file and using the compression sample code, the linker threw > up an 'undefined reference' error to every function from the JPEG > libary. either put the library (the libjpeg.a file) in the directory djgpp\lib or specified in the libraries dialog of rhide. -- ---------------------------------------------------------------------- A. Sinan Unur Department of Policy Analysis and Management, College of Human Ecology, Cornell University, Ithaca, NY 14853, USA mailto:sinan DOT unur AT cornell DOT edu http://www.people.cornell.edu/pages/asu1/