On 2010-06-20 21:03+1000 Sisyphus wrote:

>
> ----- Original Message -----
> From: "Sisyphus" <[email protected]>
>
>> It's looking to me, however, that it will require far too
>> much work to achieve the desired plplot functionality using static libs -
>> and that I should just go with the dll's.
>
> Having said that, I tried (for the first time, I think) building
> plplot-5.9.6 without the
> '-DBUILD_SHARED_LIBS=OFF' option.
>
> After copying the relevant dll's and the entire contents of the 'data'
> directory to 'dynbuild/examples/c' when I try to execute one of the demo
> executables I get (eg) :
>
> ###############################
> C:\_32\comp\plplot-5.9.6\dynbuild\examples\c>x29c.exe
>
> Plotting Options:
> < 1> wingcc     Win32 (GCC)
> < 2> ps         PostScript File (monochrome)
> < 3> psc        PostScript File (color)
> < 4> xfig       Fig file
> < 5> null       Null device
> < 6> mem        User-supplied memory device
> < 7> svg        Scalable Vector Graphics (SVG 1.1)
> < 8> pdfcairo   Cairo PDF Driver
> < 9> pscairo    Cairo PS Driver
> <10> svgcairo   Cairo SVG Driver
> <11> pngcairo   Cairo PNG Driver
> <12> extcairo   Cairo External Context Driver
> <13> wincairo   Cairo Microscoft Windows Driver
>
> Enter device number or keyword: 1
> Unable to load driver: wingcc.
>
> *** PLPLOT ERROR, IMMEDIATE EXIT ***
> Unable to load driver
> Program aborted
>
> ###############################
>
> It doesn't matter which device I select, I get (essentially) the same "***
> PLPLOT ERROR, IMMEDIATE EXIT ***" error.
>
> What needs to be done here ?

In an initially empty build directory do the normal cmake with
-DBUILD_TEST=ON.

Put the dll subdirectory of your build directory on your PATH (since that
is where all dll's will reside for Windows systems).

Then run the "all" target with whatever build tool you have decided to
use with the cmake -G option.  If that is "MinGW Makefiles", then the
command is simply "make all" or "make".  This builds everything including
all examples.

After that, all examples should just work.  At least that is my experience
for MinGW under the Wine version of Windows.

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
__________________________

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Plplot-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to