On 2007-10-29 19:07+0100 Arjen Markus wrote: > Hi Alan, > > I won't keep in suspense: dynamic drivers work when I rename > the .so file to .dll! > > However, there is a small caveat: > > For get-drv-info to do its job, the path/ld_library_path > must be extended or the cygplplotd-9.3.0.dll and cygcsirocsa-0.0.1.dll > copied into the drivers directory. > > I did that manually and then example produced a list > of the two PostScript drivers. > > So: indeed, dynamic drivers on Cygwin are possible!
Excellent news indeed. However, there is a bit more to do to finish this off. I have changed the suffix of dynamic drivers to .dll in the Cygwin case for revision 7989. Could you please finish the experiment with this revision? That is set LD_LIBRARY_PATH, do the complete build again, then finish with the installed examples build and running the installed examples to make sure they work? You should point LD_LIBRARY_PATH to the install location of the libraries before doing that installed examples test since you want to test the installed libraries and not the build-tree libraries. Also, please make the appropriate comments about setting LD_LIBRARY_PATH for the build case and the installed examples run for the Cygwin dynamic device case in the wiki. >From looking at your detailed make.out results and also those of Hiroyasu, rpath is not automatically being set in the build tree for Cygwin which is why you have to set LD_LIBRARY_PATH to get get-drv-info to work properly. That also means that ctest (our build-tree test scheme) will not work on Cygwin without setting LD_LIBRARY_PATH to a colon-separated list of the appropriate build-tree directories. Finally, from Hiroyasu's make-install.out, rpath is also not being set for the installed libraries (which is why you will have to set LD_LIBRARY_PATH to the installed location of the libraries to get the installed and built examples to actually run). I plan to post to the CMake list asking why rpath is not being set in either the build tree or install tree for the Cygwin platform. 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: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel