From: <Han...@sh...> - 2008-12-10 12:03:59
|
Werner, I already updated the code to do what you just described and that works fine for me. Hopefully we will get rid of these older OS's at the end of the year (but you never know), so then the problem won't be there anymore. Thanks for the quick response, Hans -----Original Message----- From: Werner Smekal [mailto:sm...@ia...] Sent: Wednesday, December 10, 2008 12:33 To: Rijneke, Hans H SIEP-EPT-RIS Cc: and...@us...; plp...@li... Subject: Re: [Plplot-general] Installation problem on Linux RH3 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 |