From: Alan W. I. <ir...@be...> - 2002-09-16 20:20:58
|
On Mon, 16 Sep 2002, [iso-8859-1] Jo=E3o Cardoso wrote: > I found that gdImagePalettePixel() is really a macro: > > #define gdImagePalettePixel( im, x, y ) (im)->pixels[(y)][(x)] > > So, putting it above gd.c:plD_gd_optimise(), makes the unknown symbol > error to disappear, but the seg fault still happens: > > [jcard@feup] ./x01c -dev png -o po.png > Plplot library version: 5.1.0 > Opened po.png > Segmentation fault I have now fixed this problem (but not the macro problem which I am leaving to Andrew for final decision since I don't know whether or not that macro would actually work with libgd 1.8.4 with -drvopt optimise). But if you cv= s update and work around the gdImagePalettePixel problem by adding the macro, I think you will find the above problem will be gone. BTW, Andrew, I have just checked your recent changes, and eveything seems to be fine; x08c gives good results with no drvopt and with -drvopt text,smooth,24bit and -drvopt text,smooth. Alan |