Hi Walt,
I have encountered such messages myself - they are due to the PLplot start up
routines not being able to find the dynamic drivers (indeed they reside in the
DLLs in the "drivers" directory). Within the build tree, it is easy enough for
the routines to find them, but outside you may need to set the environment
variable PLPLOT_DRV_DIR.
A further problem you would encounter is the location of the fonts and some
other files. For this set the environment variable PLPLOT_LIB_ENV to the
directory containing the .fnt and .al files. (Note that default values are used
that correspond to the installation prefix, but if there is some discrepancy,
then these environment variables will help out).
A small caveat: I have not actually tried all of this just now (I scanned the
source code for the correct names), but in the not-so-distant past I had to
resort to this method, so I am confident it works. If not, let me know and I
will dive into it. Having done it before means I should be able to find it
quickly.
Regards,
Arjen
> -----Original Message-----
> From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca]
> Sent: Friday, November 28, 2014 3:44 AM
> To: Walt Brainerd
> Cc: plplot_general
> Subject: Re: [Plplot-general] Plplot on Mingw
>
> On 2014-11-27 14:30-0700 Walt Brainerd wrote:
>
> > Thanks for your usual very helpful reply.
> > I guess Canada has a different Thanksgiving Day than the US, so you
> > are tending to work as usual.
> >
> > I did most of what you said. My message was already wordy so I left
> > out that I did the build with "install" as the prefix.
> > As you saw from before, I moved all the dll and library files into one
> > directory with the f90 file for the test--and it worked.
> > That is a real puzzle. Now it doesn't. Obviously something must have
> > changed, but I can't figure out what.
> >
> > But based on your suggestions, this time I compiled the Fortran by
> > using -I to find the .mod files and explicitly linked the *.a files in
> > install/lib. It links fine. Just for completeness, here is the command
> > I used to compile.
> >
> > C:\walt\Software\Plplot\TEST_FT>type compile.bat gfortran -c
> > -I../BUILD/install/lib/fortran/modules/plplot ft_x00f.f90 gfortran *.o
> > ../BUILD/install/lib/*.a
> >
> > I have both the ...\install and the ...\install\bin directories in my
> > PATH. I still get
> >
> > *** PLPLOT ERROR, ABORTING OPERATION ***
> > plInitDispatchTable: Could not open drivers directory, aborting
> > operation
> >
> > C:\walt\Software\Plplot>echo %PATH%
> > C:\walt\Software\Plplot\BUILD\install\bin;
> > C:\walt\Software\Plplot\BUILD\install;
> > C:\walt\Software\Gfortran\mingw64\bin;C:\Program Files
> > (x86)\Cmake\bin;C:\Progra . . .
> >
> > Is it looking for the "driversd" directory? I think it is where it
> > should be at ...\install\lib\plplot5.10.0\driversd and contains 6 dlls
> > (I still am not getting all the drivers I got with Cygwin). I even
> > tried putting the driversd directory in my path--no deal.
>
> Hi Walt:
>
> There are two possibilities I can think of.
>
> 1. PLplot does not work very well if there are blanks in path names (such as
> C:\Program Files above). We have made some progress on such issues in the
> last
> year, but I suspect there are a lot more of these issues to be found and
> fixed so until
> we get that completely straightened out PLplot users should work around the
> problem by avoiding all paths with blanks in the name.
>
> 2. The "MinGW Makefiles" is not as well tested as the "MSYS Makefiles"
> generator so you might want to try the latter.
>
> Other than those two possibilities, I am pretty much out of ideas.
> This stuff just works fine on MinGW/MSYS on my Wine version of Windows (with
> the
> "MSYS Makefiles" generator and no blanks in any path names), but outside of
> automatic and extremely comprehensive PLplot testing scripts working fine on
> that
> platform (including accessing all installed devices without issues), I have
> very little
> other experience with Windows platforms.
>
> 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); the Time Ephemerides project
> (timeephem.sf.net);
> PLplot scientific plotting software package (plplot.sf.net); 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
> __________________________
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from
> Actuate!
> Instantly Supercharge Your Business Reports and Dashboards with Interactivity,
> Sharing, Native Excel Exports, App Integration & more Get technology
> previously
> reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
> _______________________________________________
> Plplot-general mailing list
> Plplot-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/plplot-general
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.
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general