On 2008-04-08 21:36-0400 [EMAIL PROTECTED] wrote:

> Hi,
>
> I am a plplot newbuy, have just installed it to my Kubuntu machine from
> the  repository. I could not find in the documentation a single example of
> how to compile and link a program that uses plplot. My attempts to compile
> some test codes by guessing right library names and paths with the aid of
> pkg-config did not lead to any success.
>
> Could someone provide me with compiling and linking examples that are
> known work on Linux with gcc/g++/g77/gfortran?

Hi Piotr:

We have lots of fortran (and other language) examples.  For Debian they are
in a package called libplplot-dev.  I am pretty sure that kubuntu uses that
same package name since it is a Debian derivative. Once you install that
package, then look for fortran examples _and a Makefile to build them_ in
either/both /usr/share/doc/libplplot9/examples/f77
/usr/share/doc/libplplot9/examples/f95.

Alternatively, build and install your own PLplot (including all our fortran
examples) following the directions in our wiki.

Good luck, and thanks for your interest in PLplot.

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 the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to