Hi,

accidentally I found out, that the gtk+ team releases an "official" 
Windows bundle of their gtk libraries on their website and this makes it 
very easy to develop for gtk on Windows (before you had to download 
packages for every single library). I downloaded and tested their 
all-in-one bundle, and the cairo drivers (pdf, svg, png, ps) work out of 
the box, without problems. Here are the instructions:

Cairo driver in Windows or using gtk+ for plplot on Windows
========================================================

1) Download the all-in-one bundle of the GTK+ stack including 3rd-party 
dependencies for windows:
http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.12/gtk+-bundle-2.12.9.zip 
available from http://www.gtk.org/download-windows.html.
2) Expand the package to a directory, e.g. C:\Development\gtk
3) Set environment variables so that CMake can find pkf-config
   set PKG_CONFIG_PATH=C:\Development\gtk\lib\pkgconfig
   set PATH=C:\Development\gtk\bin;%PATH%
4) CMake will find pkg-config and all the libraries necessary to build 
the pdfcairo, pscairo, pngcairo and svgcairo devices. xcairo will not be 
built since the X-Headers are not present.

That's it! I will add this instructions to the Wiki.

Best Regards,
Werner

-- 
Dr. Werner Smekal
Institut fuer Allgemeine Physik
Technische Universitaet Wien
Wiedner Hauptstr 8-10
A-1040 Wien
Austria

email: [EMAIL PROTECTED]
web:   http://www.iap.tuwien.ac.at/~smekal
phone: +43-(0)1-58801-13463 (office)
        +43-(0)1-58801-13469 (laboratory)
fax:   +43-(0)1-58801-13499

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to