On 2011-06-20 11:34+0100 Richard Jackson wrote:

> Hi Alan,
>
> I tried rebuilding plplot 5.9.7 with the latest Qt 4.7.3 and its included
> gcc 4.4.0 using the cmake option -DTEST_DYNDRIVERS=OFF and everything
> worked. It also makes and runs the qt_example.cpp ok.

qt_example.cpp may not be a sufficient test. For example, what happens
if you actually try to use one of the dynamic drivers, e.g.,

examples/c/x01c -dev qtwidget

That example is much nearer what happens for the simple dynamic driver
test invoked by specifying -DTEST_DYNDRIVERS=ON.  If the above use of
one of the qt dynamic devices works with -DTEST_DYNDRIVERS=OFF, then
can you confirm you still get a build-time error (and if so please
identify the device driver that fails) from the simple test of each of
the dynamic devices invoked with -DTEST_DYNDRIVERS=ON?  (I am asking
you to repeat this test because you appear to be having difficulty
with replicating your older results.)

>
> For the record you can't do it all in one go and have the examples built,
> you have to do the following sequence:
> cmake -G "MinGW Makefiles"  -DTEST_DYNDRIVERS=OFF -DCMAKE_INSTALL_PREFIX= ..
> mingw32-make
> followed by
> cmake -G "MinGW Makefiles"  -DTEST_DYNDRIVERS=OFF -DBUILD_TEST=ON
> -DCMAKE_INSTALL_PREFIX= ..
> mingw32-make
> which then builds all the c and c++ examples.

Strange.  I cannot replicate this issue on my Linux platform.
Starting with an empty build tree, I do just the following:

cmake [...] -DTEST_DYNDRIVERS=OFF -DBUILD_TEST=ON [...] >& cmake.out

make -j4 >& make.out

Both the captured *.out files show no errors.  Furthermore,

examples/c/x01c -dev qtwidget

and other such tests of the various C examples work without issues.

Please send your captured cmake and "make VERBOSE=1" output to me off
list for the case where you try to do everything in one go starting
with an empty build tree with the anomalous result that the examples are
_not_ built.

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
__________________________

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to