On Wed, Mar 04, 2009 at 01:12:03PM -0600, Thomas Stover wrote:
> 
> >>
> >> -Anyway, example1 runs on my windows machine with this errorish 
> >> condition:
> >> *** PLPLOT ERROR, ABORTING OPERATION ***
> >> plInitDispatchTable: Could not open drivers directory, aborting 
> >> operation
> >> PLplot library version: 5.9.2
> >> got here -- 0
> >
> > You are using the dynamic drivers and it is unable to open the 
> > directory where the driver information is. Look at the function 
> > plGetDrvDir(). As long as you are not in the build tree (determined by 
> > plInBuildTree()) you should be able to set the environment variable 
> > PLPLOT_DRV_DIR to let PLplot find the *.rc files (for every dynamic 
> > driver there is a .rc file).
> >
> >
> > HTH,
> > Werner
> ======= session from "workstation" 2008 
> (http://www.win2008workstation.com/wordpress/)
> 
> C:\Users\thomas\Desktop\cmake-plplot>set PLPLOT_DRV_DIR=./
> 
> C:\Users\thomas\Desktop\cmake-plplot>x01c.exe
> PLplot library version: 5.9.2
> got here -- 0
> 
> Plotting Options:
> 
> Enter device number or keyword: [ctrl-c]
> 
> C:\Users\thomas\Desktop\cmake-plplot>dir
>  Volume in drive C has no label.
>  Volume Serial Number is FACF-4976
> 
>  Directory of C:\Users\thomas\Desktop\cmake-plplot
> 
> 03/04/2009  01:05 PM    <DIR>          .
> 03/04/2009  01:05 PM    <DIR>          ..
> 03/03/2009  04:07 PM           136,699 cairo.dll
> 03/03/2009  04:07 PM                 0 cairo.rc
> 01/06/2009  02:32 PM           781,961 libcairo-2.dll
> 03/03/2009  03:24 PM            50,384 libcsirocsa.dll
> 01/06/2009  02:32 PM           295,457 libgobject-2.0-0.dll
> 01/06/2009  02:32 PM           321,611 libpango-1.0-0.dll
> 01/06/2009  02:32 PM            78,785 libpangocairo-1.0-0.dll
> 03/03/2009  03:24 PM           432,714 libplplotd.dll
> 01/06/2009  02:32 PM           182,015 libpng12-0.dll
> 03/03/2009  03:24 PM            44,580 libqsastime.dll
> 03/03/2009  03:24 PM           146,418 ps.dll
> 03/03/2009  04:09 PM                 0 ps.rc
> 03/03/2009  04:10 PM            38,346 x01c.exe
> 01/06/2009  02:32 PM            55,808 zlib1.dll
>               14 File(s)      2,564,778 bytes
>                2 Dir(s)  424,359,665,664 bytes free
> 
> C:\Users\thomas\Desktop\cmake-plplot>set 
> PLPLOT_DRV_DIR=C:\Users\thomas\Desktop\cmake-plplot
> 
> C:\Users\thomas\Desktop\cmake-plplot>x01c.exe
> PLplot library version: 5.9.2
> got here -- 0
> 
> Plotting Options:
> 
> Enter device number or keyword: [ctrl-c]
> 
> C:\Users\thomas\Desktop\cmake-plplot>echo %PLPLOT_DRV_DIR%
> C:\Users\thomas\Desktop\cmake-plplot
> 
> ==============
> 
> How about setting a hard coded path? How should I try that?

Agh! I think the problem might be that the .rc files are blank.
Just as a test could you try addding the following to cairo.rc
(include only the lines referring to the drivers you have)

xcairo:Cairo X Windows Driver:1:cairo:59:xcairo
pdfcairo:Cairo PDF Driver:0:cairo:60:pdfcairo
pscairo:Cairo PS Driver:0:cairo:61:pscairo
svgcairo:Cairo SVG Driver:0:cairo:62:svgcairo
pngcairo:Cairo PNG Driver:0:cairo:63:pngcairo

Also might be useful to add the following to ps.rc (this driver
will work without any external libraries so is a good test).

ps:PostScript File (monochrome):0:ps:29:psm
psc:PostScript File (color):0:ps:30:psc

Then repeat your above tests.

Any difference?

Andrew

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to