Hi Walt, Alan,

Just informing the list about the progress:
I can reproduce the phenomena Walt reported - the cairo devices are not 
included in the build.

As to why this is happening is still a mystery to me. I thought installing 
packages like pango would help, but sofar it does not.

Continuing the search ...

Regards,

Arjen

-----Original Message-----
From: Arjen Markus [mailto:arjen.mar...@deltares.nl]
Sent: Monday, April 28, 2014 10:24 AM
To: Walt Brainerd
Cc: plplot-general@lists.sourceforge.net
Subject: Re: [Plplot-general] Including cairo driver

Hi Walt,

I will have to investigate this further, which may be both hindered and helped 
by the fact that I had to reinstall my computer (sigh), but one thing that I 
noticed is that the PKG_CONFIG_PATH is set up according to the native Windows 
format.

Could you try with:

set PKG_CONFIG_PATH=/cygdrive/c/walt:/cygdrive/c/FortranTools/gtk/lib/pkgconfig

(Or within Cygwin: setenv ....)

While I am not at all sure this is the problem, it is definitely something to 
look into - Cygwin normally likes the UNIX better.

As for the generator: yes, use "UNIX Makefiles". Not sure again if it matters, 
but just to exclude possible problems later on.

Regards,

Arjen

-----Original Message-----
From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca]
Sent: Saturday, April 26, 2014 12:58 AM
To: Walt Brainerd
Cc: plplot-general@lists.sourceforge.net
Subject: Re: [Plplot-general] Including cairo driver

On 2014-04-25 11:17-0700 Walt Brainerd wrote:

> I have built plplot for the first time and successfully run most of
> the Fortran examples by selecting the wingcc option. Very nice stuff!
>
> Now, I would like to run the GTK-Fortran examples that use the cairo
> driver. I looked at lots of posts and docs, but nothing I have tried
> works. In one place in the documentation, it says something like : To
> add a
> device driver, set the parameter ...   What parameter?
> Where is it set?
>
> Here is some information about what I tried. I would be happy to
> provide more, but don't really know where the problem is.
>
> Windows 7 with cygwin.
>
> cmake build command:
> C:\"Program Files (x86)"\"CMake 2.8"\bin\cmake -G "MinGW Makefiles"
> -DDEFAULT_NO_BINDINGS=ON -DENABLE_f95=ON
> -DCMAKE_INSTALL_PREFIX=install ..
>
> Here are some of the lines from the cmake output:
>
> -- SWIG was not found. Please specify Swig executable location
>   . . .
> -- checking for module 'pango'
> --   found pango, version 1.30.1
> -- WARNING: pkg-config does not find pango.
> -- checking for module 'pangoft2'
> --   found pangoft2, version 1.30.1
> -- WARNING: pkg-config does not find pangoft2.
>   . . .
> ENABLE_DYNDRIVERS:      ON
> DRIVERS_LIST: mem;null;ps;svg;wingcc;xfig
> DEVICES_LIST: mem;null;ps;svg;wingcc;xfig
>
> Library options:
> BUILD_SHARED_LIBS:      ON              PL_DOUBLE:      ON
> =======================================
> The six drivers in DRIVERS_LIST show up in driversd.
>
> More info:
>
> $ echo $PKG_CONFIG_PATH
> C:\walt;C:\FortranTools\gtk\lib\pkgconfig
>
> Walt@HP_Laptop/cygdrive/c/walt/FortranTools51/Src/Plplot/plplot-5.10.0
> /build $ ls /cygdrive/c/FortranTools/gtk/lib/pkgconfig
> atk.pc            cairo-svg.pc         gdk-3.0.pc
> gmodule-export-2.0.pc     libffi.pc       pango.pc
> cairo-fc.pc       cairo-win32-font.pc  gdk-pixbuf-2.0.pc
> gmodule-no-export-2.0.pc  liblzma.pc      pangocairo.pc
> cairo-ft.pc       cairo-win32.pc       gdk-win32-3.0.pc    gobject-2.0.pc
>         libpng.pc       pangoft2.pc
> cairo-gobject.pc  cairo.pc             gio-2.0.pc          gthread-2.0.pc
>         libpng15.pc     pangowin32.pc
> cairo-pdf.pc      fontconfig.pc        gio-windows-2.0.pc  gtk+-3.0.pc
>          librsvg-2.0.pc  pixman-1.pc
> cairo-png.pc      freetype2.pc         glib-2.0.pc
> gtk+-win32-3.0.pc         libtiff-4.pc    zlib.pc
> cairo-ps.pc       gail-3.0.pc          gmodule-2.0.pc      libcroco-0.6.pc
>          libxml-2.0.pc
>
> Walt@HP_Laptop/cygdrive/c/walt/FortranTools51/Src/Plplot/plplot-5.10.0
> /build
> $ pkg-config --libs pango
> -LC:/FortranTools/gtk/lib -lpango-1.0 -lm -lgobject-2.0 -lglib-2.0
> -lintl
>
> Walt@HP_Laptop/cygdrive/c/walt/FortranTools51/Src/Plplot/plplot-5.10.0
> /build
> $ pkg-config --libs cairo
> -LC:/FortranTools/gtk/lib -lcairo
>
> =============================================
> Do I need SWIG?

Only if you are interested in Python, Java, Octave, or Lua.

> Why does it say it can't find pango when it just said it *did* find
> pango?

That definitely should not happen so I suspect there is something wrong with 
the way you are using CMake or the version of CMake that you are using.

I don't have any experience with Cygwin.  Arjen is our expert for that platform 
so I assume he will correct anything I say once he becomes aware of this thread 
(probably next week since he rarely looks at PLplot mailing lists on weekends). 
 But until he can give definitive replies to your questions, my guess is you 
are not using the correct generator for Cygwin.  If I recall correctly what 
Arjen did, I think you should be using the "Unix Makefiles" generator instead. 
Also, one other Cygwin-related tip I happen to be aware of is make sure you are 
using a cmake version that is installed from the Cygwin site rather than a 
native Windows version of cmake that you can download from the Kitware site but 
which does not work correctly on Cygwin.

In general, Arjen, has gotten most of PLplot to work without issues on Cygwin 
so if those two suggestions don't help, don't give up, and I am sure that Arjen 
will eventually be able to help you.

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
__________________________

------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform Build your Enterprise 
Intranet with eXo Platform Software Java Based Open Source Intranet - Social, 
Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A 
Collaboration Platform http://p.sf.net/sfu/ExoPlatform 
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general
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.

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE 
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general
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.

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to