delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/05/03:14:30

Date: Thu, 5 Nov 1998 10:14:08 +0200 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
To: Alessandro Moure <moure AT sercomtel DOT com DOT br>
cc: djgpp AT delorie DOT com, grx AT gnu DOT de
Subject: Re: GRX 2.3 and Jpeg-6b.
In-Reply-To: <36410C0A.EB7A1469@sercomtel.com.br>
Message-ID: <Pine.A32.3.91.981105100707.74744A-100000@ieva01.lanet.lv>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com


On Thu, 5 Nov 1998, Alessandro Moure wrote:

> Hi. I've download version 2.3 of GRX library and the JPEG-6B pack.
> After a few hours I've managed to create the libjpeg.a file. :)
> 	But, now, when I try to compile my software, I get a error message
> "undefined reference to GrGetScanlineC()" function. This function is
> called by SaveContextToJpeg().
> 	I've checked grx20.h and the function is there. I don't think I am
> missing some include file, cause every other function from GRX is
> working properly.

As I tested GrGetScanlineC() is in libgrx20.a (getscl.o)
(at least I have this function in version on my HD). I have used
SaveContextToJpg() to generates frames from output of one my program
for later conversion to MPEG. I expected better quality of MPEG file
I got, but otherwise all worked. Check if Your library have this 
function.  

> 	Any tip?
> 	BTW, there was a small bug in the ctx2jpeg.c file. In line 140, the
> parameter is "cxt" and not "ctx".
> 	Thanks in advance,

This bug in ctx2jpeg.c is well known 
(see http://www.gnu.de/software/GRX/problems23.html and
     http://www.gnu.de/software/GRX/)

Andris

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019