From: Werner S. <sm...@ia...> - 2008-12-10 11:54:33
|
Hi Hans, I just commited a change to svn, although I couldn't test it. Anyway, I think there was a function definition still not encompassed by the correct #ifdef/#endif code. Either check out the latest svn or change the following lines in drivers/gd.c: from line 233 on: int plToGdAlpha( PLFLT a ) { int tmp = (int)((1.0-a)*gdAlphaMax); return tmp; } to #if GD2_VERS >= 2 int plToGdAlpha( PLFLT a ) { int tmp = (int)((1.0-a)*gdAlphaMax); return tmp; } #endif Let us know if this works for you, since nobody here still has gd 1.8. Thanks, Werner On 10.12.2008, at 11:44, <Han...@sh...> <Han...@sh... > wrote: > Andrew, > > I just downloaded the 5.9.0 release and get the same error about the > alpha channel again. Did the fix not make it into this release and > if not in which release will it be ? > > Thanks, > Hans > > -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: sm...@ia... web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office), +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1-58801-13499 |