
<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.miscdebris.net/plplot_wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Chm-on-plplot-wiki</id>
		<title>PLplotWiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://www.miscdebris.net/plplot_wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Chm-on-plplot-wiki"/>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Special:Contributions/Chm-on-plplot-wiki"/>
		<updated>2026-04-29T23:01:30Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.24.4</generator>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Configure_PLplot_for_cygwin&amp;diff=2007</id>
		<title>Configure PLplot for cygwin</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Configure_PLplot_for_cygwin&amp;diff=2007"/>
				<updated>2008-07-11T17:39:28Z</updated>
		
		<summary type="html">&lt;p&gt;Chm-on-plplot-wiki: Added / to . and .. dirnames for visibility&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;You need a working cygwin installation. Start cygwin and issue the following commands:&lt;br /&gt;
&lt;br /&gt;
 cd plplot&lt;br /&gt;
 mkdir buildcygwin&lt;br /&gt;
 cd buildcygwin&lt;br /&gt;
 cmake -DCMAKE_INSTALL_PREFIX=install -DENABLE_tk=OFF -DENABLE_tcl=OFF ../&lt;br /&gt;
 make&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
This will build a shared plplot library and install all files into the directory &amp;lt;tt&amp;gt;plplot\buildcygwin\install&amp;lt;/tt&amp;gt;. Tk bindings and driver need to be disabled (&amp;lt;tt&amp;gt;-DENABLE_tk=OFF&amp;lt;/tt&amp;gt;), since they won&amp;#039;t compile on cygwin at the moment. The following options are available for cmake:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;-DCMAKE_VERBOSE_MAKEFILE=ON&amp;lt;/tt&amp;gt;: makefiles provide verbose informations&lt;br /&gt;
* &amp;lt;tt&amp;gt;-DBUILD_TEST=ON&amp;lt;/tt&amp;gt;: all examples will be built also (for test purposes)&lt;br /&gt;
&lt;br /&gt;
If you used the &amp;lt;tt&amp;gt;-DBUILD_TEST=ON&amp;lt;/tt&amp;gt; option, you need to copy some files in order to run the examples:&lt;br /&gt;
&lt;br /&gt;
 cd examples/c&lt;br /&gt;
 cp ../../../data/*.fnt ./&lt;br /&gt;
&lt;br /&gt;
The Cygwin platform allows both shared libraries and dynamic drivers, making it almost equivalent to &lt;br /&gt;
a regular Linux platform in this respect. However:&lt;br /&gt;
&lt;br /&gt;
* The shared libraries will be installed in the bin directory, not in the lib directory, in accordance with the Windows conventions&lt;br /&gt;
* They have the extension .dll instead of .so&lt;br /&gt;
* For the Fortran 77 and Fortran 95 bindings the &amp;lt;tt&amp;gt;plparseopts&amp;lt;/tt&amp;gt; routine does not work yet. This is due to the properties of the available compilers.&lt;br /&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;br /&gt;
* It may be necessary to add the path to the X Window libraries explicitly:&lt;br /&gt;
&lt;br /&gt;
 export PATH=&amp;quot;/usr/X11R6/bin:$PATH&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Note on Tcl:&lt;br /&gt;
&lt;br /&gt;
You may need to set the TCL_LIBRARY and PL_LIBRARY environment variable:&lt;br /&gt;
&lt;br /&gt;
 export TCL_LIBRARY=/usr/share/tcl8.4&lt;br /&gt;
&lt;br /&gt;
and:&lt;br /&gt;
&lt;br /&gt;
 export PL_LIBRARY=path to plplot.tcl&lt;br /&gt;
&lt;br /&gt;
(Unfortunately the Tk bindings currently rely on UNIX/Linux-only facilities, so that they do &lt;br /&gt;
not compile on Cygwin)&lt;/div&gt;</summary>
		<author><name>Chm-on-plplot-wiki</name></author>	</entry>

	</feed>