On 2013-09-16 11:55-0000 Arjen Markus wrote:

> I have installed the development libraries and now I do have a
qmake.exe plus a lot of other Qt-related items. CMake recognises it
and turns on the Qt device drivers. I had to turn off the svgqt device
though, as there is no QSVGgenerator header file in my present
installation.

Things appear to be moving quite rapidly for Cygwin.  If you check the
http://cygwin.com/packages search box for qmake.exe, the package found
is libQtCore4-devel-4.8.5-1, i.e., you should upgrade your present
installation so that all Qt packages are version 4.8.5-1. Furthermore,
a search for qsvggenerator.h finds libQtSvg4-devel-4.8.5-1.  So if you
follow the upgrade of all your Qt packages to version 4.8.5-1 with an
installation of libQtSvg4-devel-4.8.5-1, then the PLplot svgqt device
(which is actually a pretty important device since it produces
human-readable files which are useful not only for plotting vector
graphics but also for debugging purposes) should become available.

> However, in the process of achieving this I had to install libtool
and libltdl and that has now turned up another issue. The cairo driver
causes a problem when building the driver information:

>
> [ 20%] Built target test_qt_dyndriver

That is excellent news that test_qt_dyndriver built without issues.
That and the other good results for test_<driver_name>_dyndriver that
you presumably get means that your new libltdl is probably working OK
in general, but that needs to be confirmed using the test_noninteractive
target (see below).

> Scanning dependencies of target test_cairo_dyndriver
> [ 21%] Generating test_dyndrivers_dir/cairo.driver_info
> Could not open driver module cairo
> libltdl error: %1 is not a valid Win32 application.
> drivers/CMakeFiles/test_cairo_dyndriver.dir/build.make:55: recipe for target 
> `drivers/test_dyndrivers_dir/cairo.driver_info' failed
> make[2]: *** [drivers/test_dyndrivers_dir/cairo.driver_info] Error 1
> CMakeFiles/Makefile2:2654: recipe for target 
> `drivers/CMakeFiles/test_cairo_dyndriver.dir/all' failed
> make[1]: *** [drivers/CMakeFiles/test_cairo_dyndriver.dir/all] Error 2
> Makefile:146: recipe for target `all' failed
> make: *** [all] Error 2
>
> I will continue to search for the cause (some DLL missing?), but this is the 
> status so far.

I suggest you might want to drop cairo temporarily and push ahead with
full tests (test_noninteractive target) of all other PLplot components
including qt just to confirm all is well with the noninteractive
devices (except for the cairo ones) and also the new libltdl. Then
move back to cairo and do the usual build-system debugging steps to
find out what the issue might be with the cairo device driver. Those
steps are to use the VERBOSE=1 option to find out the relevant linking
command and the relevant run-time test that failed.  Then running
those exact same commands by hand to verify the issue and ultimately
change the link command to fix it.  Then modifying the build system to
follow whatever fix you found worked when running everything by hand.

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); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); 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
__________________________

------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to