-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Alan,
On 5/9/10 5:13 PM, Alan W. Irwin wrote: > On 2010-05-09 09:36+0200 Werner Smekal wrote: > >> The problem is, that in Windows dlls must either be in the same >> directory as the executable (so test-drv-info must be in this directory >> as well), or the PATH is set accordingly (this can't be set by cmake, >> since the changes of cmake to the environment variables only last as >> long cmake runs - so the changes are not anymore during compile time) or >> if the dlls are in on of the system directories (no option). > > But test-drv-info is located in the same build-tree drivers subdirectory as > the plug-in device drivers that it is testing. For example, here is > the story on Linux for xwin: Not for Windows: all dlls (whereever they come from) are in the dll directory, while test-drv-info is as you say in the drivers directory. I hope I have more time tomorrow to have a look at it. Regards, Werner > > softw...@raven> ls /home/software/plplot_svn/HEAD/build_dir/drivers/xwin.so > /home/software/plplot_svn/HEAD/build_dir/drivers/xwin.so* > > This is the relevant fragment of the the output from "make VERBOSE=1 > test_dyndrivers" > > cd /home/software/plplot_svn/HEAD/build_dir/drivers && ./test-drv-info xwin >> /home/software/plplot_svn/HEAD/build_dir/drivers/test_dyndrivers_dir/xwin.rc > > So according to your dll location criteria above, all should be well for > finding the device-driver plug-ins. > > I guess there is a possibility that on the Windows side of things > test-drv-info is not being executed in the build-tree drivers subdirectory > or the dynamic device plug-ins are not located there. Could you please check > that? > > I am now also wondering if there is some issue with ltdl_win32.c (the > special code you wrote to dynamically load devices on Windows) such that it > does not find the plug-in when it is in the same directory. Could you > check that as well? > > I will also check both those issues for MinGW/MSYS on Wine, but that > may be a special case so checking on a "real" windows platform would be > a good idea as well. > > N.B. Remember that for such checking the test_dyndrivers target is only > executed if you run it explicitly, or run the all or install targets. I plan > to improve dependencies so that if you build a device it will get > immediately checked by test-drv-info, but that hasn't happened yet. > > 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 > __________________________ > > ------------------------------------------------------------------------------ > > _______________________________________________ > Plplot-devel mailing list > Plplot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/plplot-devel - -- Dr. Werner Smekal Institut fuer Angewandte Physik Technische Universitaet Wien Wiedner Hauptstr 8-10/134 A-1040 Wien Austria DVR-Nr: 0005886 email: sme...@iap.tuwien.ac.at (GPG: EDCAF4A79) web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office) +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1-58801-13499 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJL5w1VAAoJEG1QQcXtyvSnuBgIAJq9Lh5UKQJYakPGJXfSKM/t LhgWGsfwH0AGnGz6NUoGXBVbuScmhacCMak36h0QrBhvlkDGCEo4gQiflFb8yHyf 7TJBNcYKdYnYhvm2+61rGZFexLAMNoWyQTF5kqfhQekzN9tMHn4rlVYS8xlPxHvN SmCaixHXakWrimaEwxNYiQZ10xEuC/A7KCDpGs6yE814hfB+AFSIfy00bxn6Vnh+ wibuQEevwkTMjQQe3rxbtE2DBS0js7UqCEEnPmPX7Tcljfl8tFn5VUBR6aaAsC0f /IkuzXN0JdFCuxsQy0G6YRfchn3W+rmcsMOcNs2IJCMlbROTzIbcSxizTkfIPRo= =Jc86 -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel