From: Venkata S. G. <sub...@ya...> - 2009-04-02 09:10:03
|
Hi Wener, We just replaced _stdcall to __stdcall in gd.h source code and make command works fine. We have set the background color of plstream to white but the background color of generated images are in black. How can we change the background color of generated images ? Thanks Subrahmanyam --- On Thu, 4/2/09, Werner Smekal <sm...@ia...> wrote: From: Werner Smekal <sm...@ia...> Subject: Re: [Plplot-devel] Failed to enable gd driver To: sub...@ya... Cc: plp...@li... Date: Thursday, April 2, 2009, 1:27 PM Hi Subrahmanyam, what did you do exactly? Regards, Werner On 02.04.2009, at 09:38, Venkata Subrahmanyam Gurram wrote: > Hi Arjen, > > Thanks for your reply. We enabled the gd driver. > > > Thanks > Subrahmanyam > > --- On Thu, 4/2/09, Arjen Markus <arj...@de...> wrote: > From: Arjen Markus <arj...@de...> > Subject: Re: [Plplot-devel] Failed to enable gd driver > To: sub...@ya... > Cc: plp...@li... > Date: Thursday, April 2, 2009, 12:22 PM > > Hello Venkata, > > from the error messages you posted earlier I conclude that > there is a mismatch in the interpretation of the _stdcall > macro/attribute. A bit strange: the usual macro/attribute > name is __stdcall. > > It is used in gd.h and if you look in that file you will > see > that it is the usual "Windows DLL dance" - I take the expression > from that file. > > I think _stdcall is a mistake, it should be __stdcall. What happens > if you change it? > > Regards, > > Arjen > > > On 2009-04-02 08:20, Venkata Subrahmanyam Gurram wrote: > > > > Hi Alan, > > > > I think the problem in libgd library(gd.h include file). It is > working fine for VC++ compiler not for Borland c++ compiler. > > > > function declartion as > > BGD_DECLARE(int) gdAlphaBlend (int dest, int src); > > > > > > Thanks > > Subrahmanyam > > > > --- On *Thu, 4/2/09, Alan W. Irwin /<ir...@be...>/* > wrote: > > > > From: Alan W. Irwin <ir...@be...> > > Subject: Re: [Plplot-devel] Failed to enable gd driver > > To: "Venkata Subrahmanyam Gurram" > <sub...@ya...> > > Cc: > plp...@li... > > Date: Thursday, April 2, 2009, 11:21 AM > > > > On 2009-04-01 21:27-0700 Venkata Subrahmanyam Gurram > > wrote: > > > > > Hi Alan, > > > > Thanks for your reply. I am sure we are using the > latest > > > > gd-latest-win32.zip file. Following is the output of > make command with > > optio > > > n VERBOSE=1. > > > D:\plplot-5.9.1\plplot-5.9.1\buildnmake>make > VERBOSE=1 > > > > Hi Venkata: > > > > I assume from that directory name that you are using PLplot-5.9.1. > That's > > a > > fairly old version. For tests like these it is better to use the very > > latest version that you can get from svn trunk using the svn checkout > > command, > > > > svn checkout svn > https://plplot.svn.sourceforge.net/svnroot/plplot/trunk > \ > > plplot_trunk_version > > > > where I have named the directory where it all goes, > plplot_trunk_version as a > > reminder that you are using the svn trunk version (the version we all > > develop with in preparation for our next release in about a month). > Also, I > > have told you what I would do on > > Linux, but you are on Windows so you will > > have to infer the equivalent svn checkout command there. If you > don't > > have any experience with subversion on Windows, I suggest you follow > links > > at http://sourceforge.net/scm/?type=svn&group_id=2915 to find out > about > > that. > > > > The very latest svn trunk version of PLplot may not make any > difference, but > > it is worth a try. If you still have problems with that version, then > you > > will probably have to dig further yourself to find what is > bothering > the > > Borland compiler. It will probably be something simple, but finding > it is > > the difficult part. > > > > Alan > > __________________________ > > Alan W. Irwin > > > > Astronomical research affiliation with Department of Physics and > Astronomy, > > University of Victoria (astrowww.phys.uvic.ca). > > > > Programming affiliations with the FreeEOS equation-of-state > implementation > > for stellar interiors (freeeos.sf.net); PLplot scientific plotting > > software > > package (plplot.org); the libLASi project (unifont.org/lasi); the > Loads of > > Linux Links project (loll.sf.net); and the Linux Brochure Project > > (lbproject.sf.net). > > __________________________ > > > > Linux-powered Science > > __________________________ > > > > > > > > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------------ > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Plplot-devel mailing list > > Plp...@li... > > https://lists.sourceforge.net/lists/listinfo/plplot-devel > > > Delft Hydraulics, GeoDelft, the Subsurface and Groundwater unit of TNO and > parts of Rijkswaterstaat have joined forces in a new independent institute for > delta technology, Deltares. Deltares combines knowledge and experience in the > field of water, soil and the subsurface. We provide innovative solutions to make > living in deltas, coastal areas and river basins safe, clean and sustainable. > > > DISCLAIMER: This message is intended exclusively for the > addressee(s) and may > contain confidential and privileged information. If you are not the intended > recipient please notify the sender immediately and destroy this message. > Unauthorized use, disclosure or copying of this message is strictly prohibited. > The foundation 'Stichting Deltares', which has its seat at Delft, The > Netherlands, Commercial Registration Number 41146461, is not liable in any way > whatsoever for consequences and/or damages resulting from the improper, > incomplete and untimely dispatch, receipt and/or content of this e-mail. > > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Plplot-devel mailing list > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-devel -- 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 |