Hi Alan,

> -----Original Message-----
> From: Alan W. Irwin [mailto:[email protected]]
> Sent: Monday, September 16, 2013 5:07 PM
> To: Arjen Markus
> Cc: [email protected]
> Subject: Re: [Plplot-devel] Cygwin - for the next release?
>
> 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.

Ah, yes, that stuff was in a separate library. Looking for "svg" brought up two 
Qt4 packages
that hold it.

>
> > 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).
>

Yes, several other device drivers were loaded successfully. I have not run the
test_noninteractive target yet. (That is running right now)

> > 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.
>

Turning off the cairo devices made the build process succeed and ... eh presto!
We have Qt4 on Cygwin.

Just a few minor oddities:

- The X Window device is extraordinarily slow - normally the four plots of 
example 1 are
  shown immediately, but now I saw each line segment being drawn. I do not know 
where
  this coming from.

- The extqt device caused a segmentation fault after printing the message that 
you need to
  call plsetqtdev()  before plinit(). I have no idea what this external device 
is, I assumed it
  would be X Window.

I can not check Andrew's update for the cairo device (the DISPLAY name) yet, as 
I had to
turn that off. If I turn off the dynamic drivers that ought to be okay again.

Regards,

Arjen



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.

------------------------------------------------------------------------------
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