[Plplot-devel] Error in gd.c when compiling plplot-5.7.3 on Debian/Etch
Hello, When I compile on a genuine Debian/Etch I get the following error gd.c: In function 'plD_init_png_Dev': gd.c:432: error: 'smooth_text' undeclared (first use in this function) gd.c:432: error: (Each undeclared identifier is reported only once gd.c:432: error: for each function it appears in.) which I supersede by moving the declaration of smooth_text outside the #ifdef..#endif blocks at lines 368 and 562 : static int smooth_text=1; #ifdef HAVE_FREETYPE static int freetype=1; #static int smooth_text=1; FT_Data *FT; #endif I guess it is not the good way... Any advice ? -- Cordialement Dominique MICOLLET Email : [EMAIL PROTECTED] Universite de Bourgogne 9, Avenue Alain SAVARY BP 47870 Tel : +33/(0)3-80-39-59-27 21078 DIJON CEDEX FRANCETfx : +33/(0)3-80-39-68-69 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel
Re: [Plplot-devel] Error in gd.c when compiling plplot-5.7.3 on Debian/Etch
On 2007-07-04 18:01+0200 Dominique MICOLLET wrote: Hello, When I compile on a genuine Debian/Etch I get the following error gd.c: In function 'plD_init_png_Dev': gd.c:432: error: 'smooth_text' undeclared (first use in this function) gd.c:432: error: (Each undeclared identifier is reported only once gd.c:432: error: for each function it appears in.) which I supersede by moving the declaration of smooth_text outside the #ifdef..#endif blocks at lines 368 and 562 : static int smooth_text=1; #ifdef HAVE_FREETYPE static int freetype=1; #static int smooth_text=1; FT_Data *FT; #endif I guess it is not the good way... Any advice ? I am not sure, but I think the above problem has been fixed in the svn version. Could you try that please? It does change from one day (or week) to the next, but we almost always leave it in a stable state. Instructions for retrieving the svn version at http://sourceforge.net/svn/?group_id=2915 . Instructions for building (using the preferred CMake build system) at http://www.miscdebris.net/plplot_wiki/ . 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 __ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel
Re: [Plplot-devel] Cookbook for implementing the remaining Ada examples
On 2007-07-04 09:12-0700 Alan W. Irwin wrote: If you want to help with this effort of implementing the traditional Ada examples, please let the list know exactly which ones you are working on so there is no duplication of effort. For example, I am currently working on x02a.adb. Which is now done. It took a bit of thrashing around (I didn't realize Ada rounded when converting from floating point to integer) to get exact agreement with the result for example 2 created with the C implementation, but eventually I got there. One thing revealed by this example is our Ada bindings were much too conservative about the allowed range of plcol0 indices. I changed that from 0..15 to the much more reasonable 0..255. Example 2 uses 116 different cmap0 indices, but some users may want more. I chose to limit the range in the bindings to 0..255 since that corresponds to 24 bits total for r, g, and b and is more than adequate to handle example 2. Jerry, please review and correct any strange things I did in Ada for x02a.adb. 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 __ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel