<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Configure_PLplot_for_cygwin</title><link>https://sourceforge.net/p/plplot/wiki/Configure_PLplot_for_cygwin/</link><description>Recent changes to Configure_PLplot_for_cygwin</description><atom:link href="https://sourceforge.net/p/plplot/wiki/Configure_PLplot_for_cygwin/feed" rel="self"/><language>en</language><lastBuildDate>Sun, 02 Dec 2018 20:16:29 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/plplot/wiki/Configure_PLplot_for_cygwin/feed" rel="self" type="application/rss+xml"/><item><title>Configure_PLplot_for_cygwin modified by Alan W. Irwin</title><link>https://sourceforge.net/p/plplot/wiki/Configure_PLplot_for_cygwin/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -33,7 +33,7 @@

 Note on Tk:

-Since the version of Tk that is available from the Cywin distribution uses the X11 Window System, you need to prepare the system before running CMake: 
+Since the version of Tk that is available from the Cywin distribution uses the X11 Window System, you need to prepare the system before running CMake:

 -   Start the X server:

@@ -45,6 +45,6 @@

 -   Run CMake with Tcl and Tk enabled

-Note that the wingcc device driver is also available under Cygwin just as under plain Windows. This means that you can use both device drivers, though the xwin driver requires the X Window server to be running and the wingcc driver does not require anything specific. 
+Note that the wingcc device driver is also available under Cygwin just as under plain Windows. This means that you can use both device drivers, though the xwin driver requires the X Window server to be running and the wingcc driver does not require anything specific.

 The content of this page is available under the [GNU Free Documentation License 1.2](http://www.gnu.org/copyleft/fdl.html).
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alan W. Irwin</dc:creator><pubDate>Sun, 02 Dec 2018 20:16:29 -0000</pubDate><guid>https://sourceforge.netf816d87f635b84dc48b5c2d70a2ac1f7778fa581</guid></item><item><title>Configure_PLplot_for_cygwin modified by Alan W. Irwin</title><link>https://sourceforge.net/p/plplot/wiki/Configure_PLplot_for_cygwin/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -1,3 +1,15 @@
+
+
 You need a working cygwin installation. Start cygwin and issue the following commands:

 `cd plplot`
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alan W. Irwin</dc:creator><pubDate>Thu, 01 Nov 2018 22:16:58 -0000</pubDate><guid>https://sourceforge.netfb33865ef39e3ccf56f73f3287541940f6cad61c</guid></item><item><title>Configure_PLplot_for_cygwin modified by Alan W. Irwin</title><link>https://sourceforge.net/p/plplot/wiki/Configure_PLplot_for_cygwin/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -12,30 +12,12 @@
 -   &lt;tt&gt;-DCMAKE_VERBOSE_MAKEFILE=ON&lt;/tt&gt;: makefiles provide verbose informations
 -   &lt;tt&gt;-DBUILD_TEST=ON&lt;/tt&gt;: all examples will be built also (for test purposes)

-If you used the &lt;tt&gt;-DBUILD_TEST=ON&lt;/tt&gt; option, you need to copy some files in order to run the examples:
-
-`cd examples/c`
-`cp ../../../data/*.fnt ./`
-
 The Cygwin platform allows both shared libraries and dynamic drivers, making it almost equivalent to a regular Linux platform in this respect. However:

 -   The shared libraries will be installed in the bin directory, not in the lib directory, in accordance with the Windows conventions
 -   They have the extension .dll instead of .so
--   For the Fortran 77 and Fortran 95 bindings the &lt;tt&gt;plparseopts&lt;/tt&gt; routine does not work yet. This is due to the properties of the available compilers.
+
 -   If the PATH environment variable gives access to native Windows compilers before the Cygwin-specific compilers, you need to either reset the PATH variable or specify the Cygwin-specific compilers explicitly.
--   It may be necessary to add the path to the X Window libraries explicitly:
-
-`export PATH="/usr/X11R6/bin:$PATH"`
-
-Note on Tcl:
-
-You may need to set the TCL_LIBRARY and PL_LIBRARY environment variable:
-
-`export TCL_LIBRARY=/usr/share/tcl8.4`
-
-and:
-
-`export PL_LIBRARY=path to plplot.tcl`

 Note on Tk:

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alan W. Irwin</dc:creator><pubDate>Tue, 09 Jun 2015 15:29:17 -0000</pubDate><guid>https://sourceforge.neta4c71d6260c60c1829ac81221dfd40b184816c5c</guid></item><item><title>Configure_PLplot_for_cygwin modified by Alan W. Irwin</title><link>https://sourceforge.net/p/plplot/wiki/Configure_PLplot_for_cygwin/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alan W. Irwin</dc:creator><pubDate>Tue, 09 Jun 2015 15:23:01 -0000</pubDate><guid>https://sourceforge.net8e91aba1bfe8ed39722dcff20602664978ebc84a</guid></item><item><title>Configure_PLplot_for_cygwin modified by Arjen Markus</title><link>https://sourceforge.net/p/plplot/wiki/Configure_PLplot_for_cygwin/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -3,11 +3,11 @@
 `cd plplot`
 `mkdir buildcygwin`
 `cd buildcygwin`
-`cmake -DCMAKE_INSTALL_PREFIX=install -DENABLE_tk=OFF -DENABLE_tcl=OFF ../`
+`cmake -DCMAKE_INSTALL_PREFIX=install ../`
 `make`
 `make install`

-This will build a shared plplot library and install all files into the directory &lt;tt&gt;plplot\\buildcygwin\\install&lt;/tt&gt;. Tk bindings and driver need to be disabled (&lt;tt&gt;-DENABLE_tk=OFF&lt;/tt&gt;), since they won't compile on cygwin at the moment. The following options are available for cmake:
+This will build a shared plplot library and install all files into the directory &lt;tt&gt;plplot\\buildcygwin\\install&lt;/tt&gt;. The following options are available for cmake:

 -   &lt;tt&gt;-DCMAKE_VERBOSE_MAKEFILE=ON&lt;/tt&gt;: makefiles provide verbose informations
 -   &lt;tt&gt;-DBUILD_TEST=ON&lt;/tt&gt;: all examples will be built also (for test purposes)
@@ -37,7 +37,20 @@

 `export PL_LIBRARY=path to plplot.tcl`

-(Unfortunately the Tk bindings currently rely on UNIX/Linux-only facilities, so that they do not compile on Cygwin)
+Note on Tk:

+Since the version of Tk that is available from the Cywin distribution uses the X11 Window System, you need to prepare the system before running CMake: 
+
+-   Start the X server:
+
+`X &amp;amp;`
+
+-   Set the DISPLAY variable to the name of the X display. Under Cygwin this will be ":0.0" (instead of "localhost:0.0"):
+
+`export DISPLAY=:0.0`
+
+-   Run CMake with Tcl and Tk enabled
+
+Note that the wingcc device driver is also available under Cygwin just as under plain Windows. This means that you can use both device drivers, though the xwin driver requires the X Window server to be running and the wingcc driver does not require anything specific. 

 The content of this page is available under the [GNU Free Documentation License 1.2](http://www.gnu.org/copyleft/fdl.html).
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Arjen Markus</dc:creator><pubDate>Tue, 09 Jun 2015 06:50:59 -0000</pubDate><guid>https://sourceforge.netb857ac1117652b2df4de9e0eddc62918212d3e39</guid></item><item><title>Configure_PLplot_for_cygwin modified by Alan W. Irwin</title><link>https://sourceforge.net/p/plplot/wiki/Configure_PLplot_for_cygwin/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alan W. Irwin</dc:creator><pubDate>Sun, 05 Oct 2014 19:11:59 -0000</pubDate><guid>https://sourceforge.net17e397297c7cede83568825fd77d78e660772fa4</guid></item><item><title>Configure_PLplot_for_cygwin modified by Alan W. Irwin</title><link>https://sourceforge.net/p/plplot/wiki/Configure_PLplot_for_cygwin/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;You need a working cygwin installation. Start cygwin and issue the following commands:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;cd plplot&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;mkdir buildcygwin&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;cd buildcygwin&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;cmake -DCMAKE_INSTALL_PREFIX=install -DENABLE_tk=OFF -DENABLE_tcl=OFF ../&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;make&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;make install&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;This will build a shared plplot library and install all files into the directory &lt;tt&gt;plplot\buildcygwin\install&lt;/tt&gt;. Tk bindings and driver need to be disabled (&lt;tt&gt;-DENABLE_tk=OFF&lt;/tt&gt;), since they won't compile on cygwin at the moment. The following options are available for cmake:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;tt&gt;-DCMAKE_VERBOSE_MAKEFILE=ON&lt;/tt&gt;: makefiles provide verbose informations&lt;/li&gt;
&lt;li&gt;&lt;tt&gt;-DBUILD_TEST=ON&lt;/tt&gt;: all examples will be built also (for test purposes)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you used the &lt;tt&gt;-DBUILD_TEST=ON&lt;/tt&gt; option, you need to copy some files in order to run the examples:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;cd examples/c&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;cp ../../../data/*.fnt ./&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;The Cygwin platform allows both shared libraries and dynamic drivers, making it almost equivalent to a regular Linux platform in this respect. However:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The shared libraries will be installed in the bin directory, not in the lib directory, in accordance with the Windows conventions&lt;/li&gt;
&lt;li&gt;They have the extension .dll instead of .so&lt;/li&gt;
&lt;li&gt;For the Fortran 77 and Fortran 95 bindings the &lt;tt&gt;plparseopts&lt;/tt&gt; routine does not work yet. This is due to the properties of the available compilers.&lt;/li&gt;
&lt;li&gt;If the PATH environment variable gives access to native Windows compilers before the Cygwin-specific compilers, you need to either reset the PATH variable or specify the Cygwin-specific compilers explicitly.&lt;/li&gt;
&lt;li&gt;It may be necessary to add the path to the X Window libraries explicitly:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;code&gt;export PATH="/usr/X11R6/bin:$PATH"&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Note on Tcl:&lt;/p&gt;
&lt;p&gt;You may need to set the TCL_LIBRARY and PL_LIBRARY environment variable:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;export TCL_LIBRARY=/usr/share/tcl8.4&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;and:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;export PL_LIBRARY=path to plplot.tcl&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;(Unfortunately the Tk bindings currently rely on UNIX/Linux-only facilities, so that they do not compile on Cygwin)&lt;/p&gt;
&lt;p&gt;The content of this page is available under the &lt;a class="" href="http://www.gnu.org/copyleft/fdl.html" rel="nofollow"&gt;GNU Free Documentation License 1.2&lt;/a&gt;.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alan W. Irwin</dc:creator><pubDate>Thu, 02 Oct 2014 03:31:01 -0000</pubDate><guid>https://sourceforge.netbd903c5398146ebc7198c189b477681db0ff32b3</guid></item></channel></rss>