On 2007-06-10 00:43-0400 Hazen Babcock wrote:

>
> On Jun 4, 2007, at 9:17 PM, Hazen Babcock wrote:
>
>> On Jun 3, 2007, at 7:30 PM, Alan W. Irwin wrote:
>>>
>>> That is correct.  The way this is taken care of for the png device
>>> (as well
>>> as jpeg and gif) for gd.c is to use the normal PLplot familying
>>> facility
>>> (see
>>> http://plplot.sourceforge.net/docbook-manual/plplot-html-5.7.3/
>>> output-devices.html#familying).
>>> It's a bit tricky to set up, but if you follow what is done for
>>> gd.c, you
>>> should be fine.  I thought you might have inadvertently set up
>>> familying
>>> already simply by following what is done in gd.c, but apparently
>>> not since
>>> the -fam command-line option only gives the same last page of
>>> example 8 that
>>> you get without the option.
>>
>> Ok. I'll implement this approach.
>
> The -fam option should now work with pngcairo.

Hi Hazen:

Your latest svn commit has a syntax error (as well as additional warnings)
in cairo.c on my Ubuntu Dapper system.

/usr/bin/gcc  -Dcairo_EXPORTS   -fPIC
-I/home/software/plplot_cvs/HEAD/plplot_cmake/include
-I/home/software/plplot_cvs/HEAD/build_dir
-I/home/software/plplot_cvs/HEAD/build_dir/include   -DHAVE_CONFIG_H
-I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include /usr/include /usr/include -o
drivers/CMakeFiles/cairo.dir/cairo.o   -c
/home/software/plplot_cvs/HEAD/plplot_cmake/drivers/cairo.c

/home/software/plplot_cvs/HEAD/plplot_cmake/drivers/cairo.c: In function â
dy_xcairoâ:
/home/software/plplot_cvs/HEAD/plplot_cmake/drivers/cairo.c:796: error:
syntax error before â token
/home/software/plplot_cvs/HEAD/plplot_cmake/drivers/cairo.c: In function â
it_pdfcairoâ:
/home/software/plplot_cvs/HEAD/plplot_cmake/drivers/cairo.c:934: warning:
assignment makes pointer from integer without a cast
/home/software/plplot_cvs/HEAD/plplot_cmake/drivers/cairo.c: In function â
it_pscairoâ:
/home/software/plplot_cvs/HEAD/plplot_cmake/drivers/cairo.c:1007: warning:
assignment makes pointer from integer without a cast
/home/software/plplot_cvs/HEAD/plplot_cmake/drivers/cairo.c: In function â
it_svgcairoâ:
/home/software/plplot_cvs/HEAD/plplot_cmake/drivers/cairo.c:1083: warning:
assignment makes pointer from integer without a cast

The syntax error on line 796 is a showstopper.  It is caused by a svn
conflict that you have to resolve yourself.

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

Reply via email to