From: Arjen M. <arj...@de...> - 2011-06-06 07:27:30
|
Hi Alan, (back after a long weekend) See my comments below. On 2011-06-04 21:26, Alan W. Irwin wrote: ... > > Unless and until we can find a fix for later versions of MinGW and Qt, > I am very glad to hear that the combination of MinGW from Qt 4.5.3 and > Qt 4.5.3 builds for you. I would stick with that combination for now > (since I doubt > that the 4.5.3 MinGW version that passed the simple build test with > Qt 4.7.3 will pass more extensive testing with Qt 4.7.3). > When I built PLplot with Qt support I used the version of Qt that is installed via an executable "Qt_SDK_Win_online_v1_1_1_en.exe. This apparently downloads the stuff that is required on the fly. The installation on my machine has version 4.7.3. To build PLplot I used the following path to Qt: c:\QtSDK\Desktop\Qt\4.7.3\mingw\bin From the build files produced by CMake I do not see much that comes from that directory other than Qt libraries and include files (and utilities like qmake). So I wonder why the MinGW version is important ... Regards, Arjen > In the past here is how I have tested PLplot under wine. > > Put the dll subdirectory of the top-level build directory (where all > the build-tree dll's are automatically collected for the Windows > platform case) on your PATH, put MSYS _last_ on your PATH, use the > "MSYS Makefiles" cmake generator, and use the -DBUILD_TEST=ON option > for cmake. Our test system requires a modern bash which is > why I suggested putting MSYS (which supplies a modern bash for > windows) on your PATH. The "MSYS Makefiles" cmake generator enables > cmake to generate make files that also depend on the msys version of > bash as well as other msys applications. > > Then run > > make VERBOSE=1 test_noninteractive >& make_test_noninteractive.out > make VERBOSE=1 test_interactive >& make_test_interactive.out > > The former tests essentially all non-interactive devices (including the > qt ones). The latter will display lots of interactive results on your > desktop > (including the qt ones). > > For the test_interactive target, we are most interested in any errors > showing up in make_test_interactive.out so our test systems uses the > -np PLplot option to remove the pause between pages for most examples > so you don't have to interact with them. However, that option does > not yet work for all test examples so you might have to do some > clicking (and sometimes just hitting the enter key) to get through a > subset of the interactive examples. > > There is one caveat to the above for the present case. I am a bit > concerned about how a modern MSYS will interact with the older MinGW > versions you tend to get with Qt. However, I used objdump -p (I don't > have access to the Cygwin version of ldd yet) to show that bash.exe > supplied by MSYS has no MinGW dll dependencies. So I think the above > MSYS-dependent steps will work for you even when you are using a Qt > version of MinGW. > > Assuming the above tests work well, then the VERBOSE option tells you > all the compile and link options that you need to get any application > to work with PLplot. > > Thanks again for all your testing help, and in the weeks ahead I hope > one of the PLplot developers with access to Windows (maybe even me > with wine) can come up with a solution for MinGW and Qt versions later > than those associated with Qt 4.5.3. > > 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 > __________________________ > DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited. The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail. |