On 2010-05-07 08:54+0200 Arjen Markus wrote:

> Hello all,
>
> I have done some tests wrt the strange error messages I got
> from test-drv-info yesterday. It turns out that the program
> is issuing an error code -1073741515 (completely nonsensical
> of course) when it can not find the driver - the PATH environment
> variable does not contain the directory containing the driver DLLs.

It appears to me there is a good possibility you discovered a build-system
issue here.  If your PATH did not contain the directory where the driver
DLL's are located, how come this was not an issue for running the examples
in the build tree?

In other words, is the build system doing the right thing with regard to the
driver PATH for running build-tree examples for MinGW, but not for running
test-drv-info?

Even if there is a mundane explanation for your puzzling results (such as
you had the wrong PATHs set for running test-drv-info, but you corrected
that afterward for running the examples in the build tree), it appears to me
we could make life substantially easier for those using the MinGW platform.

Anyhow, there is a lot of power in CMake to make life easy for builders
on all platforms.  Let's use that power rather than demanding workarounds
from our users such as adding extra paths when CMake might give us
a better solution automatically.

Assuming you do come up with a build-system fix to make life easier for our
MinGW users, please think as generally as possible.  For example, try to
make the fix so that MinGW/MSYS, Cygwin, and bare Windows users benefit as
well as MinGW users.

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

Reply via email to