
<?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=Arjenmarkus</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=Arjenmarkus"/>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Special:Contributions/Arjenmarkus"/>
		<updated>2026-05-16T10:28:07Z</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_the_Visual_Studio_IDE&amp;diff=3023</id>
		<title>Configure PLplot for the Visual Studio IDE</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Configure_PLplot_for_the_Visual_Studio_IDE&amp;diff=3023"/>
				<updated>2013-10-18T07:22:38Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: Updated for newer versions of Visual Studio&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page details how to build PLplot using the Visual Studio integrated development environment via project and solution files. If you wish to use NMake from the command line see [[Configure PLplot for Visual CXX CLI]]&lt;br /&gt;
&lt;br /&gt;
== Walkthrough building PLPLot with Visual Studio ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Why can’t I just include all the code files in a project and press the build button?&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
PLplot makes every effort to be compatible with multiple different compilers on multiple OSs. It also uses third party libraries for backends/drivers. If every compiler exactly conformed to the (same) C++ and C standards and included nothing else and if every other library did the same then this would be easy. But they don’t and it isn’t. Some libraries only work on Linux or Windows and different compilers add extra features and although often the same additional features exist in different compilers they sometimes have different names or are in different header files. This all can make writing a cross platform library quite tricky.&lt;br /&gt;
&lt;br /&gt;
PLplot addresses this by using a build system called CMake. This is an extra layer of code between the C/C++ code and the compiler. The CMake code is run before you try to compile the library and it attempts to detect the various platform specific differences and create (in the case of Visual Studio) .sln and .proj files and a config.h file that fits your configuration.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Selecting the right Visual Studio version&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Visual Studio comes in many different versions, with regular updates every few years. These generally use their own specific format for the &lt;br /&gt;
solution and project files. Then it may be necessary to select the desired architecture - 32-bits or 64-bits for instance. &lt;br /&gt;
You need to instruct CMake to create the files for the proper version. This is done by the &amp;#039;&amp;#039;generator&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
Three examples of such generators (consult CMake&amp;#039;s online help for more information):&lt;br /&gt;
&lt;br /&gt;
    -G &amp;quot;Visual Studio 9 2008&amp;quot;&lt;br /&gt;
    -G &amp;quot;Visual Studio 10&amp;quot;&lt;br /&gt;
    -G &amp;quot;Visual Studio 10 IA64&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The first selects Visual Studio 2008, the second Visual Studio 2010. Note the year in the first one. Generators for later versions include the&lt;br /&gt;
architecture, as &amp;quot;IA64&amp;quot; for the Itanium processor architechture.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;A Walkthrough&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
I have spent some time trying to get CMake to work with my setup and the PLplot developers have helped with bug fixes to get this right so PLplot should now be straightforward to compile on windows. Fundamentally I want to end up with a visual studio sln file which I can use to build PLplot. It should ensure I have access to the libraries and backends/drivers that I want to use which include shapelib, wxWidgets, AGG and FreeType. Ideally it should include the examples and allow me to specify all the project properties I need so that if I update my code to the latest trunk version (which I do quite often) I don’t have to manually change lots of settings. Unfortunately there is a bit of a Linux bias to Cmake so here are some things that may catch you out, here are a few of those:&lt;br /&gt;
*When specifying paths to CMAKE, capitalisation matters.&lt;br /&gt;
*When CMAKE looks for additional libraries it sometimes only looks in the default Linux path so you might have to specify library locations&lt;br /&gt;
*All the defaults are to build dynamically linked dynamic libraries with dynamic runtime linkage – if you want anything else then you must specify so.&lt;br /&gt;
*If you need to recreate your sln files then it’s best to delete everything in your build directory and start again from scratch.&lt;br /&gt;
Anyhow here is a walkthrough of how I got everything working.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Backends/Drivers&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
PLplot could include code to write your plots to screen, memory, and the myriad of different file formats that you may want to use. However, if this was the case the developers would spend all their time looking at details of jpeg file formats or the different operating system device contexts. Instead PLplot has built in support for a few output devices and then uses other libraries referred to as drivers to output to most file types. In the walkthrough I’ll show you how to compile with just the built in outputs first, then I’ll add in shapefile support for maps using shapelib, and the wxWidgets driver with options for rendering with, AGG and Freetype.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Compiling a Basic PLplot Library&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
To build PLplot you will need some extra tools first. Download and install CMAKE from http://www.cmake.org/. Next if you want to use the very latest version of PLplot with the most up to date bug fixes you will need to access the Subversion repository to get the latest trunk version. To do this download tortoiseSVN from http://tortoisesvn.net/, then create a folder where you want to store the PLPlot source code (mine is D:\SourceCode\Libraries\plplot_trunk). Right click the folder and go to TortoiseSVN, Checkout. Enter the URL from http://plplot.sourceforge.net/download.php and click OK. If you ever need to update then right click the folder and click SVN Update. If you want the latest release version then you can download it from the same download link and just unzip it to a location of your choosing. If you have any doubt about whether you want the trunk version or the release version then my recommendation would be the trunk version. At the very least get the latest development release rather than the stable release as there have been a lot of updates and bug fixes since version 5.8.&lt;br /&gt;
&lt;br /&gt;
Now we can start the build process. open a cmd window and run the following command (or whatever is appropriate for your version of Visual Studio):&lt;br /&gt;
&lt;br /&gt;
   &amp;quot;C:\Program files (x86)\Microsoft Visual Studio 10.0\VC\vsvarsall.bat&amp;quot; x86&lt;br /&gt;
&lt;br /&gt;
or, easier, use the Start menu and select the Visual Studio Command Prompt. This opens a cmd window with the environment variables properly set.&lt;br /&gt;
&lt;br /&gt;
If you installed Visual Studio elsewhere then change the path accordingly and note that on 64 bit machines the default path is in Program Files(x86). This will define environment variables that CMAKE will use so keep this cmd prompt open and do all the following commands in it.&lt;br /&gt;
&lt;br /&gt;
Rather than compile PLplot ‘in place’ we’ll be building it in a separate directory, in fact we need two directories, one for release and one for debug. So create a these build directories. Mine are at D:\Sourcecode\Libraries\plplot_staticbuild_release, with another in the same location but ending debug. I think it is possible to create a release and debug version together in one .sln but i think there are potential clashes so I highly recommend creating a separate release and debug version in separate folders. In your cmd prompt navigate to the release directory.&lt;br /&gt;
&lt;br /&gt;
If you wish to add any extra compiler flags do so by setting the environment variables CXXFLAGS and CFLAGS in your cmd prompt. I use this facility to set the Unicode options&lt;br /&gt;
&lt;br /&gt;
   set CXXFLAGS=/DUNICODE /D_UNICODE&lt;br /&gt;
   set CFLAGS=/DUNICODE /D_UNICODE&lt;br /&gt;
&lt;br /&gt;
Note that you almost always want CXXFLAGS and CFLAGS to be identical.&lt;br /&gt;
&lt;br /&gt;
If you already have wxWidgets installed then you may wish to stop PLplot finding it for this basic build. To do so type &lt;br /&gt;
&lt;br /&gt;
   %WXWIN%&lt;br /&gt;
&lt;br /&gt;
and make a note of the path for later. Then enter&lt;br /&gt;
&lt;br /&gt;
   set WXWIN=&lt;br /&gt;
&lt;br /&gt;
Now call CMAKE as follows:&lt;br /&gt;
&lt;br /&gt;
   cmake &amp;quot;D:/SourceCode/Libraries/plplot trunk&amp;quot; -G &amp;quot;Visual Studio 10&amp;quot; -DPL_DOUBLE=ON -DLIB_TAG=&amp;quot;sud&amp;quot; -DBUILD_TEST=ON -DCMAKE_INSTALL_PREFIX=&amp;quot;D:\SourceCode\Libraries\plplotinstall&amp;quot;  -DCMAKE_CONFIGURATION_TYPES=&amp;quot;Debug&amp;quot; -DBUILD_SHARED_LIBS=OFF -DSTATIC_RUNTIME=ON&lt;br /&gt;
&lt;br /&gt;
A full description of the parameters can be found in the reference below. You can obviously change them to suit your needs. Hopefully after a minute or two the screen output should end with &lt;br /&gt;
&lt;br /&gt;
   --Configuring done&lt;br /&gt;
   --Generating done&lt;br /&gt;
   --Build files have been written to D:/SourceCode/Libraries/plplot_staticbuild_release&lt;br /&gt;
&lt;br /&gt;
If you now go to your build directory you should see a solution which you can open in Visual Studio. Just open it up, right click the INSTALL project and select build, this will build your library and put it in the install directory. I use the LIB_TAG parameter to identify this as a static (s), Unicode (u) debug (d) library. Unfortunately some of the built libraries do not get your LIB_TAG added. So go to your install directory and do this manually, this stops them getting overwritten when you build the release version. You should now be able to find the examples in the build directory and try them out. You get a choice of which built in driver you want to use. There is a memory one, a Windows one that outputs to screen and ones that output to ps, svg and xfig files. Once you have a debug version, you can repeat the process in a new directory to create a debug version, make sure you change the LIB_TAG or install directory to avoid overwriting. Well done you now have PLplot up and running.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Other Libraries and Backends&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
PLplot relies on a number of drivers and backends to extend its output capabilities and allow reading of certain data files. I use a few of these and will guide you through adding them. Don’t be tempted to download precompiled .lib and .dll files. If you do then they may not have been compiled with the same setting that you use and may generate hard to fix linker errors. Problem setting can include character set (Unicode, vs multibyte vs not set) and static/dynamic linking to the runtime libraries (multithreaded, multithreaded dll, multithreaded debug, multithreaded debug dll). If you don’t know what static and dynamic linking are then find out because it will be the bane of your programming life if you don’t. I tend to add u to the end of a library name to indicate Unicode and s to indicate static (not dynamic) linkage to the runtime library and d to indicate debug.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Shapelib&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Shapelib allows you to read in .shp shapefileswhich contain vector map information into PLplot . PLPlot already has a coarse resolution global map included, but if you would like higher resolution then you need to add Shapelib. Global files with 10, 50 or 110 mile resolution are available from http://www.naturalearthdata.com and you can find other files online as you need. Shapelib itself is easy to compile, download it from http://shapelib.maptools.org/ create a new windows library project, add all the files and build debug and release versions as needed. There is no need to specify Unicode. To use it in PLplot add the following commands to your CMake call&lt;br /&gt;
&lt;br /&gt;
   -DHAVE_SHAPELIB=ON -DSHAPELIB_INCLUDE_DIR=&amp;quot;D:/SourceCode/Libraries/shapelib-1.3.0/include/shapelib&amp;quot; -DSHAPELIB_LIBRARY=&amp;quot;D:/SourceCode/Libraries/shapelib-1.3.0/lib/shapelibsd.lib&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Of course replace the values with ones appropriate for your system and make sure you use the debug or release library appropriately. Now in calls to plmap you can replace the map name with the path to a shapefile and the lines from this file will be used to draw the map.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;wxWidgets&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
I use wxWidgets for GUI output, it also allows output to various other graphics types like png, bmp, jpg, ps. If you wish to do the same then the best way is to install wxPack which is a fully working version of wxWidgets for Windows. It comes with a Visual Studio .sln file so saves you a lot of hassle. There are loads of instructions for compiling wxWidgets online, so I won’t repeat it all here. However you may wish to enable wxGraphicsContext (which gives anti-aliased output) and wxPostscriptDC to output to ps files. To do this, go through all the various setup.h and setup0.h and set &lt;br /&gt;
&lt;br /&gt;
   #define wxUSE_GRAPHICS_CONTEXT 1&lt;br /&gt;
   #define wxUSE_POSTSCRIPT 1&lt;br /&gt;
&lt;br /&gt;
Open the wxWidgets .sln file and if you wish to change between static and dynamic Runtime then change this in the project properties. Finally go to build, batch build and build all the versions of the library. This can take some time.&lt;br /&gt;
&lt;br /&gt;
For Visual Studio 2012 Users – I have found a few problems with building wxWidgets in VS2012 so I thought I’d add them here. &lt;br /&gt;
*First the Batch Build option is hidden. You can display it by going to Tools, customize, Commands and select the build menu.&lt;br /&gt;
*If you get a lot of build errors talking about CL.exe then this is caused by clashes between intermediate files of different projects. To fix it select all the projects in the solution explorer then right click them and select properties. Change the configuration to All Configurations then go to Configuration properties, General and change Intermediate Directory to $(ProjectName)\$(Platform)\$(Configuration)\.&lt;br /&gt;
*If you get a compilation error saying that the file pbt.h cannot be found in windows.cpp then go to the relevant line and comment it out. This header is no longer needed in wxWidgets and no longer included with Visual Studio but the #include got forgotten and left in the source.&lt;br /&gt;
*Finally if you want to build a 64 bit version do not try changing the Build Target in the project properties, this causes various linker errors. Instead go to Build, Configuration Manager... and in the active solution platform select &amp;lt;new&amp;gt; then select x64. This will create 64 bit configurations for all projects. Unfortunately you cannot build 64 bit and 32 bit libraries at the same time and if you have built a 32 bit library and want to build the 64 bit version (or vice versa) then you must clean the project first. See the install-msw-2.8.12.txt file shipped with wxWidgets for more info.&lt;br /&gt;
&lt;br /&gt;
Once you have wxWidgets built PLplot will automatically look for the WXWIN environmental variable which is created by wxPack, or should have been created by you if you set up wxWidgets manually. If you disabled wxWidgets above, then enter the following at the command prompt&lt;br /&gt;
&lt;br /&gt;
   set WXWIN=path/you/wrote/down/earlier&lt;br /&gt;
&lt;br /&gt;
If PLplot finds this environmental variable then it will include wxWidgets in the build. However, it seems that CMAKE doesn’t automatically determine if you are building with Unicode, so if you are then you must specify which wxWidgets build to use by adding the following parameter to your CMake command&lt;br /&gt;
&lt;br /&gt;
   -DwxWidgets_CONFIGURATION=mswud&lt;br /&gt;
&lt;br /&gt;
Or for the release version use mswu, just like the suffix at the end of the wxWidgets library files.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;AGG and FreeType&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The wxWidgets driver can use three backends. The wxDC and wxGraphicsContect are part of wxWidgets and use Windows drawing routines. This means if you port your software to Linux the code will then use Linux drawing routines which may be slightly different. This might not be a big deal, but in case it is you can also make use of the cross platform AGG library to render anti-aliased graphics and AGG can either use PLplot’s basic text or the FreeType library for Unicode fonts. If you wish to use them then download the code for these projects. Both are quite straightforward. AGG seem to pride themselves on only using ‘pure’ C so for AGG you can just download the source from http://www.antigrain.com/ and add all the files to a visual studio project and build it. &lt;br /&gt;
If you are using FreeType then you can download the source form http://www.freetype.org/. The download includes a .sln file to build with Visual Studio.&lt;br /&gt;
&lt;br /&gt;
If using both FreeType and AGG then you should copy the files from your_agg_directory\font_freetype to your_agg_directory\include\agg2. You may wish to do the same with those in font_win32_tt, but it’s not needed for PLplot at present.&lt;br /&gt;
&lt;br /&gt;
Also don’t forget to ensure your character set and run time library linkage are set as you want them. To include AGG when you compile PLplot add the following parameters&lt;br /&gt;
&lt;br /&gt;
   -DHAVE_AGG=ON -DAGG_INCLUDE_DIR=&amp;quot;D:/SourceCode/Libraries/agg-2.4/include&amp;quot; -DAGG_LIBRARIES=&amp;quot;D:/SourceCode/Libraries/agg-2.4/VC++/AGG/lib/AGGsud.lib&amp;quot;&lt;br /&gt;
&lt;br /&gt;
For FreeType use&lt;br /&gt;
&lt;br /&gt;
   -DWITH_FREETYPE=ON -DFREETYPE_INCLUDE_DIR=&amp;quot;D:/SourceCode/Libraries/freetype-2.4.8/include&amp;quot; -DFREETYPE_LIBRARY=&amp;quot;D:/SourceCode/Libraries/freetype-2.4.8/objs/win32/vc2008/freetypesud.lib&amp;quot;&lt;br /&gt;
But of course change the paths to match your system.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Summary and reference&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
So just so you see the whole thing, my final CMake command for a debug build is&lt;br /&gt;
&lt;br /&gt;
 cmake &amp;quot;D:/SourceCode/Libraries/plplot_trunk&amp;quot; -G &amp;quot;Visual Studio 10&amp;quot; -DPL_DOUBLE=ON -DLIB_TAG=&amp;quot;su&amp;quot; -DBUILD_TEST=ON -DCMAKE_INSTALL_PREFIX=&amp;quot;D:\SourceCode\Libraries\plplotinstall&amp;quot; -DBUILD_SHARED_LIBS=OFF -DCMAKE_CONFIGURATION_TYPES=&amp;quot;Debug&amp;quot; -DSTATIC_RUNTIME=ON -DwxWidgets_CONFIGURATION=mswud -DHAVE_SHAPELIB=ON -DSHAPELIB_INCLUDE_DIR=&amp;quot;D:/SourceCode/Libraries/shapelib-1.3.0/include/shapelib&amp;quot; -DSHAPELIB_LIBRARY=&amp;quot;D:/SourceCode/Libraries/shapelib-1.3.0/lib/shapelibsd.lib&amp;quot;  -DHAVE_AGG=ON -DAGG_INCLUDE_DIR=&amp;quot;D:/SourceCode/Libraries/agg-2.4/include&amp;quot; -DAGG_LIBRARIES=&amp;quot;D:/SourceCode/Libraries/agg-2.4/VC++/AGG/lib/AGGsud.lib&amp;quot; -DWITH_FREETYPE=ON -DFREETYPE_INCLUDE_DIR=&amp;quot;D:/SourceCode/Libraries/freetype-2.4.8/include&amp;quot; -DFREETYPE_LIBRARY=&amp;quot;D:/SourceCode/Libraries/freetype-2.4.8/objs/win32/vc2008/freetypesud.lib&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
For reference here is a quick rundown of each of the parameters&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;“D:/SourceCode/Libraries/plplot trunk”:&amp;#039;&amp;#039;&amp;#039; the path to my source directory – case sensitive.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;-G “Visual Studio 10”:&amp;#039;&amp;#039;&amp;#039; the compiler I want to generate a project/solution for.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;-DPL_DOUBLE=ON:&amp;#039;&amp;#039;&amp;#039; use doubles, rather than floats in PLplot. Also adds d to the library names.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;-DLIB_TAG=”su”:&amp;#039;&amp;#039;&amp;#039; this will append “su” to the end of the library name and is an indicator to me that I’m using static linkage with the Unicode character set. I use sud for static Unicode debug etc.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;-DBUILD_TEST=ON:&amp;#039;&amp;#039;&amp;#039; Indicates I want to create projects for the examples. Set to OFF to not build them.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;-DCMAKE_INSTALL_PREFIX=”D:\SourceCode\Libraries\plplotinstall”&amp;#039;&amp;#039;&amp;#039; The directory you want your final libraries to end up in, it will be created if it doesn’t exist. If you leave this blank it defaults to C:\Program Files\PLplot, however in Windows Vista or later UAC will stop the file being written here unless you run Visual Studio as administrator.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;-DCMAKE_CONFIGURATION_TYPES=”Release”:&amp;#039;&amp;#039;&amp;#039; The configuration to use in the project. You can run create multiple configurations in one solution by listing them separated by semicolons, but if using Shapelib, FreeType or AGG this causes linking problems with the examples as you can’t specify linkage against the release and debug versions separated by semicolons. It also causes issues with installing to one directory so it’s best to create on sln for each configuration. You can include Release, Debug, MinSizeRel and RelWithDebInfo. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;-DSTATIC_RUNTIME=ON:&amp;#039;&amp;#039;&amp;#039; This causes us to link against the static runtime (equivalent to /MT or /MTd flags). Set it to OFF if you want to link against the dynamic runtime (equivalent to /MD or /MDd). &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;-DBUILD_SHARED_LIBS=OFF&amp;#039;&amp;#039;&amp;#039; Build a .lib rather than a .dll. If you don’t set this the default will be to build dlls.All the options above except the source directory and compiler are optional and will be set to default values if excluded. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Anything with AGG in:&amp;#039;&amp;#039;&amp;#039; These point out that I want to use AGG and specifies the location of header files and the library itself. The library is only needed if –DBUILD_TEST is ON. None are needed if you are not using AGG.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Anything with FREETYPE in:&amp;#039;&amp;#039;&amp;#039; As with the AGG stuff it indicates I want to use FreeType and gives the location of the headers and library. Note that the variables have slightly different names to the AGG ones. Again the library is only needed when building the examples.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Anything with SHAPELIB in:&amp;#039;&amp;#039;&amp;#039; As for the FREETYPE and AGG parameters, but for shapelib.&lt;br /&gt;
&lt;br /&gt;
There are also other customisable options and after you’ve run CMAKE you can examine the CMakeCache.txt file that is created in your build directory to see others (prepend -D to define them on the command line) or look at the wiki page or CMAKE documentation.&lt;br /&gt;
&lt;br /&gt;
== Bugs and Issues ==&lt;br /&gt;
&lt;br /&gt;
Using version 2.8.2 of CMake there are some snags you may find.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Common Errors&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;I see linker errors regarding strings or wxStrings or chars and wchars&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Unicode and non Unicode libraries often use strings made of either wchars or chars silently behind the scenes. If you have mixed libraries built with unicode with ones built with the charecter set not set then these clash during linking. Did you specify the wxWidget configuration to ensure you get the Unicode version of wxWidgets? Or perhaps one of the other libraries you are using has this set differently to PLplot.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;I see linker errors which mention function which have dbg in&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Microsoft supply four different versions of the C++ runtime with either static/dynamic linkage and for either debug/release. It sounds like you have mixed libraries which use debug with ones that use release. I&amp;#039;m afraid you have to go through and check them all.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;I see linker errors which mention functions which have imp_ in&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
See the dbg linker errors, except this is likely due to mixing libraries with static and dynamic linkage.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Problems with old PLplot versions (5.9.9 and before)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Here are some snags which may affect older versions of PLplot, if you see these symptoms please upgrade to version 2.9.10 or the latest trunk version via SVN&lt;br /&gt;
&lt;br /&gt;
*When embedding a PLplot in a wxWidgets application the application may hang during initialisation. Caused by both PLplot and your application trying to initialise message loops.&lt;br /&gt;
&lt;br /&gt;
*Linker errors occur in release builds of software which includes the PLplot library and the wxWidget driver. They reference functions which have dbg in their name. This was caused by a CMAKE bug which defined the _DEBUG and __WXDEUG__ preprocessor variables in release mode when using wxWidgets. A workaround has been added to PLplot. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Intel Fortran&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If you use Intel Fortran, the solution/project files may cause errors when building. These affect only the Fortran libraries and examples. It is due to a small bug in CMake that should be fixed with the next release.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Workaround for examples built with Visual Studio&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
There have been some reported problems with running the examples when building ith Visual Studio. This seems fine when building static libraries, but may still persist with dynamic ones. If you have problems then try the folowing&lt;br /&gt;
&lt;br /&gt;
* Build the PLplot libraries and examples via the ALL_BUILD project&lt;br /&gt;
* Open a DOS box in the Debug directory for any one of these examples&lt;br /&gt;
* Set the following environment variables:&lt;br /&gt;
&lt;br /&gt;
   set path=&amp;lt;build&amp;gt;\dll\Debug;%PATH% &lt;br /&gt;
   set PLPLOT_DRV_DIR=&amp;lt;build&amp;gt;\drivers    &lt;br /&gt;
   set PLPLOT_LIB=&amp;lt;source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   where: &amp;lt;build&amp;gt; is the directory where PLplot was built&lt;br /&gt;
   and the directory &amp;quot;&amp;lt;source&amp;gt;\data&amp;quot; holds the .pal and .fnt files&lt;br /&gt;
* In this environment you can run the sample program&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Setup_cygwin&amp;diff=3002</id>
		<title>Setup cygwin</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Setup_cygwin&amp;diff=3002"/>
				<updated>2013-09-22T18:42:17Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Setup Cygwin ==&lt;br /&gt;
Cygwin&amp;lt;ref&amp;gt;[http://www.cygwin.com/ Cygwin Homepage]&amp;lt;/ref&amp;gt; is a Linux-like environment for Windows. It consists of two parts:&lt;br /&gt;
* A DLL (cygwin1.dll) which acts as a Linux API emulation layer providing substantial Linux API functionality.&lt;br /&gt;
* A collection of tools which provide Linux look and feel.&lt;br /&gt;
&lt;br /&gt;
The Cygwin DLL currently works with all recent, commercially released x86 32 bit and 64 bit versions of Windows, with the exception of Windows CE.&lt;br /&gt;
&lt;br /&gt;
=== Download and install ===&lt;br /&gt;
Download the [http://www.cygwin.com/setup.exe Cygwin installer] and execute it. This installer allows you to download and install the Cygwin environment and tools. In order to make Plplot compile on Cygwin you need the following packages:&lt;br /&gt;
&lt;br /&gt;
* Devel/gcc or Devel/gcc4&lt;br /&gt;
* Devel/g++ or Devel/g++4 (for C++ bindings)&lt;br /&gt;
* Devel/gada or Devel/gada4 (for Ada bindings)&lt;br /&gt;
* Devel/gfortran (for f95 bindings)&lt;br /&gt;
* Devel/libqhull-devel&lt;br /&gt;
* Devel/swig&lt;br /&gt;
* Devel/cmake&lt;br /&gt;
* Devel/libtool&lt;br /&gt;
* Devel/make&lt;br /&gt;
&lt;br /&gt;
Recommended packages:&lt;br /&gt;
&lt;br /&gt;
* X11/fontconfig - used by the cairo plotting library, among others&lt;br /&gt;
* development packages for various optional components (cairo, Qt4, ...)&lt;br /&gt;
 &lt;br /&gt;
=== Setup ===&lt;br /&gt;
&lt;br /&gt;
To configure and compile PLplot with Cygwin you need to use the Cygwin-specific version of CMake. Some environment variables need to be set: the path to the shared libraries of PLplot and possibly to LAPACK. Use, for instance, a shell script like:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   # set up the PATH&lt;br /&gt;
   set PLPLOTSRC=path_to_PLplot_source_directory&lt;br /&gt;
   set BUILDDIR=path_to_build_directory_plplot&lt;br /&gt;
   set PATH=$BUILDDIR/dll:$PATH&lt;br /&gt;
   &lt;br /&gt;
   # for Python, add the path to LAPACK&lt;br /&gt;
   set PATH=/usr/lib/lapack:$PATH&lt;br /&gt;
   &lt;br /&gt;
   # run CMake and make&lt;br /&gt;
   cmake $PLPLOTSRC -G &amp;quot;Unix Makefiles&amp;quot; ... further options ...&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
To run the examples (built with -DBUILD_TEST=ON) you need to add the path to the PLplot shared libraries, for instance the directory $BUILDDIR/dll from above. As environment variables behave in the same way under Cygwin as they do under Linux, you need to have them set in the current process.&lt;br /&gt;
&lt;br /&gt;
=== Experiences (PLplot 5.9.9) under Cygwin ===&lt;br /&gt;
&lt;br /&gt;
Below is a short report on recent (september 2013) experiences with PLplot under Cygwin.&lt;br /&gt;
&lt;br /&gt;
The following configuration was tested:&lt;br /&gt;
&lt;br /&gt;
* MS Windows 7, 64 bits&lt;br /&gt;
* Cygwin, installed using setup.exe version 2.819 (also 64 bits)&lt;br /&gt;
&lt;br /&gt;
To build PLPlot under Cygwin you need to use the version of CMake that comes with Cygwin. Other packages that are required are:&lt;br /&gt;
&lt;br /&gt;
* fontconfig: without this not all drivers can function (notably the cairo-based but also the X Window based drivers)&lt;br /&gt;
* libltdl: for dynamic drivers and shared libraries&lt;br /&gt;
&lt;br /&gt;
The build process requires that you extend the path with the directory to the DLLs that will be created:&lt;br /&gt;
&lt;br /&gt;
    export PATH=/cygdrive/d/plplot-build/dll:$PATH&lt;br /&gt;
&lt;br /&gt;
assuming you build PLplot in the directory d:\plplot-build - the prefix &amp;quot;/cygdrive/d&amp;quot; and the forward slashes are used to reflexct the UNIX syntax, where the disks are not indicated separately.&lt;br /&gt;
&lt;br /&gt;
Below follow specific remarks about the various components of PLplot:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;Python:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If you want to use PLplot with Python, you need to install version 2.7 and remove any references to Python 3 (it may be that version 3 also works, but if you have both installed, some mixture is used in CMake and that does not lead to a successful build.)&lt;br /&gt;
&lt;br /&gt;
You need to install Numpy and LAPACK as well. Because the LAPACK libraries are installed in a separate directory you need to add that directory to the PATH too:&lt;br /&gt;
&lt;br /&gt;
    export PATH=/usr/lib/lapack:$PATH&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;Java:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
There does not seem to be a Java package in this version of Cygwin. An older version did have one as part of the GNU compiler suite, but CMake could not recognise it.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;cairo:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If you want to use the cairo device drivers, then you need to build PLplot with static libraries and static drivers, as currently a strange error occurs during the loading of the cairo driver.&lt;br /&gt;
&lt;br /&gt;
The wincairo device driver is currently turned off, because this depends on a component of the cairo libraries that is not supported by  Cygwin. All other drivers work fine.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;Qt:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
You need to install the development libraries, as the build process requires several development utilities, among which &amp;#039;&amp;#039;&amp;#039;qmake&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;qtwindow&amp;#039;&amp;#039;&amp;#039; device driver currently terminates with an error message that would indicate a programming error in the initialisation. As it works fine under Linux, this seems related to Cygwin rather than PLplot.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;X Window:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The X Window based device drivers (xwin, xqt) work fine, but they are very slow. It is not practical to actually use them.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;This is something that requires further investigation, as this slowness is not inherent to X Window under Cygwin&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;wingcc:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The wingcc device driver (which uses the native windowing capacities of MS Windows 7) works fine and quickly, just as under Windows itself.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;Perl:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The Perl-bindings for PLplot are part of PDL. Only when this port has been completed can this be tested.&lt;br /&gt;
&lt;br /&gt;
All language components that were tested (C, C++, Fortran, Python, Tcl and Tcl/Tk) work fine. The non-interactive tests gave clean results.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Setup_cygwin&amp;diff=3001</id>
		<title>Setup cygwin</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Setup_cygwin&amp;diff=3001"/>
				<updated>2013-09-22T10:13:57Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Setup Cygwin ==&lt;br /&gt;
Cygwin&amp;lt;ref&amp;gt;[http://www.cygwin.com/ Cygwin Homepage]&amp;lt;/ref&amp;gt; is a Linux-like environment for Windows. It consists of two parts:&lt;br /&gt;
* A DLL (cygwin1.dll) which acts as a Linux API emulation layer providing substantial Linux API functionality.&lt;br /&gt;
* A collection of tools which provide Linux look and feel.&lt;br /&gt;
&lt;br /&gt;
The Cygwin DLL currently works with all recent, commercially released x86 32 bit and 64 bit versions of Windows, with the exception of Windows CE.&lt;br /&gt;
&lt;br /&gt;
=== Download and install ===&lt;br /&gt;
Download the [http://www.cygwin.com/setup.exe Cygwin installer] and execute it. This installer allows you to download and install the Cygwin environment and tools. In order to make Plplot compile on Cygwin you need the following packages:&lt;br /&gt;
&lt;br /&gt;
* Devel/gcc or Devel/gcc4&lt;br /&gt;
* Devel/g++ or Devel/g++4 (for C++ bindings)&lt;br /&gt;
* Devel/gada or Devel/gada4 (for Ada bindings)&lt;br /&gt;
* Devel/gfortran (for f95 bindings)&lt;br /&gt;
* Devel/libqhull-devel&lt;br /&gt;
* Devel/swig&lt;br /&gt;
* Devel/cmake&lt;br /&gt;
* Devel/libtool&lt;br /&gt;
* Devel/make&lt;br /&gt;
&lt;br /&gt;
Recommended packages:&lt;br /&gt;
&lt;br /&gt;
* X11/fontconfig - used by the cairo plotting library, among others&lt;br /&gt;
* development packages for various optional components (cairo, Qt4, ...)&lt;br /&gt;
 &lt;br /&gt;
=== Setup ===&lt;br /&gt;
&lt;br /&gt;
To configure and compile PLplot with Cygwin you need to use the Cygwin-specific version of CMake. Some environment variables need to be set: the path to the shared libraries of PLplot and possibly to LAPACK. Use, for instance, a shell script like:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   # set up the PATH&lt;br /&gt;
   set PLPLOTSRC=path_to_PLplot_source_directory&lt;br /&gt;
   set BUILDDIR=path_to_build_directory_plplot&lt;br /&gt;
   set PATH=$BUILDDIR/dll:$PATH&lt;br /&gt;
   &lt;br /&gt;
   # for Python, add the path to LAPACK&lt;br /&gt;
   set PATH=/usr/lib/lapack:$PATH&lt;br /&gt;
   &lt;br /&gt;
   # run CMake and make&lt;br /&gt;
   cmake $PLPLOTSRC -G &amp;quot;Unix Makefiles&amp;quot; ... further options ...&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
To run the examples (built with -DBUILD_TEST=ON) you need to add the path to the PLplot shared libraries, for instance the directory $BUILDDIR/dll from above. As environment variables behave in the same way under Cygwin as they do under Linux, you need to have them set in the current process.&lt;br /&gt;
&lt;br /&gt;
=== Experiences (PLplot 5.9.9) under Cygwin ===&lt;br /&gt;
&lt;br /&gt;
Below is a short report on recent (september 2013) experiences with PLplot under Cygwin.&lt;br /&gt;
&lt;br /&gt;
The following configuration was tested:&lt;br /&gt;
&lt;br /&gt;
* MS Windows 7, 64 bits&lt;br /&gt;
* Cygwin, installed using setup.exe version 2.819 (also 64 bits)&lt;br /&gt;
&lt;br /&gt;
To build PLPlot under Cygwin you need to use the version of CMake that comes with Cygwin. Other packages that are required are:&lt;br /&gt;
&lt;br /&gt;
* fontconfig: without this not all drivers can function (notably the cairo-based but also the X Window based drivers)&lt;br /&gt;
* libltdl: for dynamic drivers and shared libraries&lt;br /&gt;
&lt;br /&gt;
The build process requires that you extend the path with the directory to the DLLs that will be created:&lt;br /&gt;
&lt;br /&gt;
    export PATH=/cygdrive/d/plplot-build/dll:$PATH&lt;br /&gt;
&lt;br /&gt;
assuming you build PLplot in the directory d:\plplot-build - the prefix &amp;quot;/cygdrive/d&amp;quot; and the forward slashes are used to reflexct the UNIX syntax, where the disks are not indicated separately.&lt;br /&gt;
&lt;br /&gt;
Below follow specific remarks about the various components of PLplot:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;Python:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If you want to use PLplot with Python, you need to install version 2.7 and remove any references to Python 3 (it may be that version 3 also works, but if you have both installed, some mixture is used in CMake and that does not lead to a successful build.)&lt;br /&gt;
&lt;br /&gt;
You need to install Numpy and LAPACK as well. Because the LAPACK libraries are installed in a separate directory you need to add that directory to the PATH too:&lt;br /&gt;
&lt;br /&gt;
    export PATH=/usr/lib/lapack:$PATH&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;Java:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
There does not seem to be a Java package in this version of Cygwin. An older version did have one as part of the GNU compiler suite, but CMake could not recognise it.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;cairo:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If you want to use the cairo device drivers, then you need to build PLplot with static libraries and static drivers, as currently a strange error occurs during the loading of the cairo driver.&lt;br /&gt;
&lt;br /&gt;
The wincairo device driver is currently turned off, because this depends on a component of the cairo libraries that is not supported by  Cygwin. All other drivers work fine.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;Qt:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
You need to install the development libraries, as the build process requires several development utilities, among which &amp;#039;&amp;#039;&amp;#039;qmake&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;qtwindow&amp;#039;&amp;#039;&amp;#039; device driver currently terminates with an error message that would indicate a programming error in the initialisation. As it works fine under Linux, this seems related to Cygwin rather than PLplot.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;X Window:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The X Window based device drivers (xwin, xqt) work fine, but they are very slow. It is not practical to actually use them.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;This is something that requires further investigation, as this slowness is not inherent to X Window under Cygwin&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;wingcc:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The wingcc device driver (which uses the native windowing capacities of MS Windows 7) works fine and quickly, just as under Windows itself.&lt;br /&gt;
&amp;#039;&amp;#039;But only in the case of the static drivers&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;Perl:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The Perl-bindings for PLplot are part of PDL. Only when this port has been completed can this be tested.&lt;br /&gt;
&lt;br /&gt;
All language components that were tested (C, C++, Fortran, Python, Tcl and Tcl/Tk) work fine. The non-interactive tests gave clean results.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Setup_cygwin&amp;diff=3000</id>
		<title>Setup cygwin</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Setup_cygwin&amp;diff=3000"/>
				<updated>2013-09-22T09:43:25Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Setup Cygwin ==&lt;br /&gt;
Cygwin&amp;lt;ref&amp;gt;[http://www.cygwin.com/ Cygwin Homepage]&amp;lt;/ref&amp;gt; is a Linux-like environment for Windows. It consists of two parts:&lt;br /&gt;
* A DLL (cygwin1.dll) which acts as a Linux API emulation layer providing substantial Linux API functionality.&lt;br /&gt;
* A collection of tools which provide Linux look and feel.&lt;br /&gt;
&lt;br /&gt;
The Cygwin DLL currently works with all recent, commercially released x86 32 bit and 64 bit versions of Windows, with the exception of Windows CE.&lt;br /&gt;
&lt;br /&gt;
=== Download and install ===&lt;br /&gt;
Download the [http://www.cygwin.com/setup.exe Cygwin installer] and execute it. This installer allows you to download and install the Cygwin environment and tools. In order to make Plplot compile on Cygwin you need the following packages:&lt;br /&gt;
&lt;br /&gt;
* Devel/gcc or Devel/gcc4&lt;br /&gt;
* Devel/g++ or Devel/g++4 (for C++ bindings)&lt;br /&gt;
* Devel/gada or Devel/gada4 (for Ada bindings)&lt;br /&gt;
* Devel/gfortran (for f95 bindings)&lt;br /&gt;
* Devel/libqhull-devel&lt;br /&gt;
* Devel/swig&lt;br /&gt;
* Devel/cmake&lt;br /&gt;
* Devel/libtool&lt;br /&gt;
* Devel/make&lt;br /&gt;
&lt;br /&gt;
Recommended packages:&lt;br /&gt;
&lt;br /&gt;
* X11/fontconfig - used by the cairo plotting library, among others&lt;br /&gt;
* development packages for various optional components (cairo, Qt4, ...)&lt;br /&gt;
 &lt;br /&gt;
=== Setup ===&lt;br /&gt;
&lt;br /&gt;
To configure and compile PLplot with Cygwin you need to use the Cygwin-specific version of CMake. Some environment variables need to be set: the path to the shared libraries of PLplot and possibly to LAPACK. Use, for instance, a shell script like:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   # set up the PATH&lt;br /&gt;
   set PLPLOTSRC=path_to_PLplot_source_directory&lt;br /&gt;
   set BUILDDIR=path_to_build_directory_plplot&lt;br /&gt;
   set PATH=$BUILDDIR/dll:$PATH&lt;br /&gt;
   &lt;br /&gt;
   # for Python, add the path to LAPACK&lt;br /&gt;
   set PATH=/usr/lib/lapack:$PATH&lt;br /&gt;
   &lt;br /&gt;
   # run CMake and make&lt;br /&gt;
   cmake $PLPLOTSRC -G &amp;quot;Unix Makefiles&amp;quot; ... further options ...&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
To run the examples (built with -DBUILD_TEST=ON) you need to add the path to the PLplot shared libraries, for instance the directory $BUILDDIR/dll from above. As environment variables behave in the same way under Cygwin as they do under Linux, you need to have them set in the current process.&lt;br /&gt;
&lt;br /&gt;
=== Experiences (PLplot 5.9.9) under Cygwin ===&lt;br /&gt;
&lt;br /&gt;
Below is a short report on recent (september 2013) experiences with PLplot under Cygwin.&lt;br /&gt;
&lt;br /&gt;
The following configuration was tested:&lt;br /&gt;
&lt;br /&gt;
* MS Windows 7, 64 bits&lt;br /&gt;
* Cygwin, installed using setup.exe version 2.819 (also 64 bits)&lt;br /&gt;
&lt;br /&gt;
To build PLPlot under Cygwin you need to use the version of CMake that comes with Cygwin. Other packages that are required are:&lt;br /&gt;
&lt;br /&gt;
* fontconfig: without this not all drivers can function (notably the cairo-based but also the X Window based drivers)&lt;br /&gt;
* libltdl: for dynamic drivers and shared libraries&lt;br /&gt;
&lt;br /&gt;
The build process requires that you extend the path with the directory to the DLLs that will be created:&lt;br /&gt;
&lt;br /&gt;
    export PATH=/cygdrive/d/plplot-build/dll:$PATH&lt;br /&gt;
&lt;br /&gt;
assuming you build PLplot in the directory d:\plplot-build - the prefix &amp;quot;/cygdrive/d&amp;quot; and the forward slashes are used to reflexct the UNIX syntax, where the disks are not indicated separately.&lt;br /&gt;
&lt;br /&gt;
Below follow specific remarks about the various components of PLplot:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;Python:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If you want to use PLplot with Python, you need to install version 2.7 and remove any references to Python 3 (it may be that version 3 also works, but if you have both installed, some mixture is used in CMake and that does not lead to a successful build.)&lt;br /&gt;
&lt;br /&gt;
You need to install Numpy and LAPACK as well. Because the LAPACK libraries are installed in a separate directory you need to add that directory to the PATH too:&lt;br /&gt;
&lt;br /&gt;
    export PATH=/usr/lib/lapack:$PATH&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;Java:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
There does not seem to be a Java package in this version of Cygwin. An older version did have one as part of the GNU compiler suite, but CMake could not recognise it.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;cairo:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If you want to use the cairo device drivers, then you need to build PLplot with static libraries and static drivers, as currently a strange error occurs during the loading of the cairo driver.&lt;br /&gt;
&lt;br /&gt;
The wincairo device driver is currently turned off, because this depends on a component of the cairo libraries that is not supported by  Cygwin. All other drivers work fine.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;Qt:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
You need to install the development libraries, as the build process requires several development utilities, among which &amp;#039;&amp;#039;&amp;#039;qmake&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;qtwindow&amp;#039;&amp;#039;&amp;#039; device driver currently terminates with an error message that would indicate a programming error in the initialisation. As it works fine under Linux, this seems related to Cygwin rather than PLplot.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;X Window:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The X Window based device drivers (xwin, xqt) work fine, but they are very slow. It is not practical to actually use them.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;This is something that requires further investigation, as this slowness is not inherent to X Window under Cygwin&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;wingcc:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The wingcc device driver (which uses the native windowing capacities of MS Windows 7) works fine and quickly, just as under Windows itself.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;Perl:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The Perl-bindings for PLplot are part of PDL. Only when this port has been completed can this be tested.&lt;br /&gt;
&lt;br /&gt;
All language components that were tested (C, C++, Fortran, Python, Tcl and Tcl/Tk) work fine. The non-interactive tests gave clean results.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Setup_cygwin&amp;diff=2999</id>
		<title>Setup cygwin</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Setup_cygwin&amp;diff=2999"/>
				<updated>2013-09-22T09:42:45Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Setup Cygwin ==&lt;br /&gt;
Cygwin&amp;lt;ref&amp;gt;[http://www.cygwin.com/ Cygwin Homepage]&amp;lt;/ref&amp;gt; is a Linux-like environment for Windows. It consists of two parts:&lt;br /&gt;
* A DLL (cygwin1.dll) which acts as a Linux API emulation layer providing substantial Linux API functionality.&lt;br /&gt;
* A collection of tools which provide Linux look and feel.&lt;br /&gt;
&lt;br /&gt;
The Cygwin DLL currently works with all recent, commercially released x86 32 bit and 64 bit versions of Windows, with the exception of Windows CE.&lt;br /&gt;
&lt;br /&gt;
=== Download and install ===&lt;br /&gt;
Download the [http://www.cygwin.com/setup.exe Cygwin installer] and execute it. This installer allows you to download and install the Cygwin environment and tools. In order to make Plplot compile on Cygwin you need the following packages:&lt;br /&gt;
&lt;br /&gt;
* Devel/gcc or Devel/gcc4&lt;br /&gt;
* Devel/g++ or Devel/g++4 (for C++ bindings)&lt;br /&gt;
* Devel/gada or Devel/gada4 (for Ada bindings)&lt;br /&gt;
* Devel/gfortran (for f95 bindings)&lt;br /&gt;
* Devel/libqhull-devel&lt;br /&gt;
* Devel/swig&lt;br /&gt;
* Devel/cmake&lt;br /&gt;
* Devel/libtool&lt;br /&gt;
* Devel/make&lt;br /&gt;
&lt;br /&gt;
Recommended packages:&lt;br /&gt;
&lt;br /&gt;
* X11/fontconfig - used by the cairo plotting library, among others&lt;br /&gt;
* development packages for various optional components (cairo, Qt4, ...)&lt;br /&gt;
 &lt;br /&gt;
=== Setup ===&lt;br /&gt;
&lt;br /&gt;
To configure and compile PLplot with Cygwin you need to use the Cygwin-specific version of CMake. Some environment variables need to be set: the path to the shared libraries of PLplot and possibly to LAPACK. Use, for instance, a shell script like:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   # set up the PATH&lt;br /&gt;
   set PLPLOTSRC=path_to_PLplot_source_directory&lt;br /&gt;
   set BUILDDIR=path_to_build_directory_plplot&lt;br /&gt;
   set PATH=$BUILDDIR/dll:$PATH&lt;br /&gt;
&lt;br /&gt;
   # for Python, add the path to LAPACK&lt;br /&gt;
   set PATH=/usr/lib/lapack:$PATH&lt;br /&gt;
&lt;br /&gt;
   # run CMake and make&lt;br /&gt;
   cmake $PLPLOTSRC -G &amp;quot;Unix Makefiles&amp;quot; ... further options ...&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
To run the examples (built with -DBUILD_TEST=ON) you need to add the path to the PLplot shared libraries, for instance the directory $BUILDDIR/dll from above. As environment variables behave in the same way under Cygwin as they do under Linux, you need to have them set in the current process.&lt;br /&gt;
&lt;br /&gt;
=== Experiences (PLplot 5.9.9) under Cygwin ===&lt;br /&gt;
&lt;br /&gt;
Below is a short report on recent (september 2013) experiences with PLplot under Cygwin.&lt;br /&gt;
&lt;br /&gt;
The following configuration was tested:&lt;br /&gt;
&lt;br /&gt;
* MS Windows 7, 64 bits&lt;br /&gt;
* Cygwin, installed using setup.exe version 2.819 (also 64 bits)&lt;br /&gt;
&lt;br /&gt;
To build PLPlot under Cygwin you need to use the version of CMake that comes with Cygwin. Other packages that are required are:&lt;br /&gt;
&lt;br /&gt;
* fontconfig: without this not all drivers can function (notably the cairo-based but also the X Window based drivers)&lt;br /&gt;
* libltdl: for dynamic drivers and shared libraries&lt;br /&gt;
&lt;br /&gt;
The build process requires that you extend the path with the directory to the DLLs that will be created:&lt;br /&gt;
&lt;br /&gt;
    export PATH=/cygdrive/d/plplot-build/dll:$PATH&lt;br /&gt;
&lt;br /&gt;
assuming you build PLplot in the directory d:\plplot-build - the prefix &amp;quot;/cygdrive/d&amp;quot; and the forward slashes are used to reflexct the UNIX syntax, where the disks are not indicated separately.&lt;br /&gt;
&lt;br /&gt;
Below follow specific remarks about the various components of PLplot:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;Python:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If you want to use PLplot with Python, you need to install version 2.7 and remove any references to Python 3 (it may be that version 3 also works, but if you have both installed, some mixture is used in CMake and that does not lead to a successful build.)&lt;br /&gt;
&lt;br /&gt;
You need to install Numpy and LAPACK as well. Because the LAPACK libraries are installed in a separate directory you need to add that directory to the PATH too:&lt;br /&gt;
&lt;br /&gt;
    export PATH=/usr/lib/lapack:$PATH&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;Java:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
There does not seem to be a Java package in this version of Cygwin. An older version did have one as part of the GNU compiler suite, but CMake could not recognise it.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;cairo:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If you want to use the cairo device drivers, then you need to build PLplot with static libraries and static drivers, as currently a strange error occurs during the loading of the cairo driver.&lt;br /&gt;
&lt;br /&gt;
The wincairo device driver is currently turned off, because this depends on a component of the cairo libraries that is not supported by  Cygwin. All other drivers work fine.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;Qt:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
You need to install the development libraries, as the build process requires several development utilities, among which &amp;#039;&amp;#039;&amp;#039;qmake&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;qtwindow&amp;#039;&amp;#039;&amp;#039; device driver currently terminates with an error message that would indicate a programming error in the initialisation. As it works fine under Linux, this seems related to Cygwin rather than PLplot.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;X Window:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The X Window based device drivers (xwin, xqt) work fine, but they are very slow. It is not practical to actually use them.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;This is something that requires further investigation, as this slowness is not inherent to X Window under Cygwin&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;wingcc:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The wingcc device driver (which uses the native windowing capacities of MS Windows 7) works fine and quickly, just as under Windows itself.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;Perl:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The Perl-bindings for PLplot are part of PDL. Only when this port has been completed can this be tested.&lt;br /&gt;
&lt;br /&gt;
All language components that were tested (C, C++, Fortran, Python, Tcl and Tcl/Tk) work fine. The non-interactive tests gave clean results.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Setup_cygwin&amp;diff=2998</id>
		<title>Setup cygwin</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Setup_cygwin&amp;diff=2998"/>
				<updated>2013-09-22T09:32:12Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Setup Cygwin ==&lt;br /&gt;
Cygwin&amp;lt;ref&amp;gt;[http://www.cygwin.com/ Cygwin Homepage]&amp;lt;/ref&amp;gt; is a Linux-like environment for Windows. It consists of two parts:&lt;br /&gt;
* A DLL (cygwin1.dll) which acts as a Linux API emulation layer providing substantial Linux API functionality.&lt;br /&gt;
* A collection of tools which provide Linux look and feel.&lt;br /&gt;
&lt;br /&gt;
The Cygwin DLL currently works with all recent, commercially released x86 32 bit and 64 bit versions of Windows, with the exception of Windows CE.&lt;br /&gt;
&lt;br /&gt;
=== Download and install ===&lt;br /&gt;
Download the [http://www.cygwin.com/setup.exe Cygwin installer] and execute it. This installer allows you to download and install the Cygwin environment and tools. In order to make Plplot compile on Cygwin you need the following packages:&lt;br /&gt;
&lt;br /&gt;
* Devel/gcc or Devel/gcc4&lt;br /&gt;
* Devel/g++ or Devel/g++4 (for C++ bindings)&lt;br /&gt;
* Devel/gada or Devel/gada4 (for Ada bindings)&lt;br /&gt;
* Devel/gfortran (for f95 bindings)&lt;br /&gt;
* Devel/libqhull-devel&lt;br /&gt;
* Devel/swig&lt;br /&gt;
* Devel/cmake&lt;br /&gt;
* Devel/libtool&lt;br /&gt;
* Devel/make&lt;br /&gt;
&lt;br /&gt;
Recommended packages:&lt;br /&gt;
&lt;br /&gt;
* X11/fontconfig - used by the cairo plotting library, among others&lt;br /&gt;
* development packages for various optional components (cairo, Qt4, ...)&lt;br /&gt;
 &lt;br /&gt;
=== Setup ===&lt;br /&gt;
&lt;br /&gt;
=== Experiences (PLplot 5.9.9) under Cygwin ===&lt;br /&gt;
&lt;br /&gt;
Below is a short report on recent (september 2013) experiences with PLplot under Cygwin.&lt;br /&gt;
&lt;br /&gt;
The following configuration was tested:&lt;br /&gt;
&lt;br /&gt;
* MS Windows 7, 64 bits&lt;br /&gt;
* Cygwin, installed using setup.exe version 2.819 (also 64 bits)&lt;br /&gt;
&lt;br /&gt;
To build PLPlot under Cygwin you need to use the version of CMake that comes with Cygwin. Other packages that are required are:&lt;br /&gt;
&lt;br /&gt;
* fontconfig: without this not all drivers can function (notably the cairo-based but also the X Window based drivers)&lt;br /&gt;
* libltdl: for dynamic drivers and shared libraries&lt;br /&gt;
&lt;br /&gt;
The build process requires that you extend the path with the directory to the DLLs that will be created:&lt;br /&gt;
&lt;br /&gt;
    export PATH=/cygdrive/d/plplot-build/dll:$PATH&lt;br /&gt;
&lt;br /&gt;
assuming you build PLplot in the directory d:\plplot-build - the prefix &amp;quot;/cygdrive/d&amp;quot; and the forward slashes are used to reflexct the UNIX syntax, where the disks are not indicated separately.&lt;br /&gt;
&lt;br /&gt;
Below follow specific remarks about the various components of PLplot:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;Python:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If you want to use PLplot with Python, you need to install version 2.7 and remove any references to Python 3 (it may be that version 3 also works, but if you have both installed, some mixture is used in CMake and that does not lead to a successful build.)&lt;br /&gt;
&lt;br /&gt;
You need to install Numpy and LAPACK as well. Because the LAPACK libraries are installed in a separate directory you need to add that directory to the PATH too:&lt;br /&gt;
&lt;br /&gt;
    export PATH=/usr/lib/lapack:$PATH&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;Java:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
There does not seem to be a Java package in this version of Cygwin. An older version did have one as part of the GNU compiler suite, but CMake could not recognise it.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;cairo:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If you want to use the cairo device drivers, then you need to build PLplot with static libraries and static drivers, as currently a strange error occurs during the loading of the cairo driver.&lt;br /&gt;
&lt;br /&gt;
The wincairo device driver is currently turned off, because this depends on a component of the cairo libraries that is not supported by  Cygwin. All other drivers work fine.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;Qt:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
You need to install the development libraries, as the build process requires several development utilities, among which &amp;#039;&amp;#039;&amp;#039;qmake&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;qtwindow&amp;#039;&amp;#039;&amp;#039; device driver currently terminates with an error message that would indicate a programming error in the initialisation. As it works fine under Linux, this seems related to Cygwin rather than PLplot.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;X Window:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The X Window based device drivers (xwin, xqt) work fine, but they are very slow. It is not practical to actually use them.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;This is something that requires further investigation, as this slowness is not inherent to X Window under Cygwin&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;wingcc:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The wingcc device driver (which uses the native windowing capacities of MS Windows 7) works fine and quickly, just as under Windows itself.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;Perl:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The Perl-bindings for PLplot are part of PDL. Only when this port has been completed can this be tested.&lt;br /&gt;
&lt;br /&gt;
All language components that were tested (C, C++, Fortran, Python, Tcl and Tcl/Tk) work fine. The non-interactive tests gave clean results.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Setup_cygwin&amp;diff=2997</id>
		<title>Setup cygwin</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Setup_cygwin&amp;diff=2997"/>
				<updated>2013-09-22T09:30:06Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Setup Cygwin ==&lt;br /&gt;
Cygwin&amp;lt;ref&amp;gt;[http://www.cygwin.com/ Cygwin Homepage]&amp;lt;/ref&amp;gt; is a Linux-like environment for Windows. It consists of two parts:&lt;br /&gt;
* A DLL (cygwin1.dll) which acts as a Linux API emulation layer providing substantial Linux API functionality.&lt;br /&gt;
* A collection of tools which provide Linux look and feel.&lt;br /&gt;
&lt;br /&gt;
The Cygwin DLL currently works with all recent, commercially released x86 32 bit and 64 bit versions of Windows, with the exception of Windows CE.&lt;br /&gt;
&lt;br /&gt;
=== Download and install ===&lt;br /&gt;
Download the [http://www.cygwin.com/setup.exe Cygwin installer] and execute it. This installer allows you to download and install the Cygwin environment and tools. In order to make Plplot compile on Cygwin you need the following packages:&lt;br /&gt;
&lt;br /&gt;
* Devel/gcc or Devel/gcc4&lt;br /&gt;
* Devel/g++ or Devel/g++4 (for C++ bindings)&lt;br /&gt;
* Devel/gada or Devel/gada4 (for Ada bindings)&lt;br /&gt;
* Devel/gfortran (for f95 bindings)&lt;br /&gt;
* Devel/libqhull-devel&lt;br /&gt;
* Devel/swig&lt;br /&gt;
* Devel/cmake&lt;br /&gt;
* Devel/libtool&lt;br /&gt;
* Devel/make&lt;br /&gt;
&lt;br /&gt;
Recommended packages:&lt;br /&gt;
&lt;br /&gt;
* X11/fontconfig - used by the cairo plotting library, among others&lt;br /&gt;
* development packages for various optional components (cairo, Qt4, ...)&lt;br /&gt;
 &lt;br /&gt;
=== Setup ===&lt;br /&gt;
&lt;br /&gt;
=== Experiences (PLplot 5.9.9) under Cygwin ===&lt;br /&gt;
&lt;br /&gt;
Below is a short report on recent (september 2013) experiences with PLplot under Cygwin.&lt;br /&gt;
&lt;br /&gt;
The following configuration was tested:&lt;br /&gt;
&lt;br /&gt;
* MS Windows 7, 64 bits&lt;br /&gt;
* Cygwin, installed using setup.exe version 2.819 (also 64 bits)&lt;br /&gt;
&lt;br /&gt;
To build PLPlot under Cygwin you need to use the version of CMake that comes with Cygwin. Other packages that are required are:&lt;br /&gt;
&lt;br /&gt;
* fontconfig: without this not all drivers can function (notably the cairo-based but also the X Window based drivers)&lt;br /&gt;
* libltdl: for dynamic drivers and shared libraries&lt;br /&gt;
&lt;br /&gt;
The build process requires that you extend the path with the directory to the DLLs that will be created:&lt;br /&gt;
&lt;br /&gt;
    export PATH=/cygdrive/d/plplot-build/dll:$PATH&lt;br /&gt;
&lt;br /&gt;
assuming you build PLplot in the directory d:\plplot-build - the prefix &amp;quot;/cygdrive/d&amp;quot; and the forward slashes are used to reflexct the UNIX syntax, where the disks are not indicated separately.&lt;br /&gt;
&lt;br /&gt;
Below follow specific remarks about the various components of PLplot:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;Python:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If you want to use PLplot with Python, you need to install version 2.7 and remove any references to Python 3 (it may be that version 3 also works, but if you have both installed, some mixture is used in CMake and that does not lead to a successful build.)&lt;br /&gt;
&lt;br /&gt;
You need to install Numpy and LAPACK as well. Because the LAPACK libraries are installed in a separate directory you need to add that directory to the PATH too:&lt;br /&gt;
&lt;br /&gt;
    export PATH=/usr/lib/lapack:$PATH&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;Java:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
There does not seem to be a Java package in this version of Cygwin. An older version did have one as part of the GNU compiler suite, but CMake could not recognise it.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;cairo:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If you want to use the cairo device drivers, then you need to build PLplot with static libraries and static drivers, as currently a strange error occurs during the loading of the cairo driver.&lt;br /&gt;
&lt;br /&gt;
The wincairo device driver is currently turned off, because this depends on a component of the cairo libraries that is not supported by  Cygwin. All other drivers work fine.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;Qt:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
You need to install the development libraries, as the build process requires several development utilities, among which &amp;#039;&amp;#039;&amp;#039;qmake&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;qtwindow&amp;#039;&amp;#039;&amp;#039; device driver currently terminates with an error message that would indicate a programming error in the initialisation. As it works fine under Linux, this seems related to Cygwin rather than PLplot.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;X Window:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The X Window based device drivers (xwin, xqt) work fine, but they are very slow. It is not practical to actually use them.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;wingcc:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The wingcc device driver (which uses the native windowing capacities of MS Windows 7) works fine and quickly, just as under Windows itself.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;Perl:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The Perl-bindings for PLplot are part of PDL. Only when this port has been completed can this be tested.&lt;br /&gt;
&lt;br /&gt;
All language components that were tested (C, C++, Fortran, Python, Tcl and Tcl/Tk) work fine. The non-interactive tests gave clean results.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Configure_PLplot_for_Visual_CXX_CLI&amp;diff=2995</id>
		<title>Configure PLplot for Visual CXX CLI</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Configure_PLplot_for_Visual_CXX_CLI&amp;diff=2995"/>
				<updated>2013-01-05T11:02:25Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;You need a working Visual C++ and CMake installation. &lt;br /&gt;
&lt;br /&gt;
Start a DOS window (command window) - for instance via the Start menu item &amp;quot;Visual Studio Tools/Visual Studio 2008 command prompt&amp;quot;. CMake must be able to run the Visual C/C++ compiler. (You can also use the batch file vcvarsall.bat in the directory &amp;quot;&amp;lt;MSVC++ isntall directory&amp;gt;\VC&amp;quot; to take care of all settings).&lt;br /&gt;
&lt;br /&gt;
Create a new directory for building PLplot (say: d:\build-plplot) and change to that directory.&lt;br /&gt;
Add the directory &amp;quot;d:\build-plplot\dll&amp;quot; to the path.&lt;br /&gt;
&lt;br /&gt;
So the commands are:&lt;br /&gt;
&lt;br /&gt;
 d:&lt;br /&gt;
 mkdir build-plplot&lt;br /&gt;
 cd build-plplot&lt;br /&gt;
 set path=d:\build-plplot\dll;%path%&lt;br /&gt;
&lt;br /&gt;
Now run CMake (assuming CMake is already in the path and sources for PLplot are in &amp;quot;d:\plplot&amp;quot;: &lt;br /&gt;
&lt;br /&gt;
 cmake d:\plplot -G &amp;quot;NMake Makefiles&amp;quot; -DBUILD_TEST=ON&lt;br /&gt;
&lt;br /&gt;
(The latter option ensures that the examples are built. Many more options are available)&lt;br /&gt;
&lt;br /&gt;
Once CMake has generated all the makefiles, you can build the PLplot libraries and examples&lt;br /&gt;
via the nmake command:&lt;br /&gt;
&lt;br /&gt;
 nmake&lt;br /&gt;
&lt;br /&gt;
To install the libraries:&lt;br /&gt;
&lt;br /&gt;
 nmake install&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039; The above assumes you are &amp;#039;&amp;#039;not&amp;#039;&amp;#039; using wxWidgets.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039; With the above receipe you get one single build. You should get into the habit of using separate directories for different builds, even for the &amp;quot;Visual Studio&amp;quot; generator (see below), as this avoids any possibility of clashes and separate build directories are much easier to handle.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Using Python&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If you want to use the Python bindings, please note that the MSVC compiler triggers some special handling within the Python interfacing. To avoid problems, it is best to add the following option to the CMake command:&lt;br /&gt;
&lt;br /&gt;
   -DCMAKE_BUILD_TYPE=Release &lt;br /&gt;
 &lt;br /&gt;
The background for this is described in the [[Install_Python]] page.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Using wxWidgets&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If you do use wxWidgets, here is a slightly adjusted receipe:&lt;br /&gt;
&lt;br /&gt;
(Depending upon how you built wxWidgets you may need to specify additional parameters to the cmake call. Check [[Configuration of wxWidgets driver]] for more details.)&lt;br /&gt;
&lt;br /&gt;
Start a DOS window like before. Now (note the added commands and command options):&lt;br /&gt;
&lt;br /&gt;
 d:&lt;br /&gt;
 mkdir build-plplot&lt;br /&gt;
 cd build-plplot&lt;br /&gt;
 set path=d:\build-plplot\dll;%path%&lt;br /&gt;
&lt;br /&gt;
 set WXWINDLL=%WXWIN%\lib\vc_lib&lt;br /&gt;
&lt;br /&gt;
 cmake d:\plplot -G &amp;quot;NMake Makefiles&amp;quot; -DwxWidgets_LIB_DIR=%WXWINDLL% &lt;br /&gt;
 nmake&lt;br /&gt;
 nmake install&lt;br /&gt;
&lt;br /&gt;
For those who are not familiar with NMake and CMake here is an explanation of what we have just done. Nmake is a command line compiler included with Microsoft VC++ which can be used to build from source. Instead of project files it uses make files. To avoid creating make files for multiple compilers plplot includes CMake files. These are interpreted by CMake, along with the variables specified on the command line, to generate make files for many different compilers. So, in order, we performed the following actions:&lt;br /&gt;
&lt;br /&gt;
 Set up needed paths including MSVC++ paths using vcvarsall&lt;br /&gt;
 Called CMake to generate make files for a specific build&lt;br /&gt;
 Called &amp;quot;Nmake&amp;quot; to build PLplot&lt;br /&gt;
 Called &amp;quot;Nmake install&amp;quot; to move the libraries and header files to the install folder&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Note&amp;#039;&amp;#039;: While it is possible to use the &amp;quot;Visual Studio&amp;quot; generator option, to generate Visual Studio solution and project files, this method does not work fully satisfactorily yet (Check [[Using the Visual Studio generator]]).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Note&amp;#039;&amp;#039;: during the build the various DLLs are put in the subdirectory &amp;quot;dll&amp;quot; under the build directory. It is important that this directory is contained in the path during the build if you use the dynamic drivers facility as otherwise calls to get-drv-info will fail and the drivers won&amp;#039;t be installed successfully. In addition, if you use wxWidgets driver you also must ensure that the wxWidgets DLL itself is in the path as well.&lt;br /&gt;
 &lt;br /&gt;
Alternatively you can use the GUI version of CMake, an easy-to-use user-interface that presents the available build options&lt;br /&gt;
and lets you set them. It is mostly a matter of taste, but:&lt;br /&gt;
* The GUI version provides an overview of the build opions that are available&lt;br /&gt;
* The command-line version is particularly useful if you are experimenting with these options, as it can be run from a batchfile&lt;br /&gt;
&lt;br /&gt;
Some of the options that 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;
* [[Configuration of wxWidgets driver]]&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 may need to copy some files in order to run the examples:&lt;br /&gt;
&lt;br /&gt;
 cd examples\c&lt;br /&gt;
 copy ..\..\..\data\*.fnt .&lt;br /&gt;
&lt;br /&gt;
and additionally some dlls for a shared plplot built:&lt;br /&gt;
&lt;br /&gt;
 copy ..\..\dll\plplotd.dll .&lt;br /&gt;
 copy ..\..\dll\plplotcxxd.dll . (for c++ examples)&lt;br /&gt;
 copy ..\..\dll\csirocsa.dll . (if library was built)&lt;br /&gt;
&lt;br /&gt;
and for the wxWidgets driver (if wxWidgets library is shared):&lt;br /&gt;
&lt;br /&gt;
 copy %WXWIN%\lib\gcc_dll\wxmsw26d_vc_custom.dll .&lt;br /&gt;
&lt;br /&gt;
if this dll is not in the path.&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Install_Python&amp;diff=2994</id>
		<title>Install Python</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Install_Python&amp;diff=2994"/>
				<updated>2013-01-05T10:57:20Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: Emphasize option&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Python2 is the high-level language of choice for many scientific programmers so the PLplot developers have made sure their Python2 bindings and their standard set of 33 Python examples to test and illustrate those bindings are supported in a first-class way.  To make this powerful component of PLplot available on Windows, it is necessary to download a Windows version of Python and NumPy (the subset of SciPy that allows arithmetic operations on scientific arrays at C speeds from Python).&lt;br /&gt;
&lt;br /&gt;
To obtain the latest version of Python2 for Windows, download the Python installer from http://www.python.org/ftp/python/2.7.3/python-2.7.3.msi.  (These instructions assume you have a 32-bit Windows platform which, e.g., is the standard choice for the wine platform even on 64-bit machines.  If you prefer the 64-bit choice for Python, then explore the parent directory of the above URL for MSI files with &amp;quot;amd64&amp;quot; in their name.)  Run the MSI installer.  On Microsoft Windows this is simply an executable file, on wine you need to use the command &amp;quot;wine msiexec /i python-2.7.3.msi&amp;quot;.  After the installer GUI comes up, I recommend making all default choices _except_ for the installation prefix where I suggest you choose something unique which allows you to easily remove and replace Python installations when you need to without interfering with other downloaded software packages.  From here on I assume that prefix is called $PYTHON_PREFIX.&lt;br /&gt;
&lt;br /&gt;
To obtain the latest version of NumPy. download the NumPy installer from http://prdownloads.sourceforge.net/numpy/NumPy/1.5.1/numpy-1.5.1-win32-superpack-python2.7.exe and run it.  (For example, on wine you run that installer with the &amp;quot;wine numpy-1.5.1-win32-superpack-python2.7.exe&amp;quot; command, and I assume you do the same on the Microsoft Windows command-line by dropping &amp;quot;wine&amp;quot; from the command.  When the NumPy installer GUI comes up, my experience is it automatically finds the Python2 installation above for whatever you have chosen for $PYTHON_PREFIX so that I was able to use the default choice in all cases.&lt;br /&gt;
&lt;br /&gt;
After installation of Python2 and Numpy, the remaining steps are to inform CMake (the build system software used by PLplot) of the location of those installs.  To do that prepend the following data to the indicated environment variables which are assumed to be set already.  That assumption is correct in the PATH case, but if CMAKE_LIBRARY_PATH and/or CMAKE_INCLUDE_PATH have not been set up before then drop &amp;quot;:$CMAKE_LIBRARY_PATH&amp;quot; and/or $CMAKE_INCLUDE_PATH from the following commands and use the &amp;quot;export CMAKE_LIBRARY_PATH&amp;quot; and &amp;quot;export CMAKE_INCLUDE_PATH&amp;quot; commands as appropriate.&lt;br /&gt;
&lt;br /&gt;
PATH=$PYTHON_PREFIX:$PATH&lt;br /&gt;
&lt;br /&gt;
CMAKE_LIBRARY_PATH=$PYTHON_PREFIX/libs:$CMAKE_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
CMAKE_INCLUDE_PATH=$PYTHON_PREFIX/Lib/site-packages/numpy/core/include/numpy:$CMAKE_INCLUDE_PATH&lt;br /&gt;
&lt;br /&gt;
CMAKE_INCLUDE_PATH=$PYTHON_PREFIX/include:$CMAKE_INCLUDE_PATH&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Note on using the MS Visual C/C++ compiler with the Python bindings ==&lt;br /&gt;
&lt;br /&gt;
Because of some specific details in the Python-C interfacing, you need to add the option &lt;br /&gt;
&lt;br /&gt;
   -DCMAKE_BUILD_TYPE=Release&lt;br /&gt;
&lt;br /&gt;
when running CMake in combination with the MicroSoft Visual C/C++ compiler and linker.&lt;br /&gt;
&lt;br /&gt;
If you are not interested in the technical details, this is all you need to read.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Technical details&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The Python header file &amp;quot;pyconfig.h&amp;quot;, at least since version 2.7.3 contains the following code:&lt;br /&gt;
&lt;br /&gt;
   /* For an MSVC DLL, we can nominate the .lib files used by extensions */&lt;br /&gt;
   #ifdef MS_COREDLL&lt;br /&gt;
   #       ifndef Py_BUILD_CORE /* not building the core - must be an ext */&lt;br /&gt;
   #               if defined(_MSC_VER)&lt;br /&gt;
                          /* So MSVC users need not specify the .lib file in&lt;br /&gt;
                           their Makefile (other compilers are generally&lt;br /&gt;
                           taken care of by distutils.) */&lt;br /&gt;
   #                       ifdef _DEBUG&lt;br /&gt;
   #                               pragma comment(lib,&amp;quot;python27_d.lib&amp;quot;)&lt;br /&gt;
   #                       else&lt;br /&gt;
   #                               pragma comment(lib,&amp;quot;python27.lib&amp;quot;)&lt;br /&gt;
   #                       endif /* _DEBUG */&lt;br /&gt;
   #               endif /* _MSC_VER */&lt;br /&gt;
   #       endif /* Py_BUILD_CORE */&lt;br /&gt;
   #endif /* MS_COREDLL */       &lt;br /&gt;
&lt;br /&gt;
This introduces a dependency to the python27_d.lib library - which is, however, not part of the ordinary release. As a consequence, the default &amp;quot;Debug&amp;quot; configuration of CMake will fail as this library can not&lt;br /&gt;
be found. &lt;br /&gt;
&lt;br /&gt;
The CMake FindPython module has similar code to handle this debug library in the context of generating the makefiles.&lt;br /&gt;
&lt;br /&gt;
The short story, as indicated above, is: use CMake&amp;#039;s Release configuration/build type in this combination of MSVC/C++ and Python.&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Install_Python&amp;diff=2993</id>
		<title>Install Python</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Install_Python&amp;diff=2993"/>
				<updated>2013-01-05T10:56:19Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Python2 is the high-level language of choice for many scientific programmers so the PLplot developers have made sure their Python2 bindings and their standard set of 33 Python examples to test and illustrate those bindings are supported in a first-class way.  To make this powerful component of PLplot available on Windows, it is necessary to download a Windows version of Python and NumPy (the subset of SciPy that allows arithmetic operations on scientific arrays at C speeds from Python).&lt;br /&gt;
&lt;br /&gt;
To obtain the latest version of Python2 for Windows, download the Python installer from http://www.python.org/ftp/python/2.7.3/python-2.7.3.msi.  (These instructions assume you have a 32-bit Windows platform which, e.g., is the standard choice for the wine platform even on 64-bit machines.  If you prefer the 64-bit choice for Python, then explore the parent directory of the above URL for MSI files with &amp;quot;amd64&amp;quot; in their name.)  Run the MSI installer.  On Microsoft Windows this is simply an executable file, on wine you need to use the command &amp;quot;wine msiexec /i python-2.7.3.msi&amp;quot;.  After the installer GUI comes up, I recommend making all default choices _except_ for the installation prefix where I suggest you choose something unique which allows you to easily remove and replace Python installations when you need to without interfering with other downloaded software packages.  From here on I assume that prefix is called $PYTHON_PREFIX.&lt;br /&gt;
&lt;br /&gt;
To obtain the latest version of NumPy. download the NumPy installer from http://prdownloads.sourceforge.net/numpy/NumPy/1.5.1/numpy-1.5.1-win32-superpack-python2.7.exe and run it.  (For example, on wine you run that installer with the &amp;quot;wine numpy-1.5.1-win32-superpack-python2.7.exe&amp;quot; command, and I assume you do the same on the Microsoft Windows command-line by dropping &amp;quot;wine&amp;quot; from the command.  When the NumPy installer GUI comes up, my experience is it automatically finds the Python2 installation above for whatever you have chosen for $PYTHON_PREFIX so that I was able to use the default choice in all cases.&lt;br /&gt;
&lt;br /&gt;
After installation of Python2 and Numpy, the remaining steps are to inform CMake (the build system software used by PLplot) of the location of those installs.  To do that prepend the following data to the indicated environment variables which are assumed to be set already.  That assumption is correct in the PATH case, but if CMAKE_LIBRARY_PATH and/or CMAKE_INCLUDE_PATH have not been set up before then drop &amp;quot;:$CMAKE_LIBRARY_PATH&amp;quot; and/or $CMAKE_INCLUDE_PATH from the following commands and use the &amp;quot;export CMAKE_LIBRARY_PATH&amp;quot; and &amp;quot;export CMAKE_INCLUDE_PATH&amp;quot; commands as appropriate.&lt;br /&gt;
&lt;br /&gt;
PATH=$PYTHON_PREFIX:$PATH&lt;br /&gt;
&lt;br /&gt;
CMAKE_LIBRARY_PATH=$PYTHON_PREFIX/libs:$CMAKE_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
CMAKE_INCLUDE_PATH=$PYTHON_PREFIX/Lib/site-packages/numpy/core/include/numpy:$CMAKE_INCLUDE_PATH&lt;br /&gt;
&lt;br /&gt;
CMAKE_INCLUDE_PATH=$PYTHON_PREFIX/include:$CMAKE_INCLUDE_PATH&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Note on using the MS Visual C/C++ compiler with the Python bindings ==&lt;br /&gt;
&lt;br /&gt;
Because of some specific details in the Python-C interfacing, you need to add the option -DCMAKE_BUILD_TYPE=Release when running CMake in combination with the MicroSoft Visual C/C++ compiler and linker.&lt;br /&gt;
&lt;br /&gt;
If you are not interested in the technical details, this is all you need to read.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Technical details&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The Python header file &amp;quot;pyconfig.h&amp;quot;, at least since version 2.7.3 contains the following code:&lt;br /&gt;
&lt;br /&gt;
   /* For an MSVC DLL, we can nominate the .lib files used by extensions */&lt;br /&gt;
   #ifdef MS_COREDLL&lt;br /&gt;
   #       ifndef Py_BUILD_CORE /* not building the core - must be an ext */&lt;br /&gt;
   #               if defined(_MSC_VER)&lt;br /&gt;
                          /* So MSVC users need not specify the .lib file in&lt;br /&gt;
                           their Makefile (other compilers are generally&lt;br /&gt;
                           taken care of by distutils.) */&lt;br /&gt;
   #                       ifdef _DEBUG&lt;br /&gt;
   #                               pragma comment(lib,&amp;quot;python27_d.lib&amp;quot;)&lt;br /&gt;
   #                       else&lt;br /&gt;
   #                               pragma comment(lib,&amp;quot;python27.lib&amp;quot;)&lt;br /&gt;
   #                       endif /* _DEBUG */&lt;br /&gt;
   #               endif /* _MSC_VER */&lt;br /&gt;
   #       endif /* Py_BUILD_CORE */&lt;br /&gt;
   #endif /* MS_COREDLL */       &lt;br /&gt;
&lt;br /&gt;
This introduces a dependency to the python27_d.lib library - which is, however, not part of the ordinary release. As a consequence, the default &amp;quot;Debug&amp;quot; configuration of CMake will fail as this library can not&lt;br /&gt;
be found. &lt;br /&gt;
&lt;br /&gt;
The CMake FindPython module has similar code to handle this debug library in the context of generating the makefiles.&lt;br /&gt;
&lt;br /&gt;
The short story, as indicated above, is: use CMake&amp;#039;s Release configuration/build type in this combination of MSVC/C++ and Python.&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Install_Python&amp;diff=2992</id>
		<title>Install Python</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Install_Python&amp;diff=2992"/>
				<updated>2013-01-05T10:55:43Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: Correct formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Python2 is the high-level language of choice for many scientific programmers so the PLplot developers have made sure their Python2 bindings and their standard set of 33 Python examples to test and illustrate those bindings are supported in a first-class way.  To make this powerful component of PLplot available on Windows, it is necessary to download a Windows version of Python and NumPy (the subset of SciPy that allows arithmetic operations on scientific arrays at C speeds from Python).&lt;br /&gt;
&lt;br /&gt;
To obtain the latest version of Python2 for Windows, download the Python installer from http://www.python.org/ftp/python/2.7.3/python-2.7.3.msi.  (These instructions assume you have a 32-bit Windows platform which, e.g., is the standard choice for the wine platform even on 64-bit machines.  If you prefer the 64-bit choice for Python, then explore the parent directory of the above URL for MSI files with &amp;quot;amd64&amp;quot; in their name.)  Run the MSI installer.  On Microsoft Windows this is simply an executable file, on wine you need to use the command &amp;quot;wine msiexec /i python-2.7.3.msi&amp;quot;.  After the installer GUI comes up, I recommend making all default choices _except_ for the installation prefix where I suggest you choose something unique which allows you to easily remove and replace Python installations when you need to without interfering with other downloaded software packages.  From here on I assume that prefix is called $PYTHON_PREFIX.&lt;br /&gt;
&lt;br /&gt;
To obtain the latest version of NumPy. download the NumPy installer from http://prdownloads.sourceforge.net/numpy/NumPy/1.5.1/numpy-1.5.1-win32-superpack-python2.7.exe and run it.  (For example, on wine you run that installer with the &amp;quot;wine numpy-1.5.1-win32-superpack-python2.7.exe&amp;quot; command, and I assume you do the same on the Microsoft Windows command-line by dropping &amp;quot;wine&amp;quot; from the command.  When the NumPy installer GUI comes up, my experience is it automatically finds the Python2 installation above for whatever you have chosen for $PYTHON_PREFIX so that I was able to use the default choice in all cases.&lt;br /&gt;
&lt;br /&gt;
After installation of Python2 and Numpy, the remaining steps are to inform CMake (the build system software used by PLplot) of the location of those installs.  To do that prepend the following data to the indicated environment variables which are assumed to be set already.  That assumption is correct in the PATH case, but if CMAKE_LIBRARY_PATH and/or CMAKE_INCLUDE_PATH have not been set up before then drop &amp;quot;:$CMAKE_LIBRARY_PATH&amp;quot; and/or $CMAKE_INCLUDE_PATH from the following commands and use the &amp;quot;export CMAKE_LIBRARY_PATH&amp;quot; and &amp;quot;export CMAKE_INCLUDE_PATH&amp;quot; commands as appropriate.&lt;br /&gt;
&lt;br /&gt;
PATH=$PYTHON_PREFIX:$PATH&lt;br /&gt;
&lt;br /&gt;
CMAKE_LIBRARY_PATH=$PYTHON_PREFIX/libs:$CMAKE_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
CMAKE_INCLUDE_PATH=$PYTHON_PREFIX/Lib/site-packages/numpy/core/include/numpy:$CMAKE_INCLUDE_PATH&lt;br /&gt;
&lt;br /&gt;
CMAKE_INCLUDE_PATH=$PYTHON_PREFIX/include:$CMAKE_INCLUDE_PATH&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Note on using the MS Visual C/C++ compiler with the Python bindings ==&lt;br /&gt;
&lt;br /&gt;
Because of some specific details in the Python-C interfacing, you need to add the option -DCMAKE_BUILD_TYPE=Release when running CMake in combination with the MicroSoft Visual C/C++ compiler and linker.&lt;br /&gt;
&lt;br /&gt;
If you are not interested in the technical details, this is all you need to read.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Technical details&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The Python header file &amp;quot;pyconfig.h&amp;quot;, at least since version 2.7.3 contains the following code:&lt;br /&gt;
&lt;br /&gt;
   /* For an MSVC DLL, we can nominate the .lib files used by extensions */&lt;br /&gt;
   #ifdef MS_COREDLL&lt;br /&gt;
   #       ifndef Py_BUILD_CORE /* not building the core - must be an ext */&lt;br /&gt;
   #               if defined(_MSC_VER)&lt;br /&gt;
                          /* So MSVC users need not specify the .lib file in&lt;br /&gt;
                           their Makefile (other compilers are generally&lt;br /&gt;
                           taken care of by distutils.) */&lt;br /&gt;
   #                       ifdef _DEBUG&lt;br /&gt;
   #                               pragma comment(lib,&amp;quot;python27_d.lib&amp;quot;)&lt;br /&gt;
   #                       else&lt;br /&gt;
   #                               pragma comment(lib,&amp;quot;python27.lib&amp;quot;)&lt;br /&gt;
   #                       endif /* _DEBUG */&lt;br /&gt;
   #               endif /* _MSC_VER */&lt;br /&gt;
   #       endif /* Py_BUILD_CORE */&lt;br /&gt;
   #endif /* MS_COREDLL */       &lt;br /&gt;
&lt;br /&gt;
This introduces a dependency to the python27_d.lib library - which is, however, not part of the ordinary release. As a consequence, the default &amp;quot;Debug&amp;quot; configuration of CMake will fail as this library can not&lt;br /&gt;
be found. &lt;br /&gt;
&lt;br /&gt;
The CMake FindPython module has similar code to handle this debug library in the context of generating the makefiles.&lt;br /&gt;
&lt;br /&gt;
The short story, as indicated above, is: use CMake&amp;#039;s Release configuration/build type in this combination of MSVC/C++ and Python.&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Install_Python&amp;diff=2991</id>
		<title>Install Python</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Install_Python&amp;diff=2991"/>
				<updated>2013-01-05T10:54:28Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: Add information on MSVC and Python&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Python2 is the high-level language of choice for many scientific programmers so the PLplot developers have made sure their Python2 bindings and their standard set of 33 Python examples to test and illustrate those bindings are supported in a first-class way.  To make this powerful component of PLplot available on Windows, it is necessary to download a Windows version of Python and NumPy (the subset of SciPy that allows arithmetic operations on scientific arrays at C speeds from Python).&lt;br /&gt;
&lt;br /&gt;
To obtain the latest version of Python2 for Windows, download the Python installer from http://www.python.org/ftp/python/2.7.3/python-2.7.3.msi.  (These instructions assume you have a 32-bit Windows platform which, e.g., is the standard choice for the wine platform even on 64-bit machines.  If you prefer the 64-bit choice for Python, then explore the parent directory of the above URL for MSI files with &amp;quot;amd64&amp;quot; in their name.)  Run the MSI installer.  On Microsoft Windows this is simply an executable file, on wine you need to use the command &amp;quot;wine msiexec /i python-2.7.3.msi&amp;quot;.  After the installer GUI comes up, I recommend making all default choices _except_ for the installation prefix where I suggest you choose something unique which allows you to easily remove and replace Python installations when you need to without interfering with other downloaded software packages.  From here on I assume that prefix is called $PYTHON_PREFIX.&lt;br /&gt;
&lt;br /&gt;
To obtain the latest version of NumPy. download the NumPy installer from http://prdownloads.sourceforge.net/numpy/NumPy/1.5.1/numpy-1.5.1-win32-superpack-python2.7.exe and run it.  (For example, on wine you run that installer with the &amp;quot;wine numpy-1.5.1-win32-superpack-python2.7.exe&amp;quot; command, and I assume you do the same on the Microsoft Windows command-line by dropping &amp;quot;wine&amp;quot; from the command.  When the NumPy installer GUI comes up, my experience is it automatically finds the Python2 installation above for whatever you have chosen for $PYTHON_PREFIX so that I was able to use the default choice in all cases.&lt;br /&gt;
&lt;br /&gt;
After installation of Python2 and Numpy, the remaining steps are to inform CMake (the build system software used by PLplot) of the location of those installs.  To do that prepend the following data to the indicated environment variables which are assumed to be set already.  That assumption is correct in the PATH case, but if CMAKE_LIBRARY_PATH and/or CMAKE_INCLUDE_PATH have not been set up before then drop &amp;quot;:$CMAKE_LIBRARY_PATH&amp;quot; and/or $CMAKE_INCLUDE_PATH from the following commands and use the &amp;quot;export CMAKE_LIBRARY_PATH&amp;quot; and &amp;quot;export CMAKE_INCLUDE_PATH&amp;quot; commands as appropriate.&lt;br /&gt;
&lt;br /&gt;
PATH=$PYTHON_PREFIX:$PATH&lt;br /&gt;
&lt;br /&gt;
CMAKE_LIBRARY_PATH=$PYTHON_PREFIX/libs:$CMAKE_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
CMAKE_INCLUDE_PATH=$PYTHON_PREFIX/Lib/site-packages/numpy/core/include/numpy:$CMAKE_INCLUDE_PATH&lt;br /&gt;
&lt;br /&gt;
CMAKE_INCLUDE_PATH=$PYTHON_PREFIX/include:$CMAKE_INCLUDE_PATH&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note on using the MS Visual C/C++ compiler with the Python bindings&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
Because of some specific details in the Python-C interfacing, you need to add the option -DCMAKE_BUILD_TYPE=Release when running CMake in combination with the MicroSoft Visual C/C++ compiler and linker.&lt;br /&gt;
&lt;br /&gt;
If you are not interested in the technical details, this is all you need to read.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Technical details&amp;#039;&amp;#039;&lt;br /&gt;
The Python header file &amp;quot;pyconfig.h&amp;quot;, at least since version 2.7.3 contains the following code:&lt;br /&gt;
&lt;br /&gt;
   /* For an MSVC DLL, we can nominate the .lib files used by extensions */&lt;br /&gt;
   #ifdef MS_COREDLL&lt;br /&gt;
   #       ifndef Py_BUILD_CORE /* not building the core - must be an ext */&lt;br /&gt;
   #               if defined(_MSC_VER)&lt;br /&gt;
                          /* So MSVC users need not specify the .lib file in&lt;br /&gt;
                           their Makefile (other compilers are generally&lt;br /&gt;
                           taken care of by distutils.) */&lt;br /&gt;
   #                       ifdef _DEBUG&lt;br /&gt;
   #                               pragma comment(lib,&amp;quot;python27_d.lib&amp;quot;)&lt;br /&gt;
   #                       else&lt;br /&gt;
   #                               pragma comment(lib,&amp;quot;python27.lib&amp;quot;)&lt;br /&gt;
   #                       endif /* _DEBUG */&lt;br /&gt;
   #               endif /* _MSC_VER */&lt;br /&gt;
   #       endif /* Py_BUILD_CORE */&lt;br /&gt;
   #endif /* MS_COREDLL */       &lt;br /&gt;
&lt;br /&gt;
This introduces a dependency to the python27_d.lib library - which is, however, not part of the ordinary release. As a consequence, the default &amp;quot;Debug&amp;quot; configuration of CMake will fail as this library can not&lt;br /&gt;
be found. &lt;br /&gt;
&lt;br /&gt;
The CMake FindPython module has similar code to handle this debug library in the context of generating the makefiles.&lt;br /&gt;
&lt;br /&gt;
The short story, as indicated above, is: use CMake&amp;#039;s Release configuration/build type in this combination of MSVC/C++ and Python.&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Cairo/pango&amp;diff=2289</id>
		<title>Cairo/pango</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Cairo/pango&amp;diff=2289"/>
				<updated>2010-11-24T07:42:25Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Description ==&lt;br /&gt;
Cairo is a 2D graphics library with support for multiple output devices. Currently supported output targets include the X Window System, Quartz, Win32, image buffers, PostScript, PDF, and SVG file output. Experimental backends include OpenGL (through glitz), XCB, BeOS, OS/2, and DirectFB.&lt;br /&gt;
&lt;br /&gt;
Pango is a library for laying out and rendering of text, with an emphasis on internationalization. Pango can be used anywhere that text layout is needed, though most of the work on Pango so far has been done in the context of the GTK+ widget toolkit. &lt;br /&gt;
&lt;br /&gt;
== Instructions for Windows ==&lt;br /&gt;
&lt;br /&gt;
=== MinGW ===&lt;br /&gt;
For the MinGW toolset it&amp;#039;s best to download the provided Windows binaries form the GTK+ project.&lt;br /&gt;
* Download the all-in-one bundle of the [http://www.gtk.org/download-windows.html Windows GTK+ stack] including 3rd-party dependencies for windows: [http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.20/gtk+-bundle_2.20.0-20100406_win32.zip GTK+ 2.20] or [http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.16/gtk+-bundle_2.16.6-20100207_win32.zip GTK+ 2.16]&lt;br /&gt;
* Unzip the package to a directory, e.g. C:\Development\gtk&lt;br /&gt;
* Set environment variables so that CMake can find pkf-config&lt;br /&gt;
   set PKG_CONFIG_PATH=C:\Development\gtk\lib\pkgconfig&lt;br /&gt;
   set PATH=C:\Development\gtk\bin;%PATH%&lt;br /&gt;
CMake will find pkg-config and all the libraries necessary to build the pdfcairo, pscairo, pngcairo, svgcairo and wincairo devices. xcairo will not be built since the X-Headers are not present on Windows.&lt;br /&gt;
&lt;br /&gt;
=== Visual C++ ===&lt;br /&gt;
If you use the MicroSoft Visual C/C++ (MSVC) compiler (with any compatible additional compilers like Intel Fortran),&lt;br /&gt;
then the receipe remains the same as for MinGW with the GCC compilers: the binaries from the GTK+ project include&lt;br /&gt;
the libraries required by MSVC and the build system automatically finds them if you set the environment as above.&lt;br /&gt;
&lt;br /&gt;
(Note: this was tested for MSVC 9.0 and Intel Fortran 11.1, it may not work with older versions of MSVC, as at some point the calling conventions for DLLs were changed.)&lt;br /&gt;
&lt;br /&gt;
== Instructions for Linux ==&lt;br /&gt;
Usually the cairo/pango libraries are already installed on your Linux distribution, but the developer packages might be missing. E.g. for Ubuntu Linux just install the pango developer package:&lt;br /&gt;
  sudo apt-get install libpango1.0-dev&lt;br /&gt;
Since pango depends on cairo all the necessary developer packages are installed with this command. Similar instructions apply to other Linux distributions.&lt;br /&gt;
&lt;br /&gt;
== Instructions for Mac OS X  ==&lt;br /&gt;
* Download the [http://r.research.att.com/libs/GTK_2.18.5-X11.pkg GTK_2.18.5-X11.pkg] package from [http://r.research.att.com/ http://r.research.att.com/] and install it&lt;br /&gt;
* Add to your .profile file in the home directory:&lt;br /&gt;
 export PATH=/Library/Frameworks/GTK+.framework/Resources/bin:$PATH&lt;br /&gt;
&lt;br /&gt;
cmake is now able to find the cairo/pango libraries via pkg-config.&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Third-party_libraries&amp;diff=2288</id>
		<title>Third-party libraries</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Third-party_libraries&amp;diff=2288"/>
				<updated>2010-11-23T08:09:12Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The core of PLplot as well as most of the drivers depend on third-party libraries. For the PLplot library most dependencies are optional, while drivers are not included if dependencies are not fulfilled. In the following section information about this dependencies for the various operating systems are given.&lt;br /&gt;
&lt;br /&gt;
== PLplot core ==&lt;br /&gt;
* [[qhull]] - ???&lt;br /&gt;
&lt;br /&gt;
== Drivers ==&lt;br /&gt;
* [[aquaterm]] - displays plots, available for Mac OS X&lt;br /&gt;
* [[cairo/pango]] - displays plots and save to different file formats, available for Windows, Linux, Mac OS X&lt;br /&gt;
* [[cgm]] - outputs cgm files&lt;br /&gt;
* [[freetype]] - enables use of ttf fonts for some drivers&lt;br /&gt;
* [[libgd]] - the gd driver is able to output png, jpeg and gif files (&amp;#039;&amp;#039;note:&amp;#039;&amp;#039; deprecated - use cairo/pango instead)&lt;br /&gt;
* [[libharu]] - C library used for the pdf driver&lt;br /&gt;
* [[Qt]] - display plots, output various formats on Windows, Linux and Mac OS X using Qt UI framework&lt;br /&gt;
* [[wxWidgets]] - displays plots, available on Windows, Linux and Mac OS X using wxWidgets library&lt;br /&gt;
&lt;br /&gt;
== Bindings == &lt;br /&gt;
* [[swig]] - connects Plplot C library to Python, Java and Lua&lt;br /&gt;
* [[Lua]] - a powerful, fast, lightweight, embeddable scripting language&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Third-party_libraries&amp;diff=2287</id>
		<title>Third-party libraries</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Third-party_libraries&amp;diff=2287"/>
				<updated>2010-11-23T08:08:53Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The core of PLplot as well as most of the drivers depend on third-party libraries. For the PLplot library most dependencies are optional, while drivers are not included if dependencies are not fulfilled. In the following section information about this dependencies for the various operating systems are given.&lt;br /&gt;
&lt;br /&gt;
== PLplot core ==&lt;br /&gt;
* [[qhull]] - ???&lt;br /&gt;
&lt;br /&gt;
== Drivers ==&lt;br /&gt;
* [[aquaterm]] - displays plots, available for Mac OS X&lt;br /&gt;
* [[cairo/pango]] - displays plots and save to different file formats, available for Windows, Linux, Mac OS X&lt;br /&gt;
* [[cgm]] - outputs cgm files&lt;br /&gt;
* [[freetype]] - enables use of ttf fonts for some drivers&lt;br /&gt;
* [[libgd]] - the gd driver is able to output png, jpeg and gif files (&amp;#039;&amp;#039;note:&amp;#039;&amp;#039; deprecated - use cairo/pnago instead)&lt;br /&gt;
* [[libharu]] - C library used for the pdf driver&lt;br /&gt;
* [[Qt]] - display plots, output various formats on Windows, Linux and Mac OS X using Qt UI framework&lt;br /&gt;
* [[wxWidgets]] - displays plots, available on Windows, Linux and Mac OS X using wxWidgets library&lt;br /&gt;
&lt;br /&gt;
== Bindings == &lt;br /&gt;
* [[swig]] - connects Plplot C library to Python, Java and Lua&lt;br /&gt;
* [[Lua]] - a powerful, fast, lightweight, embeddable scripting language&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Libgd&amp;diff=2286</id>
		<title>Libgd</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Libgd&amp;diff=2286"/>
				<updated>2010-11-23T08:01:19Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Description ==&lt;br /&gt;
&lt;br /&gt;
[http://www.libgd.org gd] is a graphics library. It allows your code to quickly draw images complete with lines, arcs, text, multiple colors, cut and paste from other images, and flood fills, and write out the result as a PNG or JPEG file. This is particularly useful in World Wide Web applications, where PNG and JPEG are two of the formats accepted for inline images by most browsers. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039; This driver has been deprecated in favour of more modern library like libcairo and libpango. See the relevant Wiki pages for these.&lt;br /&gt;
&lt;br /&gt;
== Instructions for Mac OS X ==&lt;br /&gt;
&lt;br /&gt;
N/A&lt;br /&gt;
&lt;br /&gt;
== Instructions for Linux ==&lt;br /&gt;
&lt;br /&gt;
N/A&lt;br /&gt;
&lt;br /&gt;
== Instructions for Windows ==&lt;br /&gt;
&lt;br /&gt;
* Download [http://www.libgd.org/releases/gd-latest-win32.zip gd 2.34 library as zip]&lt;br /&gt;
* Unzip gd-latest-win32.zip into a folder of your choice&lt;br /&gt;
&lt;br /&gt;
=== Set CMake paths ===&lt;br /&gt;
* set environment variables (for MinGW and Visual C++) and add bin directory to PATH&lt;br /&gt;
 set LIBGDDIR=c:\libraries\libgd&lt;br /&gt;
 set PATH=%LIBGDDIR%\bin;%PATH%&lt;br /&gt;
 set CMAKE_INCLUDE_PATH=%LIBGDDIR%\include;%CMAKE_INCLUDE_PATH%&lt;br /&gt;
 set CMAKE_LIBRARY_PATH=%LIBGDDIR%\lib;%CMAKE_LIBRARY_PATH%&lt;br /&gt;
&lt;br /&gt;
CMake is now able to find the libgd library and headers.&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Configure_PLplot_for_the_Visual_Studio_IDE&amp;diff=2284</id>
		<title>Configure PLplot for the Visual Studio IDE</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Configure_PLplot_for_the_Visual_Studio_IDE&amp;diff=2284"/>
				<updated>2010-11-09T12:27:49Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: Created page with &amp;#039;CMake allows you to generate Visual Studio solution and project files.   As of version 2.8.2 of CMake, here are a few caveats:  * If you use Intel Fortran, the solution/project f…&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;CMake allows you to generate Visual Studio solution and project files. &lt;br /&gt;
&lt;br /&gt;
As of version 2.8.2 of CMake, here are a few caveats:&lt;br /&gt;
&lt;br /&gt;
* If you use Intel Fortran, the solution/project files may cause errors when building. These affect only the Fortran libraries and examples. It is due to a small bug in CMake that should be fixed with the next release.&lt;br /&gt;
* For some reason you can not run the examples directly. We have not found out yet what is the matter, but there is a workaround - see below.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Workaround for examples built with Visual Studio&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
* Build the PLplot libraries and examples via the ALL_BUILD project&lt;br /&gt;
* Open a DOS box in the Debug directory for any one of these examples&lt;br /&gt;
* Set the following environment variables:&lt;br /&gt;
&lt;br /&gt;
   set path=&amp;lt;build&amp;gt;\dll\Debug;%PATH% &lt;br /&gt;
   set PLPLOT_DRV_DIR=&amp;lt;build&amp;gt;\drivers    &lt;br /&gt;
   set PLPLOT_LIB=&amp;lt;source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   where: &amp;lt;build&amp;gt; is the directory where PLplot was built&lt;br /&gt;
   and the directory &amp;quot;&amp;lt;source&amp;gt;\data&amp;quot; holds the .pal and .fnt files&lt;br /&gt;
* In this environment you can run the sample program&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Configure_PLplot_for_Visual_CXX_CLI&amp;diff=2283</id>
		<title>Configure PLplot for Visual CXX CLI</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Configure_PLplot_for_Visual_CXX_CLI&amp;diff=2283"/>
				<updated>2010-11-09T12:22:13Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;You need a working Visual C++ and CMake installation. &lt;br /&gt;
&lt;br /&gt;
Start a DOS window (command window) - for instance via the Start menu item &amp;quot;Visual Studio Tools/Visual Studio 2008 command prompt&amp;quot;. CMake must be able to run the Visual C/C++ compiler. (You can also use the batch file vcvarsall.bat in the directory &amp;quot;&amp;lt;MSVC++ isntall directory&amp;gt;\VC&amp;quot; to take care of all settings).&lt;br /&gt;
&lt;br /&gt;
Create a new directory for building PLplot (say: d:\build-plplot) and change to that directory.&lt;br /&gt;
Add the directory &amp;quot;d:\build-plplot\dll&amp;quot; to the path.&lt;br /&gt;
&lt;br /&gt;
So the commands are:&lt;br /&gt;
&lt;br /&gt;
 d:&lt;br /&gt;
 mkdir build-plplot&lt;br /&gt;
 cd build-plplot&lt;br /&gt;
 set path=d:\build-plplot\dll;%path%&lt;br /&gt;
&lt;br /&gt;
Now run CMake (assuming CMake is already in the path and sources for PLplot are in &amp;quot;d:\plplot&amp;quot;: &lt;br /&gt;
&lt;br /&gt;
 cmake d:\plplot -G &amp;quot;NMake Makefiles&amp;quot; -DBUILD_TEST=ON&lt;br /&gt;
&lt;br /&gt;
(The latter option ensures that the examples are built. Many more options are available)&lt;br /&gt;
&lt;br /&gt;
Once CMake has generated all the makefiles, you can build the PLplot libraries and examples&lt;br /&gt;
via the nmake command:&lt;br /&gt;
&lt;br /&gt;
 nmake&lt;br /&gt;
&lt;br /&gt;
To install the libraries:&lt;br /&gt;
&lt;br /&gt;
 nmake install&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039; The above assumes you are &amp;#039;&amp;#039;not&amp;#039;&amp;#039; using wxWidgets.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039; With the above receipe you get one single build. You should get into the habit of using separate directories for different builds, even for the &amp;quot;Visual Studio&amp;quot; generator (see below), as this avoids any possibility of clashes and separate build directories are much easier to handle.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Using wxWidgets&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If you do use wxWidgets, here is a slightly adjusted receipe:&lt;br /&gt;
&lt;br /&gt;
(Depending upon how you built wxWidgets you may need to specify additional parameters to the cmake call. Check [[Configuration of wxWidgets driver]] for more details.)&lt;br /&gt;
&lt;br /&gt;
Start a DOS window like before. Now (note the added commands and command options):&lt;br /&gt;
&lt;br /&gt;
 d:&lt;br /&gt;
 mkdir build-plplot&lt;br /&gt;
 cd build-plplot&lt;br /&gt;
 set path=d:\build-plplot\dll;%path%&lt;br /&gt;
&lt;br /&gt;
 set WXWINDLL=%WXWIN%\lib\vc_lib&lt;br /&gt;
&lt;br /&gt;
 cmake d:\plplot -G &amp;quot;NMake Makefiles&amp;quot; -DwxWidgets_LIB_DIR=%WXWINDLL% &lt;br /&gt;
 nmake&lt;br /&gt;
 nmake install&lt;br /&gt;
&lt;br /&gt;
For those who are not familiar with NMake and CMake here is an explanation of what we have just done. Nmake is a command line compiler included with Microsoft VC++ which can be used to build from source. Instead of project files it uses make files. To avoid creating make files for multiple compilers plplot includes CMake files. These are interpreted by CMake, along with the variables specified on the command line, to generate make files for many different compilers. So, in order, we performed the following actions:&lt;br /&gt;
&lt;br /&gt;
 Set up needed paths including MSVC++ paths using vcvarsall&lt;br /&gt;
 Called CMake to generate make files for a specific build&lt;br /&gt;
 Called &amp;quot;Nmake&amp;quot; to build PLplot&lt;br /&gt;
 Called &amp;quot;Nmake install&amp;quot; to move the libraries and header files to the install folder&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Note&amp;#039;&amp;#039;: While it is possible to use the &amp;quot;Visual Studio&amp;quot; generator option, to generate Visual Studio solution and project files, this method does not work fully satisfactorily yet (Check [[Using the Visual Studio generator]]).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Note&amp;#039;&amp;#039;: during the build the various DLLs are put in the subdirectory &amp;quot;dll&amp;quot; under the build directory. It is important that this directory is contained in the path during the build if you use the dynamic drivers facility as otherwise calls to get-drv-info will fail and the drivers won&amp;#039;t be installed successfully. In addition, if you use wxWidgets driver you also must ensure that the wxWidgets DLL itself is in the path as well.&lt;br /&gt;
 &lt;br /&gt;
Alternatively you can use the GUI version of CMake, an easy-to-use user-interface that presents the available build options&lt;br /&gt;
and lets you set them. It is mostly a matter of taste, but:&lt;br /&gt;
* The GUI version provides an overview of the build opions that are available&lt;br /&gt;
* The command-line version is particularly useful if you are experimenting with these options, as it can be run from a batchfile&lt;br /&gt;
&lt;br /&gt;
Some of the options that 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;
* [[Configuration of wxWidgets driver]]&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 may need to copy some files in order to run the examples:&lt;br /&gt;
&lt;br /&gt;
 cd examples\c&lt;br /&gt;
 copy ..\..\..\data\*.fnt .&lt;br /&gt;
&lt;br /&gt;
and additionally some dlls for a shared plplot built:&lt;br /&gt;
&lt;br /&gt;
 copy ..\..\dll\plplotd.dll .&lt;br /&gt;
 copy ..\..\dll\plplotcxxd.dll . (for c++ examples)&lt;br /&gt;
 copy ..\..\dll\csirocsa.dll . (if library was built)&lt;br /&gt;
&lt;br /&gt;
and for the wxWidgets driver (if wxWidgets library is shared):&lt;br /&gt;
&lt;br /&gt;
 copy %WXWIN%\lib\gcc_dll\wxmsw26d_vc_custom.dll .&lt;br /&gt;
&lt;br /&gt;
if this dll is not in the path.&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Configure_PLplot_for_Visual_CXX_CLI&amp;diff=2282</id>
		<title>Configure PLplot for Visual CXX CLI</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Configure_PLplot_for_Visual_CXX_CLI&amp;diff=2282"/>
				<updated>2010-11-09T12:19:22Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;You need a working Visual C++ and CMake installation. &lt;br /&gt;
&lt;br /&gt;
Start a DOS window (command window) - for instance via the Start menu item &amp;quot;Visual Studio Tools/Visual Studio 2008 command prompt&amp;quot;. CMake must be able to run the Visual C/C++ compiler. (You can also use the batch file vcvarsall.bat in the directory &amp;quot;&amp;lt;MSVC++ isntall directory&amp;gt;\VC&amp;quot; to take care of all settings).&lt;br /&gt;
&lt;br /&gt;
Create a new directory for building PLplot (say: d:\build-plplot) and change to that directory.&lt;br /&gt;
Add the directory &amp;quot;d:\build-plplot\dll&amp;quot; to the path.&lt;br /&gt;
&lt;br /&gt;
So the commands are:&lt;br /&gt;
&lt;br /&gt;
 d:&lt;br /&gt;
 mkdir build-plplot&lt;br /&gt;
 cd build-plplot&lt;br /&gt;
 set path=d:\build-plplot\dll;%path%&lt;br /&gt;
&lt;br /&gt;
Now run CMake (assuming CMake is already in the path and sources for PLplot are in &amp;quot;d:\plplot&amp;quot;: &lt;br /&gt;
&lt;br /&gt;
 cmake d:\plplot -G &amp;quot;NMake Makefiles&amp;quot; -DBUILD_TEST=ON&lt;br /&gt;
&lt;br /&gt;
(The latter option ensures that the examples are built. Many more options are available)&lt;br /&gt;
&lt;br /&gt;
Once CMake has generated all the makefiles, you can build the PLplot libraries and examples&lt;br /&gt;
via the nmake command:&lt;br /&gt;
&lt;br /&gt;
 nmake&lt;br /&gt;
&lt;br /&gt;
To install the libraries:&lt;br /&gt;
&lt;br /&gt;
 nmake install&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039; The above assumes you are &amp;#039;&amp;#039;not&amp;#039;&amp;#039; using wxWidgets.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039; With the above receipe you get one single build. You should get into the habit of using separate directories for different builds, even for the &amp;quot;Visual Studio&amp;quot; generator (see below), as this avoids any possibility of clashes and separate build directories are much easier to handle.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Using wxWidgets&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If you do use wxWidgets, here is a slightly adjusted receipe:&lt;br /&gt;
&lt;br /&gt;
(Depending upon how you built wxWidgets you may need to specify additional parameters to the cmake call. Check [[Configuration of wxWidgets driver]] for more details.)&lt;br /&gt;
&lt;br /&gt;
Start a DOS window like before. Now (note the added commands and command options):&lt;br /&gt;
&lt;br /&gt;
 d:&lt;br /&gt;
 mkdir build-plplot&lt;br /&gt;
 cd build-plplot&lt;br /&gt;
 set path=d:\build-plplot\dll;%path%&lt;br /&gt;
&lt;br /&gt;
 set WXWINDLL=%WXWIN%\lib\vc_lib&lt;br /&gt;
&lt;br /&gt;
 cmake d:\plplot -G &amp;quot;NMake Makefiles&amp;quot; -DwxWidgets_LIB_DIR=%WXWINDLL% &lt;br /&gt;
 nmake&lt;br /&gt;
 nmake install&lt;br /&gt;
&lt;br /&gt;
For those who are not familiar with NMake and CMake here is an explanation of what we have just done. Nmake is a command line compiler included with Microsoft VC++ which can be used to build from source. Instead of project files it uses make files. To avoid creating make files for multiple compilers plplot includes CMake files. These are interpreted by CMake, along with the variables specified on the command line, to generate make files for many different compilers. So, in order, we performed the following actions:&lt;br /&gt;
&lt;br /&gt;
 Set up needed paths including MSVC++ paths using vcvarsall&lt;br /&gt;
 Called CMake to generate make files for a specific build&lt;br /&gt;
 Called &amp;quot;Nmake&amp;quot; to build PLplot&lt;br /&gt;
 Called &amp;quot;Nmake install&amp;quot; to move the libraries and header files to the install folder&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Note&amp;#039;&amp;#039;: during the build the various DLLs are put in the subdirectory &amp;quot;dll&amp;quot; under the build directory. It is important that this directory is contained in the path during the build if you use the dynamic drivers facility as otherwise calls to get-drv-info will fail and the drivers won&amp;#039;t be installed successfully. In addition, if you use wxWidgets driver you also must ensure that the wxWidgets DLL itself is in the path as well.&lt;br /&gt;
 &lt;br /&gt;
Alternatively you can use the GUI version of CMake, an easy-to-use user-interface that presents the available build options&lt;br /&gt;
and lets you set them. It is mostly a matter of taste, but:&lt;br /&gt;
* The GUI version provides an overview of the build opions that are available&lt;br /&gt;
* The command-line version is particularly useful if you are experimenting with these options, as it can be run from a batchfile&lt;br /&gt;
&lt;br /&gt;
Some of the options that 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;
* [[Configuration of wxWidgets driver]]&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 may need to copy some files in order to run the examples:&lt;br /&gt;
&lt;br /&gt;
 cd examples\c&lt;br /&gt;
 copy ..\..\..\data\*.fnt .&lt;br /&gt;
&lt;br /&gt;
and additionally some dlls for a shared plplot built:&lt;br /&gt;
&lt;br /&gt;
 copy ..\..\dll\plplotd.dll .&lt;br /&gt;
 copy ..\..\dll\plplotcxxd.dll . (for c++ examples)&lt;br /&gt;
 copy ..\..\dll\csirocsa.dll . (if library was built)&lt;br /&gt;
&lt;br /&gt;
and for the wxWidgets driver (if wxWidgets library is shared):&lt;br /&gt;
&lt;br /&gt;
 copy %WXWIN%\lib\gcc_dll\wxmsw26d_vc_custom.dll .&lt;br /&gt;
&lt;br /&gt;
if this dll is not in the path.&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Configure_PLplot_for_Visual_CXX_CLI&amp;diff=2281</id>
		<title>Configure PLplot for Visual CXX CLI</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Configure_PLplot_for_Visual_CXX_CLI&amp;diff=2281"/>
				<updated>2010-11-09T12:13:57Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;You need a working Visual C++ and CMake installation. &lt;br /&gt;
&lt;br /&gt;
Start a DOS window (command window) - for instance via the Start menu item &amp;quot;Visual Studio Tools/Visual Studio 2008 command prompt&amp;quot;. CMake must be able to run the Visual C/C++ compiler. (You can also use the batch file vcvarsall.bat in the directory &amp;quot;&amp;lt;MSVC++ isntall directory&amp;gt;\VC&amp;quot; to take care of all settings).&lt;br /&gt;
&lt;br /&gt;
Create a new directory for building PLplot (say: d:\build-plplot) and change to that directory.&lt;br /&gt;
Add the directory &amp;quot;d:\build-plplot\dll&amp;quot; to the path.&lt;br /&gt;
&lt;br /&gt;
So the commands are:&lt;br /&gt;
&lt;br /&gt;
 d:&lt;br /&gt;
 mkdir build-plplot&lt;br /&gt;
 cd build-plplot&lt;br /&gt;
 set path=d:\build-plplot\dll;%path%&lt;br /&gt;
&lt;br /&gt;
Now run CMake (assuming CMake is already in the path and sources for PLplot are in &amp;quot;d:\plplot&amp;quot;: &lt;br /&gt;
&lt;br /&gt;
 cmake d:\plplot -G &amp;quot;NMake Makefiles&amp;quot; -DBUILD_TEST=ON&lt;br /&gt;
&lt;br /&gt;
(The latter option ensures that the examples are built. Many more options are available)&lt;br /&gt;
&lt;br /&gt;
Once CMake has generated all the makefiles, you can build the PLplot libraries and examples&lt;br /&gt;
via the nmake command:&lt;br /&gt;
&lt;br /&gt;
 nmake&lt;br /&gt;
&lt;br /&gt;
To install the libraries:&lt;br /&gt;
&lt;br /&gt;
 nmake install&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039; The above assumes you are &amp;#039;&amp;#039;not&amp;#039;&amp;#039; using wxWidgets.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039; With the above receipe you get one single build. You should get into the habit of using separate directories for different builds, even for the &amp;quot;Visual Studio&amp;quot; generator (see below), as this avoids any possibility of clashes and separate build directories are much easier to handle.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Using wxWidgets&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
If you do use wxWidgets, here is a slightly adjusted receipe:&lt;br /&gt;
&lt;br /&gt;
(Depending upon how you built wxWidgets you may need to specify additional parameters to the cmake call. Check [[Configuration of wxWidgets driver]] for more details.)&lt;br /&gt;
&lt;br /&gt;
Start a DOS window like before. Now (note the added commands and command options):&lt;br /&gt;
&lt;br /&gt;
 d:&lt;br /&gt;
 mkdir build-plplot&lt;br /&gt;
 cd build-plplot&lt;br /&gt;
 set path=d:\build-plplot\dll;%path%&lt;br /&gt;
&lt;br /&gt;
 set WXWINDLL=%WXWIN%\lib\vc_lib&lt;br /&gt;
&lt;br /&gt;
 cmake d:\plplot -G &amp;quot;NMake Makefiles&amp;quot; -DwxWidgets_LIB_DIR=%WXWINDLL% &lt;br /&gt;
 nmake&lt;br /&gt;
 nmake install&lt;br /&gt;
&lt;br /&gt;
For those who are not familiar with NMake and CMake here is an explanation of what we have just done. Nmake is a command line compiler included with Microsoft VC++ which can be used to build from source. Instead of project files it uses make files. To avoid creating make files for multiple compilers plplot includes CMake files. These are interpreted by CMake, along with the variables specified on the command line, to generate make files for many different compilers. So, in order, we performed the following actions:&lt;br /&gt;
&lt;br /&gt;
 Set up needed paths including MSVC++ paths using vcvarsall&lt;br /&gt;
 Called CMake to generate make files for a specific build&lt;br /&gt;
 Called &amp;quot;Nmake&amp;quot; to build PLplot&lt;br /&gt;
 Called &amp;quot;Nmake install&amp;quot; to move the libraries and header files to the install folder&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Note&amp;#039;&amp;#039;: during the build the various DLLs are put in the subdirectory &amp;quot;dll&amp;quot; under the build directory. It is important that this directory is contained in the path during the build if you use the dynamic drivers facility as otherwise calls to get-drv-info will fail and the drivers won&amp;#039;t be installed successfully. In addition, if you use wxWidgets driver you also must ensure that the wxWidgets DLL itself is in the path as well.&lt;br /&gt;
 &lt;br /&gt;
Alternatively you can use the GUI version of CMake, an easy-to-use user-interface that presents the available build options&lt;br /&gt;
and lets you set them. It is mostly a matter of taste, but:&lt;br /&gt;
* The GUI version provides an overview of the build opions that are available&lt;br /&gt;
* The command-line version is particularly useful if you are experimenting with these options, as it can be run from a batchfile&lt;br /&gt;
&lt;br /&gt;
Some of the options that 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;
* [[Configuration of wxWidgets driver]]&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;
 copy ..\..\..\data\*.fnt .&lt;br /&gt;
&lt;br /&gt;
and additionally some dlls for a shared plplot built:&lt;br /&gt;
&lt;br /&gt;
 copy ..\..\dll\plplotd.dll .&lt;br /&gt;
 copy ..\..\dll\plplotcxxd.dll . (for c++ examples)&lt;br /&gt;
 copy ..\..\dll\csirocsa.dll . (if library was built)&lt;br /&gt;
&lt;br /&gt;
and for the wxWidgets driver (if wxWidgets library is shared):&lt;br /&gt;
&lt;br /&gt;
 copy %WXWIN%\lib\gcc_dll\wxmsw26d_vc_custom.dll .&lt;br /&gt;
&lt;br /&gt;
if this dll is not in the path.&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Configure_PLplot_for_Visual_CXX_CLI&amp;diff=2280</id>
		<title>Configure PLplot for Visual CXX CLI</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Configure_PLplot_for_Visual_CXX_CLI&amp;diff=2280"/>
				<updated>2010-11-09T12:01:39Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;You need a working Visual C++ and CMake installation. &lt;br /&gt;
&lt;br /&gt;
Start a DOS window - for instance via the Start menu item &amp;quot;Visual Studio Tools/Visual Studio 2008 command prompt&amp;quot;. CMake must be able to run the Visual C/C++ compiler. (You can also use the batch file vcvarsall.bat in the directory &amp;quot;&amp;lt;MSVC++ isntall directory&amp;gt;\VC&amp;quot; to take care of all settings).&lt;br /&gt;
&lt;br /&gt;
Create a new directory for building PLplot (say: d:\build-plplot) and change to that directory.&lt;br /&gt;
Add the directory &amp;quot;d:\build-plplot\dll&amp;quot; to the path.&lt;br /&gt;
&lt;br /&gt;
So the commands are:&lt;br /&gt;
&lt;br /&gt;
 d:&lt;br /&gt;
 mkdir build-plplot&lt;br /&gt;
 cd build-plplot&lt;br /&gt;
 set path=d:\build-plplot\dll;%path%&lt;br /&gt;
&lt;br /&gt;
Now run CMake (assuming CMake is already in the path and sources for PLplot are in &amp;quot;d:\plplot&amp;quot;: &lt;br /&gt;
&lt;br /&gt;
 cmake d:\plplot -G &amp;quot;NMake Makefiles&amp;quot; -DBUILD_TEST=ON&lt;br /&gt;
&lt;br /&gt;
(The latter option ensures that the examples are built)&lt;br /&gt;
&lt;br /&gt;
Once CMake has generated all the makefiles, you can build the PLplot libraries and examples&lt;br /&gt;
via the nmake command:&lt;br /&gt;
&lt;br /&gt;
 nmake&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039; The above assumes you are &amp;#039;&amp;#039;not&amp;#039;&amp;#039; using wxWidgets.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039; &lt;br /&gt;
&lt;br /&gt;
If you do use wxWidgets, here is a slightly adjusted receipe:&lt;br /&gt;
&lt;br /&gt;
(Depending upon how you built wxWidgets you may need to specify additional parameters to the cmake call. Check [[Configuration of wxWidgets driver]] for more details.)&lt;br /&gt;
 set PLWIN=&amp;lt;directory you extracted the source code to&amp;gt;&lt;br /&gt;
 set WXWINDLL=%WXWIN%\lib\vc_lib&lt;br /&gt;
 cd %PLWIN%&lt;br /&gt;
 call vcvarsall&lt;br /&gt;
 mkdir buildnmake&lt;br /&gt;
 cd buildnmake&lt;br /&gt;
 set PATH=PLWIN\buildnmake\dll;%PATH%&lt;br /&gt;
 cmake -G &amp;quot;NMake Makefiles&amp;quot; -DCMAKE_INSTALL_PREFIX=install .. -DwxWidgets_LIB_DIR=%WXWINDLL% -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON&lt;br /&gt;
 nmake&lt;br /&gt;
 nmake install&lt;br /&gt;
 rename install\bin\plplotcxxd.dll plplotcxx.dll&lt;br /&gt;
 rename install\bin\plplotd.dll plplot.dll&lt;br /&gt;
 rename install\bin\plplotwxwidgetsd.dll plplotwxwidgets.dll&lt;br /&gt;
 rename install\lib\plplotcxxd.lib plplotcxx.lib&lt;br /&gt;
 rename install\lib\plplotd.lib plplot.lib&lt;br /&gt;
 rename install\lib\plplotwxwidgetsd.lib plplotwxwidgets.lib&lt;br /&gt;
 cmake -G &amp;quot;NMake Makefiles&amp;quot; -DCMAKE_INSTALL_PREFIX=install .. -DwxWidgets_LIB_DIR=%WXWINDLL% -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF&lt;br /&gt;
 nmake&lt;br /&gt;
 nmake install&lt;br /&gt;
 rename install\lib\plplotcxxd.lib plplotcxxs.lib&lt;br /&gt;
 rename install\lib\plplotd.lib plplots.lib&lt;br /&gt;
 rename install\lib\plplotwxwidgetsd.lib plplotwxwidgetss.lib&lt;br /&gt;
 cmake -G &amp;quot;NMake Makefiles&amp;quot; -DCMAKE_INSTALL_PREFIX=install .. -DwxWidgets_LIB_DIR=%WXWINDLL% -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=OFF&lt;br /&gt;
 nmake&lt;br /&gt;
 nmake install&lt;br /&gt;
 rename install\lib\plplotcxxd.lib plplotcxxsd.lib&lt;br /&gt;
 rename install\lib\plplotd.lib plplotsd.lib&lt;br /&gt;
 rename install\lib\plplotwxwidgetsd.lib plplotwxwidgetssd.lib&lt;br /&gt;
 cmake -G &amp;quot;NMake Makefiles&amp;quot; -DCMAKE_INSTALL_PREFIX=install .. -DwxWidgets_LIB_DIR=%WXWINDLL% -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=ON&lt;br /&gt;
 nmake&lt;br /&gt;
 nmake install&lt;br /&gt;
&lt;br /&gt;
The commands above will build shared and static debug and release versions of the plplot library and install all files into the directory &amp;lt;tt&amp;gt;plplot\buildnmake\install&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
For those who are not familiar with NMake and CMake here is an explanation of what we have just done. Nmake is a command line compiler included with Microsoft VC++ which can be used to build from source. Instead of project files it uses make files. To avoid creating make files for multiple compilers plplot includes CMake files. These are interpreted by CMake, along with the variables specified on the command line, to generate make files for many different compilers. So, in order, we performed the following actions:&lt;br /&gt;
&lt;br /&gt;
 Set up needed paths including MSVC++ paths using vcvarsall&lt;br /&gt;
 Called CMake to generate make files for static/share and release/debug builds&lt;br /&gt;
 Called Nmake to build PlPlot&lt;br /&gt;
 Called Nmake install to move the libraries and header files to the install folder&lt;br /&gt;
 Renamed the libraries with sensible postfixes to indicate static and debug versions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note&amp;#039;&amp;#039;&amp;#039;: during the build the various DLLs are put in the subdirectory &amp;quot;dll&amp;quot; under the build directory. It is important that this directory is contained in the path during the build if you use the dynamic drivers facility as otherwise calls to get-drv-info will fail and the drivers won&amp;#039;t be installed successfully. In addition, if you use wxWidgets driver you also must ensure that the wxWidgets DLL itself is in the path as well.&lt;br /&gt;
 &lt;br /&gt;
Alternatively you can use the GUI version of CMake, an easy-to-use user-interface that presents the available build options&lt;br /&gt;
and lets you set them. It is mostly a matter of taste, but:&lt;br /&gt;
* The GUI version provides an overview of the build opions that are available&lt;br /&gt;
* The command-line version is particularly useful if you are experimenting with these options, as it can be run from a batchfile&lt;br /&gt;
&lt;br /&gt;
Some of the options that 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;
* [[Configuration of wxWidgets driver]]&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;
 copy ..\..\..\data\*.fnt .&lt;br /&gt;
&lt;br /&gt;
and additionally some dlls for a shared plplot built:&lt;br /&gt;
&lt;br /&gt;
 copy ..\..\dll\plplotd.dll .&lt;br /&gt;
 copy ..\..\dll\plplotcxxd.dll . (for c++ examples)&lt;br /&gt;
 copy ..\..\dll\csirocsa.dll . (if library was built)&lt;br /&gt;
&lt;br /&gt;
and for the wxWidgets driver (if wxWidgets library is shared):&lt;br /&gt;
&lt;br /&gt;
 copy %WXWIN%\lib\gcc_dll\wxmsw26d_vc_custom.dll .&lt;br /&gt;
&lt;br /&gt;
if this dll is not in the path.&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Configure_PLplot_for_Visual_CXX_CLI&amp;diff=2279</id>
		<title>Configure PLplot for Visual CXX CLI</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Configure_PLplot_for_Visual_CXX_CLI&amp;diff=2279"/>
				<updated>2010-11-09T11:56:21Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;You need a working Visual C++ and CMake installation. &lt;br /&gt;
&lt;br /&gt;
Start a DOS window - for instance via the Start menu item &amp;quot;Visual Studio Tools/Visual Studio 2008 command prompt&amp;quot;. CMake must be able to run the Visual C/C++ compiler. (You can also use the batch file vcvarsall.bat in the directory &amp;quot;&amp;lt;MSVC++ isntall directory&amp;gt;\VC&amp;quot; to take care of all settings).&lt;br /&gt;
&lt;br /&gt;
Create a new directory for building PLplot (say: d:\build-plplot) and change to that directory.&lt;br /&gt;
Add the directory &amp;quot;d:\build-plplot\dll&amp;quot; to the path.&lt;br /&gt;
&lt;br /&gt;
So the commands are:&lt;br /&gt;
&lt;br /&gt;
d:&lt;br /&gt;
mkdir build-plplot&lt;br /&gt;
cd build-plplot&lt;br /&gt;
set path=d:\build-plplot\dll;%path%&lt;br /&gt;
&lt;br /&gt;
Now run CMake (assuming CMake is already in the path and sources for PLplot are in &amp;quot;d:\plplot&amp;quot;: &lt;br /&gt;
&lt;br /&gt;
cmake d:\plplot -G &amp;quot;NMake Makefiles&amp;quot; -DBUILD_TEST=ON&lt;br /&gt;
&lt;br /&gt;
(The latter option ensures that the examples are built)\&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 - you located in You should also ensure the following directories are included in your Path variable:&lt;br /&gt;
 &amp;lt;CMake install directory&amp;gt;\bin&lt;br /&gt;
 &amp;lt;MSVC++ install directory&amp;gt;\VC&lt;br /&gt;
 &amp;lt;MSVC++ install directory&amp;gt;\VC\bin&lt;br /&gt;
&lt;br /&gt;
Copy the following commands into a text editor, add the correct directory on the first line and save as a batch file. Start the command line interface and execute the batch file. Of course, if you need, you can issue the commands directly from the command line.&lt;br /&gt;
&lt;br /&gt;
The following commands will work if you are not using wxWidgets. A wxWidgets specific list af commands is below.&lt;br /&gt;
&lt;br /&gt;
 set PLWIN=&amp;lt;directory you extracted the source code to&amp;gt;&lt;br /&gt;
 cd %PLWIN%&lt;br /&gt;
 call vcvarsall&lt;br /&gt;
 mkdir buildnmake&lt;br /&gt;
 cd buildnmake&lt;br /&gt;
 set PATH=PLWIN\buildnmake\dll;%PATH%&lt;br /&gt;
 cmake -G &amp;quot;NMake Makefiles&amp;quot; -DCMAKE_INSTALL_PREFIX=install .. -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON&lt;br /&gt;
 nmake&lt;br /&gt;
 nmake install&lt;br /&gt;
 rename install\bin\plplotcxxd.dll plplotcxx.dll&lt;br /&gt;
 rename install\bin\plplotd.dll plplot.dll&lt;br /&gt;
 rename install\lib\plplotcxxd.lib plplotcxx.lib&lt;br /&gt;
 rename install\lib\plplotd.lib plplot.lib&lt;br /&gt;
 cmake -G &amp;quot;NMake Makefiles&amp;quot; -DCMAKE_INSTALL_PREFIX=install .. -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF&lt;br /&gt;
 nmake&lt;br /&gt;
 nmake install&lt;br /&gt;
 rename install\lib\plplotcxxd.lib plplotcxxs.lib&lt;br /&gt;
 rename install\lib\plplotd.lib plplots.lib&lt;br /&gt;
 cmake -G &amp;quot;NMake Makefiles&amp;quot; -DCMAKE_INSTALL_PREFIX=install .. -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=OFF&lt;br /&gt;
 nmake&lt;br /&gt;
 nmake install&lt;br /&gt;
 rename install\lib\plplotcxxd.lib plplotcxxsd.lib&lt;br /&gt;
 rename install\lib\plplotd.lib plplotsd.lib&lt;br /&gt;
 cmake -G &amp;quot;NMake Makefiles&amp;quot; -DCMAKE_INSTALL_PREFIX=install .. -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=ON&lt;br /&gt;
 nmake&lt;br /&gt;
 nmake install&lt;br /&gt;
&lt;br /&gt;
If you are using wxWidgets then the following commands provide the basics of what is needed. However, depending upon how you built wxWidgets you may need to specify additional parameters to the cmake call. Check [[Configuration of wxWidgets driver]] for more details. For some unknown reason I could not get the shared release version of PLplot to built before the shared debug version. Unfortunately building them the other way round causes the debug version to be overwritten. The easiest solution is to run your batch file twice. The second run allows all libraries to be built.&lt;br /&gt;
&lt;br /&gt;
 set PLWIN=&amp;lt;directory you extracted the source code to&amp;gt;&lt;br /&gt;
 set WXWINDLL=%WXWIN%\lib\vc_lib&lt;br /&gt;
 cd %PLWIN%&lt;br /&gt;
 call vcvarsall&lt;br /&gt;
 mkdir buildnmake&lt;br /&gt;
 cd buildnmake&lt;br /&gt;
 set PATH=PLWIN\buildnmake\dll;%PATH%&lt;br /&gt;
 cmake -G &amp;quot;NMake Makefiles&amp;quot; -DCMAKE_INSTALL_PREFIX=install .. -DwxWidgets_LIB_DIR=%WXWINDLL% -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON&lt;br /&gt;
 nmake&lt;br /&gt;
 nmake install&lt;br /&gt;
 rename install\bin\plplotcxxd.dll plplotcxx.dll&lt;br /&gt;
 rename install\bin\plplotd.dll plplot.dll&lt;br /&gt;
 rename install\bin\plplotwxwidgetsd.dll plplotwxwidgets.dll&lt;br /&gt;
 rename install\lib\plplotcxxd.lib plplotcxx.lib&lt;br /&gt;
 rename install\lib\plplotd.lib plplot.lib&lt;br /&gt;
 rename install\lib\plplotwxwidgetsd.lib plplotwxwidgets.lib&lt;br /&gt;
 cmake -G &amp;quot;NMake Makefiles&amp;quot; -DCMAKE_INSTALL_PREFIX=install .. -DwxWidgets_LIB_DIR=%WXWINDLL% -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF&lt;br /&gt;
 nmake&lt;br /&gt;
 nmake install&lt;br /&gt;
 rename install\lib\plplotcxxd.lib plplotcxxs.lib&lt;br /&gt;
 rename install\lib\plplotd.lib plplots.lib&lt;br /&gt;
 rename install\lib\plplotwxwidgetsd.lib plplotwxwidgetss.lib&lt;br /&gt;
 cmake -G &amp;quot;NMake Makefiles&amp;quot; -DCMAKE_INSTALL_PREFIX=install .. -DwxWidgets_LIB_DIR=%WXWINDLL% -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=OFF&lt;br /&gt;
 nmake&lt;br /&gt;
 nmake install&lt;br /&gt;
 rename install\lib\plplotcxxd.lib plplotcxxsd.lib&lt;br /&gt;
 rename install\lib\plplotd.lib plplotsd.lib&lt;br /&gt;
 rename install\lib\plplotwxwidgetsd.lib plplotwxwidgetssd.lib&lt;br /&gt;
 cmake -G &amp;quot;NMake Makefiles&amp;quot; -DCMAKE_INSTALL_PREFIX=install .. -DwxWidgets_LIB_DIR=%WXWINDLL% -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=ON&lt;br /&gt;
 nmake&lt;br /&gt;
 nmake install&lt;br /&gt;
&lt;br /&gt;
The commands above will build shared and static debug and release versions of the plplot library and install all files into the directory &amp;lt;tt&amp;gt;plplot\buildnmake\install&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
For those who are not familiar with NMake and CMake here is an explanation of what we have just done. Nmake is a command line compiler included with Microsoft VC++ which can be used to build from source. Instead of project files it uses make files. To avoid creating make files for multiple compilers plplot includes CMake files. These are interpreted by CMake, along with the variables specified on the command line, to generate make files for many different compilers. So, in order, we performed the following actions:&lt;br /&gt;
&lt;br /&gt;
 Set up needed paths including MSVC++ paths using vcvarsall&lt;br /&gt;
 Called CMake to generate make files for static/share and release/debug builds&lt;br /&gt;
 Called Nmake to build PlPlot&lt;br /&gt;
 Called Nmake install to move the libraries and header files to the install folder&lt;br /&gt;
 Renamed the libraries with sensible postfixes to indicate static and debug versions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note&amp;#039;&amp;#039;&amp;#039;: during the build the various DLLs are put in the subdirectory &amp;quot;dll&amp;quot; under the build directory. It is important that this directory is contained in the path during the build if you use the dynamic drivers facility as otherwise calls to get-drv-info will fail and the drivers won&amp;#039;t be installed successfully. In addition, if you use wxWidgets driver you also must ensure that the wxWidgets DLL itself is in the path as well.&lt;br /&gt;
 &lt;br /&gt;
Alternatively you can use the GUI version of CMake, an easy-to-use user-interface that presents the available build options&lt;br /&gt;
and lets you set them. It is mostly a matter of taste, but:&lt;br /&gt;
* The GUI version provides an overview of the build opions that are available&lt;br /&gt;
* The command-line version is particularly useful if you are experimenting with these options, as it can be run from a batchfile&lt;br /&gt;
&lt;br /&gt;
Some of the options that 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;
* [[Configuration of wxWidgets driver]]&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;
 copy ..\..\..\data\*.fnt .&lt;br /&gt;
&lt;br /&gt;
and additionally some dlls for a shared plplot built:&lt;br /&gt;
&lt;br /&gt;
 copy ..\..\dll\plplotd.dll .&lt;br /&gt;
 copy ..\..\dll\plplotcxxd.dll . (for c++ examples)&lt;br /&gt;
 copy ..\..\dll\csirocsa.dll . (if library was built)&lt;br /&gt;
&lt;br /&gt;
and for the wxWidgets driver (if wxWidgets library is shared):&lt;br /&gt;
&lt;br /&gt;
 copy %WXWIN%\lib\gcc_dll\wxmsw26d_vc_custom.dll .&lt;br /&gt;
&lt;br /&gt;
if this dll is not in the path.&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Using_PLplot&amp;diff=2195</id>
		<title>Using PLplot</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Using_PLplot&amp;diff=2195"/>
				<updated>2009-09-11T06:49:25Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: Added information on locale settings&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The next step after you have successfully managed to configure and build the PLplot library is to build your own program using PLplot. Basically one has to tell the compiler where to find the include files and the library. This depends on the programming language you use and the platform you are working one. It&amp;#039;s always a good idea to have a look in the &amp;lt;tt&amp;gt;Makefiles&amp;lt;/tt&amp;gt; which on Linux are based in &amp;lt;tt&amp;gt;/usr/local/share/plplot/examples/language&amp;lt;/tt&amp;gt; if you installed PLplot in the standard location.&lt;br /&gt;
&lt;br /&gt;
== Linux ==&lt;br /&gt;
=== C/C++ ===&lt;br /&gt;
If the &amp;lt;tt&amp;gt;pkg-config&amp;lt;/tt&amp;gt; is available and CMake found it during the configuration stage than programs might be compiled for C via:&lt;br /&gt;
 gcc `pkg-config --cflags --libs plplotd` prog.c -o prog&lt;br /&gt;
For C++:&lt;br /&gt;
 g++ `pkg-config --cflags --libs plplotd-c++` prog.cpp -o prog&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
=== C/C++ ===&lt;br /&gt;
&lt;br /&gt;
Although &amp;lt;tt&amp;gt;pkg-config&amp;lt;/tt&amp;gt; is not a standard Windows utility, there is a win32 binary available from [http://www.gtk.org/download-windows.html GTK] [http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config-0.23-2.zip (Direct link)].  Be sure to set the &amp;lt;tt&amp;gt;PKG_CONFIG_PATH&amp;lt;/tt&amp;gt; variable to the &amp;lt;tt&amp;gt;&amp;lt;PLplot install&amp;gt;\lib\pkgconfig&amp;lt;/tt&amp;gt; directory so it can find the PLplot files.  You will still not be able to call &amp;lt;tt&amp;gt;pkg-config&amp;lt;/tt&amp;gt; directly from the gcc/g++ command since the Windows CLI does not support `` (backticks), but at least you can copy and paste the options.&lt;br /&gt;
&lt;br /&gt;
If you built PLplot with the wxWidgets driver, a win32 binary of [http://wxconfig.googlepages.com/ wx-config] [http://wx-config-win.googlecode.com/svn/binary/wx-config.exe (Direct link)] may also be useful.&lt;br /&gt;
&lt;br /&gt;
=== Localization ===&lt;br /&gt;
&lt;br /&gt;
PLplot supports the use of so-called locales (under Windows also known as &amp;#039;&amp;#039;regional settings&amp;#039;&amp;#039;) via, for instance the command-line option &amp;lt;tt&amp;gt;-locale&amp;lt;/tt&amp;gt;. If you give this option, then numeric labels along the axes will be drawn using the decimal separator of the locale.&lt;br /&gt;
&lt;br /&gt;
There is a difference with the way locale settings work under Windows compared to Linux:&lt;br /&gt;
&lt;br /&gt;
- Under Windows the regional settings from the &amp;#039;&amp;#039;Control Panel&amp;#039;&amp;#039; are used. There is apparently no effect from environment variables like LC_NUMERIC&lt;br /&gt;
- The names of locales (you can set them in a C program via the function setlocale()) are different: &amp;lt;tt&amp;gt;Dutch_Netherlands&amp;lt;/tt&amp;gt; for instance, instead of &amp;lt;tt&amp;gt;nl_NL&amp;lt;/tt&amp;gt; under Linux. For other languages there may or may not be direct support.&lt;br /&gt;
- On input a period is used, not the regional character. On output, it &amp;#039;&amp;#039;is&amp;#039;&amp;#039; used.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039; the statements above are based on experiments with MicroSoft Visual C/C++ 6.0 and MicroSoft Visual C/C++ 2008 compilers. It is not clear at the moment if other compilers available under Windows behave in the same way. &lt;br /&gt;
&lt;br /&gt;
The simplest method of using localization on Windows is presumably the use of the &amp;#039;&amp;#039;Regional Settings&amp;#039;&amp;#039; utility from the &amp;#039;&amp;#039;Control Panel&amp;#039;&amp;#039;. &lt;br /&gt;
&lt;br /&gt;
== Mac OS X ==&lt;br /&gt;
=== C/C++ ===&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Todo_List&amp;diff=2103</id>
		<title>Todo List</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Todo_List&amp;diff=2103"/>
				<updated>2009-02-10T08:58:39Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== PLplot Core ==&lt;br /&gt;
&lt;br /&gt;
== Drivers ==&lt;br /&gt;
&lt;br /&gt;
=== wxWidgets ===&lt;br /&gt;
* fix crash in example 14 when master window is closed (ws)&lt;br /&gt;
* only master should handle return key in example 14 (ws)&lt;br /&gt;
&lt;br /&gt;
== Bindings ==&lt;br /&gt;
* finish lua bindings (callbacks, bug fixing) (ws)&lt;br /&gt;
* AGG backend can&amp;#039;t be used in wxWidgets bindings (ws)&lt;br /&gt;
&lt;br /&gt;
* octave style graphics routines follow the style of older octave / matlab versions. Need extensive updating to be more like octave 3.0 (and current matlab). This is a non-trivial exercise, but exceedingly worthwhile. Volunteers? (AR)&lt;br /&gt;
&lt;br /&gt;
* update the Tcl and Tk bindings to use the Tcl_Obj interface (not quite trivial; AM)&lt;br /&gt;
* improve checking for Itcl (AM)&lt;br /&gt;
* investigate crash with Tk (AM)&lt;br /&gt;
* investigate availability of Tk on Windows (turned of for bare Windows - no X11; problems with UNIX-only functions under Cygwin; status MinGW unknown; AM)&lt;br /&gt;
&lt;br /&gt;
* problem with example x19 for Fortran 95 with CVF on Windows: __stdcall. The issue is complicated due to CVF and IVF using different calling conventions (AM)&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
* return should end wxPLplotdemo (ws)&lt;br /&gt;
* backend name in title of wxPLplotdemo (ws)&lt;br /&gt;
* implement all lua examples (ws)&lt;br /&gt;
** Working: 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 18, 24, 30&lt;br /&gt;
** Not Working: 9, 14, 15, 16, 17, 19, 20, 21, 22, 23, 25, 26, 27, 28, 29, 31&lt;br /&gt;
&lt;br /&gt;
* check differences in several F77 examples (x09, x14, x15) on Windows with CVF (AM)&lt;br /&gt;
* fix problem with record length in example x20 for CVF on Windows (AM)&lt;br /&gt;
&lt;br /&gt;
== Platforms ==&lt;br /&gt;
&lt;br /&gt;
* improve support of Cygwin (AM)&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Webpage ==&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
* make test_tcl.sh work under Windows - sh-bang lines, &amp;quot;heredoc&amp;quot; not supported, path problem (AM)&lt;br /&gt;
&lt;br /&gt;
== Done ==&lt;br /&gt;
* &amp;lt;strike&amp;gt;replace the example 14 call in the test scripts, so that it also works in Windows&amp;lt;/strike&amp;gt; (ws)&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Mac_OSX_Status&amp;diff=2102</id>
		<title>Mac OSX Status</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Mac_OSX_Status&amp;diff=2102"/>
				<updated>2009-02-10T08:56:42Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page presents an overview of the status of plplot/CBS on OS-X 10.4/PowerPC.&lt;br /&gt;
&lt;br /&gt;
Status per 17 November 2007, Hazen Babcock (Darwin Kernel Version 8.7.0)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;  &lt;br /&gt;
---------------------------------------------------------+--------------------+      &lt;br /&gt;
Build aspects                                            |   Known to Work    |&lt;br /&gt;
---------------------------------------------------------+--------------------+&lt;br /&gt;
Library options:                                         |                    |&lt;br /&gt;
Static libraries                                         |      untested      |&lt;br /&gt;
Shared libraries (dylib)                                 |        Yes         |&lt;br /&gt;
                                                         |                    |&lt;br /&gt;
Languages:                                               |                    |&lt;br /&gt;
C                      (powerpc-apple-darwin8-gcc-4.0.1) |        Yes         |&lt;br /&gt;
C++                    (powerpc-apple-darwin8-g++-4.0.1) |        Yes         |&lt;br /&gt;
F77                            (GNU Fortran (GCC) 3.4.4) |        Yes (3)     |&lt;br /&gt;
F95                           (GNU Fortran 95 (GCC) 4.3) |        Yes (5)     |&lt;br /&gt;
Java                           (java version &amp;quot;1.5.0_06&amp;quot;) |        Yes         |&lt;br /&gt;
Octave                          (Octave, version 2.1.73) |        No (1)      |&lt;br /&gt;
Perl                                      (perl, v5.8.6) |        Yes         |&lt;br /&gt;
Python                      (Python 2.5, OS-X Framework) |        Yes         |&lt;br /&gt;
Tcl                                  (8.4.10, TclTkAqua) |        Yes         |&lt;br /&gt;
Tk                                   (8.4.10, TclTkAqua) |        Yes         |&lt;br /&gt;
                                                         |                    |&lt;br /&gt;
Drivers:                                                 |                    |&lt;br /&gt;
AquaTerm (aqt)                                           |        Yes         |&lt;br /&gt;
GD (png, jpeg, gif)                                      |        Yes         |&lt;br /&gt;
PBM (pbm)                                                |        Yes         |&lt;br /&gt;
PostScript (ps, psc)                                     |        Yes         |&lt;br /&gt;
TrueType Postscript (psttf, psttfc)                      | Should Work... (2) |&lt;br /&gt;
X11 (xwin)                                               |        Yes         |&lt;br /&gt;
Cairo (xcairo, ...)                                      |        Yes         |&lt;br /&gt;
wxWidgets                                                |        Yes (4)     |&lt;br /&gt;
---------------------------------------------------------+--------------------+&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(1) This used to work but does not currently. Work is in progress to bring Octave back to a working state.&lt;br /&gt;
&lt;br /&gt;
(2) This should work if you can get LASi and all of its dependencies installed correctly. A package manager such as Fink is probably the best way to go.&lt;br /&gt;
&lt;br /&gt;
(3) Both Fortran bindings, f77 and f95, don&amp;#039;t work on Mac OS X 10.5.&lt;br /&gt;
&lt;br /&gt;
(4) Test on Mac OS X 10.5.1 (where wxWidgets 2.8.4 is preinstalled).&lt;br /&gt;
&lt;br /&gt;
(5) One user had difficulties with version 4.2.1 (error messages from libtool) and succeeded with version 4.3 (from MacResearch). As version 4.2.1 is rather old, we recommend this newer version.&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Todo_List&amp;diff=2092</id>
		<title>Todo List</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Todo_List&amp;diff=2092"/>
				<updated>2009-01-27T05:00:00Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== PLplot Core ==&lt;br /&gt;
&lt;br /&gt;
== Drivers ==&lt;br /&gt;
&lt;br /&gt;
=== wxWidgets ===&lt;br /&gt;
* fix crash in example 14 when master window is closed (ws)&lt;br /&gt;
* only master should handle return key in example 14 (ws)&lt;br /&gt;
&lt;br /&gt;
== Bindings ==&lt;br /&gt;
* AGG backend can&amp;#039;t be used in wxWidgets bindings (ws)&lt;br /&gt;
&lt;br /&gt;
* octave style graphics routines follow the style of older octave / matlab versions. Need extensive updating to be more like octave 3.0 (and current matlab). This is a non-trivial exercise, but exceedingly worthwhile. Volunteers? (AR)&lt;br /&gt;
&lt;br /&gt;
* update the Tcl and Tk bindings to use the Tcl_Obj interface (not quite trivial; AM)&lt;br /&gt;
* improve checking for Itcl (AM)&lt;br /&gt;
* investigate crash with Tk (AM)&lt;br /&gt;
* investigate availability of Tk on Windows (turned of for bare Windows - no X11; problems with UNIX-only functions under Cygwin; status MinGW unknown; AM)&lt;br /&gt;
&lt;br /&gt;
* problem with example x19 for Fortran 95 with CVF on Windows: __stdcall. The issue is complicated due to CVF and IVF using different calling conventions (AM)&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
* return should end wxPLplotdemo (ws)&lt;br /&gt;
* backend name in title of wxPLplotdemo (ws)&lt;br /&gt;
&lt;br /&gt;
* check differences in several F77 examples (x09, x14, x15) on Windows with CVF (AM)&lt;br /&gt;
* fix problem with record length in example x20 for CVF on Windows (AM)&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Webpage ==&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
* replace the example 14 call in the test scripts, so that it also works in Windows (ws)&lt;br /&gt;
&lt;br /&gt;
* make test_tcl.sh work under Windows - sh-bang lines, &amp;quot;heredoc&amp;quot; not supported, path problem (AM)&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Todo_List&amp;diff=2091</id>
		<title>Todo List</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Todo_List&amp;diff=2091"/>
				<updated>2009-01-26T12:06:01Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== PLplot Core ==&lt;br /&gt;
&lt;br /&gt;
== Drivers ==&lt;br /&gt;
&lt;br /&gt;
=== wxWidgets ===&lt;br /&gt;
* fix crash in example 14 when master window is closed (ws)&lt;br /&gt;
* only master should handle return key in example 14 (ws)&lt;br /&gt;
&lt;br /&gt;
== Bindings ==&lt;br /&gt;
* AGG backend can&amp;#039;t be used in wxWidgets bindings (ws)&lt;br /&gt;
&lt;br /&gt;
* octave style graphics routines follow the style of older octave / matlab versions. Need extensive updating to be more like octave 3.0 (and current matlab). This is a non-trivial exercise, but exceedingly worthwhile. Volunteers? (AR)&lt;br /&gt;
&lt;br /&gt;
* Update the Tcl and Tk bindings to use the Tcl_Obj interface (AM)&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
* return should end wxPLplotdemo (ws)&lt;br /&gt;
* backend name in title of wxPLplotdemo (ws)&lt;br /&gt;
* check differences in several F77 examples on Windows with CVF (AM)&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Webpage ==&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
* replace the example 14 call in the test scripts, so that it also works in Windows (ws)&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Configure_PLplot_for_Visual_CXX_CLI&amp;diff=2040</id>
		<title>Configure PLplot for Visual CXX CLI</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Configure_PLplot_for_Visual_CXX_CLI&amp;diff=2040"/>
				<updated>2008-11-21T05:33:42Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: Updated some details for building on Windows&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;You need a working Visual C++ installation. Start the command line interface and issue the following commands:&lt;br /&gt;
&lt;br /&gt;
 cd plplot&lt;br /&gt;
 mkdir buildnmake&lt;br /&gt;
 cd buildnmake&lt;br /&gt;
 cmake -G &amp;quot;NMake Makefiles&amp;quot; -DCMAKE_INSTALL_PREFIX=install ..&lt;br /&gt;
 path=...\plplot\buildnmake\dll;%PATH%&lt;br /&gt;
 nmake&lt;br /&gt;
 nmake 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\buildnmake\install&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
(Note: during the build the various DLLs are put in the subdirectory &amp;quot;dll&amp;quot; under the build directory. It is important&lt;br /&gt;
that this directory is contained in the path during the build, if you use the dynamic drivers facility.)&lt;br /&gt;
 &lt;br /&gt;
Alternatively you can use the GUI version of CMake, an easy-to-use user-interface that presents the available build options&lt;br /&gt;
and lets you set them. It is mostly a matter of taste, but:&lt;br /&gt;
* The GUI version provides an overview of the build opions that are available&lt;br /&gt;
* The command-line version is particularly useful if you are experimenting with these options, as it can be run from a batchfile&lt;br /&gt;
&lt;br /&gt;
Some of the options that are available for cmake:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;-DBUILD_SHARED_LIBS=OFF&amp;lt;/tt&amp;gt;: static build of plplot&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;
* [[Configuration of wxWidgets driver]]&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;
 copy ..\..\..\data\*.fnt .&lt;br /&gt;
&lt;br /&gt;
and additionally some dlls for a shared plplot built:&lt;br /&gt;
&lt;br /&gt;
 copy ..\..\dll\plplotd.dll .&lt;br /&gt;
 copy ..\..\dll\plplotcxxd.dll . (for c++ examples)&lt;br /&gt;
 copy ..\..\dll\csirocsa.dll . (if library was built)&lt;br /&gt;
&lt;br /&gt;
and for the wxWidgets driver (if wxWidgets library is shared):&lt;br /&gt;
&lt;br /&gt;
 copy %WXWIN%\lib\gcc_dll\wxmsw26d_vc_custom.dll .&lt;br /&gt;
&lt;br /&gt;
if this dll is not in the path.&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Overview_of_the_status_on_Windows&amp;diff=1905</id>
		<title>Overview of the status on Windows</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Overview_of_the_status_on_Windows&amp;diff=1905"/>
				<updated>2008-01-24T12:28:51Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page presents an overview of the various Windows platforms and the status&lt;br /&gt;
of the CBS for them.&lt;br /&gt;
&lt;br /&gt;
The platforms are &amp;quot;canonical&amp;quot;: we assume typical or often encountered installations.&lt;br /&gt;
For &amp;quot;bare Windows&amp;quot; this means Windows XP, Microsoft Visual C/C++ (version 6.0, 2003 or 2005, but&lt;br /&gt;
currently with an emphasis on version 6.0). For Cygwin and MinGW this is the suite of GCC compilers.&lt;br /&gt;
&lt;br /&gt;
Status per 20 November 2007, Arjen Markus and Werner Smekal&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
----------------------+----------------+----------------+----------------+----------------+----------------+&lt;br /&gt;
Build aspects         |  Bare Windows  |      Cygwin    |      MinGW     |   Borland 5.5  |Open Watcom 1.5 +&lt;br /&gt;
----------------------+----------------+----------------+----------------+----------------+----------------+&lt;br /&gt;
Library options:      |                |                |                |                |                |&lt;br /&gt;
Static libraries      |      Yes       |       Yes      |       Yes      |       Yes      |      Yes       |&lt;br /&gt;
Shared libraries (DLL)|      Yes       |       Yes      |       Yes      |       Yes      |      Yes       |&lt;br /&gt;
Dynamic drivers (6)   |       .        |       Yes      |        .       |        .       |       .        |&lt;br /&gt;
Freetype support      |      Yes       |       Yes      |       Yes      |        .       |       .        |&lt;br /&gt;
QHull support         |      Yes       |        .       |       Yes      |        .       |       .        |&lt;br /&gt;
AGG support           |      Yes       |        .       |       Yes      |        .       |       .        |&lt;br /&gt;
                      |                |                |                |                |                |&lt;br /&gt;
Languages:            |                |                |                |                |                |&lt;br /&gt;
C++                   |      Yes       |       Yes(1)   |       Yes      |        No      |       No(9)    |&lt;br /&gt;
Fortran77             |      Yes(10)   |       Yes(3)   |       Yes      |        -       |                |&lt;br /&gt;
Fortran95             |      Yes(10)   |       Yes      |       Yes(3)   |        .       |       .        |&lt;br /&gt;
Java                  |      Yes       |        .       |        No      |        -       |       -        |&lt;br /&gt;
Perl                  |       .        |        .       |        .       |        -       |       -        |&lt;br /&gt;
Python                |      Yes       |        .       |       Yes      |        -       |       -        |&lt;br /&gt;
Ada                   |       -        |        .       |       Yes      |        -       |       -        |&lt;br /&gt;
Tcl                   |      Yes(4)    |       Yes       |      Yes      |        -       |       -        |&lt;br /&gt;
Tk                    |       .        |       (5)      |        .       |        -       |       -        |&lt;br /&gt;
                      |                |                |                |                |                |&lt;br /&gt;
Drivers:              |                |                |                |                |                |&lt;br /&gt;
PostScript (psc)      |      Yes       |       Yes      |       Yes      |       Yes      |      Yes       |&lt;br /&gt;
PostScript (psttf)    |       .        |        .       |       Yes      |        .       |       .        |&lt;br /&gt;
Wingcc (7)            |      Yes       |       Yes      |       Yes      |        .       |      Yes       |&lt;br /&gt;
gd (png, jpeg, gif)   |      Yes       |       Yes      |       Yes      |       Yes      |      No        |&lt;br /&gt;
wxWidgets             |      Yes       |        .       |       Yes      |        .       |       .        |&lt;br /&gt;
cgm                   |      Yes       |       Yes      |       Yes      |       Yes      |      Yes       |&lt;br /&gt;
svg                   |       .        |        .       |       Yes      |        .       |       .        |&lt;br /&gt;
pdf                   |       .        |        .       |       Yes      |        .       |       .        |&lt;br /&gt;
----------------------+----------------+----------------+----------------+----------------+----------------+&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
&lt;br /&gt;
* A dot (.) simply means this aspect has not yet been tested.&lt;br /&gt;
* A dash (-) means that this option will not be supported for this compiler, as others covers this field.&lt;br /&gt;
* (1) GNU C++ caused a problem on one machine, but others were successful. Something wrong with the toolchain?&lt;br /&gt;
* (2) Obsolete &lt;br /&gt;
* (3) The Fortran compilers used are g77 and gfortran. For MingW it was tested with g95.&lt;br /&gt;
* (4) The build succeeds currently, but pltcl.exe, the shell that is built, is missing DLLs. You need to copy these into the proper directory manually. (And you need to tell it where to find the Tcl initialisation files). &lt;br /&gt;
* (5) The Tk bindings may use more of the X Window library than has been ported to the Cygwin/MinGW platform. There is also the issue of several UNIX specific Tcl routines that have no equivalent on Windows.&lt;br /&gt;
* (6) Dynamically loadable drivers will probably be too much to ask for using bare Windows - it requires a different implementation than the libtool approach used for all other platforms. Update:&lt;br /&gt;
** It appears that libtool does support the Windows platform&lt;br /&gt;
** We will investigate the possibilities for dynamic drivers in the near future&lt;br /&gt;
* (7) The fact that the wingcc driver works under bare Windows, means that the win3 driver is redundant. We could phase it out in due time.&lt;br /&gt;
* (8) (Regarding extra CMake module) Obsolete&lt;br /&gt;
* (9) C++ Bindings are in the moment not available, because of invalid characters in the foldername.&lt;br /&gt;
* (10) Compaq Visual Fortran works now with the extra CMake module, when using shared libraries (DLL). Main issue: the location of all DLLs that are used.&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Configure_PLplot_for_cygwin&amp;diff=1904</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=1904"/>
				<updated>2008-01-24T12:26:22Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: &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>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Configure_PLplot_for_MinGW/CLI&amp;diff=1903</id>
		<title>Configure PLplot for MinGW/CLI</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Configure_PLplot_for_MinGW/CLI&amp;diff=1903"/>
				<updated>2008-01-24T12:18:51Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;You need a working MinGW installation. Start the command line interface (NOT MSYS - see below) and issue the following commands:&lt;br /&gt;
&lt;br /&gt;
 cd plplot&lt;br /&gt;
 mkdir buildmingw&lt;br /&gt;
 cd buildmingw&lt;br /&gt;
 cmake -G &amp;quot;MinGW Makefiles&amp;quot; -DCMAKE_INSTALL_PREFIX=install ..&lt;br /&gt;
 mingw32-make&lt;br /&gt;
 mingw32-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\buildmingw\install&amp;lt;/tt&amp;gt;. The following options are available for cmake:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;-DBUILD_SHARED_LIBS=OFF&amp;lt;/tt&amp;gt;: static build of plplot&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;
* [[Configuration of wxWidgets driver]]&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;
 copy ..\..\..\data\*.fnt .&lt;br /&gt;
&lt;br /&gt;
and additionally some dlls for a shared plplot built:&lt;br /&gt;
&lt;br /&gt;
 copy ..\..\src\libplplotd.dll .&lt;br /&gt;
 copy &amp;quot;..\..\bindings\c++\libplplotcxxd.dll&amp;quot; . (for c++ examples)&lt;br /&gt;
 copy ..\..\lib\csa\libcsirocsa.dll . (if library as built)&lt;br /&gt;
&lt;br /&gt;
and for the wxWidgets driver (if wxWidgets library is shared):&lt;br /&gt;
&lt;br /&gt;
 copy %WXWIN%\lib\gcc_dll\wxmsw26d_gcc_custom.dll .&lt;br /&gt;
&lt;br /&gt;
if this dll is not in the path.&lt;br /&gt;
&lt;br /&gt;
Note on MSYS:&lt;br /&gt;
&lt;br /&gt;
The MSYS command window (rxvt) is somewhat awkward to use with an interactive program. It buffers&lt;br /&gt;
the output, so that the question what device you want (as printed by plinit()) appears only after&lt;br /&gt;
you have given an answer. The nett effect is that the program appears to hang. It is easier to use an &lt;br /&gt;
ordinary DOS-box.&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Overview_of_the_status_on_Windows&amp;diff=1882</id>
		<title>Overview of the status on Windows</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Overview_of_the_status_on_Windows&amp;diff=1882"/>
				<updated>2007-11-20T19:53:55Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page presents an overview of the various Windows platforms and the status&lt;br /&gt;
of the CBS for them.&lt;br /&gt;
&lt;br /&gt;
The platforms are &amp;quot;canonical&amp;quot;: we assume typical or often encountered installations.&lt;br /&gt;
For &amp;quot;bare Windows&amp;quot; this means Windows XP, Microsoft Visual C/C++ (version 6.0, 2003 or 2005, but&lt;br /&gt;
currently with an emphasis on version 6.0). For Cygwin and MinGW this is the suite of GCC compilers.&lt;br /&gt;
&lt;br /&gt;
Status per 20 November 2007, Arjen Markus and Werner Smekal&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
----------------------+----------------+----------------+----------------+----------------+----------------+&lt;br /&gt;
Build aspects         |  Bare Windows  |      Cygwin    |      MinGW     |   Borland 5.5  |Open Watcom 1.5 +&lt;br /&gt;
----------------------+----------------+----------------+----------------+----------------+----------------+&lt;br /&gt;
Library options:      |                |                |                |                |                |&lt;br /&gt;
Static libraries      |      Yes       |       Yes      |       Yes      |       Yes      |      Yes       |&lt;br /&gt;
Shared libraries (DLL)|      Yes       |       Yes      |       Yes      |       Yes      |      Yes       |&lt;br /&gt;
Dynamic drivers (6)   |       .        |       Yes      |        .       |        .       |       .        |&lt;br /&gt;
Freetype support      |      Yes       |       Yes      |       Yes      |        .       |       .        |&lt;br /&gt;
QHull support         |      Yes       |        .       |       Yes      |        .       |       .        |&lt;br /&gt;
AGG support           |      Yes       |        .       |       Yes      |        .       |       .        |&lt;br /&gt;
                      |                |                |                |                |                |&lt;br /&gt;
Languages:            |                |                |                |                |                |&lt;br /&gt;
C++                   |      Yes       |       Yes(1)   |       Yes      |        No      |       No(9)    |&lt;br /&gt;
Fortran77             |      Yes(10)   |       Yes(3)   |       Yes      |        -       |                |&lt;br /&gt;
Fortran95             |      Yes(10)   |       Yes      |       Yes(3)   |        .       |       .        |&lt;br /&gt;
Java                  |      Yes       |        .       |        No      |        -       |       -        |&lt;br /&gt;
Perl                  |       .        |        .       |        .       |        -       |       -        |&lt;br /&gt;
Python                |      Yes       |        .       |       Yes      |        -       |       -        |&lt;br /&gt;
Ada                   |       -        |        .       |       Yes      |        -       |       -        |&lt;br /&gt;
Tcl                   |      Yes(4)    |        .       |        .       |        -       |       -        |&lt;br /&gt;
Tk                    |       .        |       (5)      |        .       |        -       |       -        |&lt;br /&gt;
                      |                |                |                |                |                |&lt;br /&gt;
Drivers:              |                |                |                |                |                |&lt;br /&gt;
PostScript (psc)      |      Yes       |       Yes      |       Yes      |       Yes      |      Yes       |&lt;br /&gt;
PostScript (psttf)    |       .        |        .       |       Yes      |        .       |       .        |&lt;br /&gt;
Wingcc (7)            |      Yes       |       Yes      |       Yes      |        .       |      Yes       |&lt;br /&gt;
gd (png, jpeg, gif)   |      Yes       |       Yes      |       Yes      |       Yes      |      No        |&lt;br /&gt;
wxWidgets             |      Yes       |        .       |       Yes      |        .       |       .        |&lt;br /&gt;
cgm                   |      Yes       |       Yes      |       Yes      |       Yes      |      Yes       |&lt;br /&gt;
svg                   |       .        |        .       |       Yes      |        .       |       .        |&lt;br /&gt;
pdf                   |       .        |        .       |       Yes      |        .       |       .        |&lt;br /&gt;
----------------------+----------------+----------------+----------------+----------------+----------------+&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
&lt;br /&gt;
* A dot (.) simply means this aspect has not yet been tested.&lt;br /&gt;
* A dash (-) means that this option will not be supported for this compiler, as others covers this field.&lt;br /&gt;
* (1) GNU C++ caused a problem on one machine, but others were successful. Something wrong with the toolchain?&lt;br /&gt;
* (2) Obsolete &lt;br /&gt;
* (3) The Fortran compilers used are g77 and gfortran. For MingW it was tested with g95.&lt;br /&gt;
* (4) The build succeeds currently, but pltcl.exe, the shell that is built, is missing DLLs. You need to copy these into the proper directory manually. (And you need to tell it where to find the Tcl initialisation files). Due to these issues, I (AM) have not actually tested this binding yet. &lt;br /&gt;
* (5) Reportedly, the Tk bindings use more of the X Window library than has been ported to the Cygwin/MinGW platform. There is also the issue of several UNIX specific Tcl routines that have no equivalent on Windows.&lt;br /&gt;
* (6) Dynamically loadable drivers will probably be too much to ask for using bare Windows - it requires a different implementation than the libtool approach used for all other platforms. Update:&lt;br /&gt;
** It appears that libtool does support the Windows platform&lt;br /&gt;
** We will investigate the possibilities for dynamic drivers in the near future&lt;br /&gt;
* (7) The fact that the wingcc driver works under bare Windows, means that the win3 driver is redundant. We could phase it out in due time.&lt;br /&gt;
* (8) (Regarding extra CMake module) Obsolete&lt;br /&gt;
* (9) C++ Bindings are in the moment not available, because of invalid characters in the foldername.&lt;br /&gt;
* (10) Compaq Visual Fortran works now with the extra CMake module, when using shared libraries (DLL). Main issue: the location of all DLLs that are used.&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Overview_of_the_status_on_Windows&amp;diff=1881</id>
		<title>Overview of the status on Windows</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Overview_of_the_status_on_Windows&amp;diff=1881"/>
				<updated>2007-11-20T19:53:03Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page presents an overview of the various Windows platforms and the status&lt;br /&gt;
of the CBS for them.&lt;br /&gt;
&lt;br /&gt;
The platforms are &amp;quot;canonical&amp;quot;: we assume typical or often encountered installations.&lt;br /&gt;
For &amp;quot;bare Windows&amp;quot; this means Windows XP, Microsoft Visual C/C++ (version 6.0, 2003 or 2005, but&lt;br /&gt;
currently with an emphasis on version 6.0). For Cygwin and MinGW this is the suite of GCC compilers.&lt;br /&gt;
&lt;br /&gt;
Status per 3rd November 2006, Arjen Markus and Werner Smekal&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
----------------------+----------------+----------------+----------------+----------------+----------------+&lt;br /&gt;
Build aspects         |  Bare Windows  |      Cygwin    |      MinGW     |   Borland 5.5  |Open Watcom 1.5 +&lt;br /&gt;
----------------------+----------------+----------------+----------------+----------------+----------------+&lt;br /&gt;
Library options:      |                |                |                |                |                |&lt;br /&gt;
Static libraries      |      Yes       |       Yes      |       Yes      |       Yes      |      Yes       |&lt;br /&gt;
Shared libraries (DLL)|      Yes       |       Yes      |       Yes      |       Yes      |      Yes       |&lt;br /&gt;
Dynamic drivers (6)   |       .        |       Yes      |        .       |        .       |       .        |&lt;br /&gt;
Freetype support      |      Yes       |       Yes      |       Yes      |        .       |       .        |&lt;br /&gt;
QHull support         |      Yes       |        .       |       Yes      |        .       |       .        |&lt;br /&gt;
AGG support           |      Yes       |        .       |       Yes      |        .       |       .        |&lt;br /&gt;
                      |                |                |                |                |                |&lt;br /&gt;
Languages:            |                |                |                |                |                |&lt;br /&gt;
C++                   |      Yes       |       Yes(1)   |       Yes      |        No      |       No(9)    |&lt;br /&gt;
Fortran77             |      Yes(10)   |       Yes(3)   |       Yes      |        -       |                |&lt;br /&gt;
Fortran95             |      Yes(10)   |       Yes      |       Yes(3)   |        .       |       .        |&lt;br /&gt;
Java                  |      Yes       |        .       |        No      |        -       |       -        |&lt;br /&gt;
Perl                  |       .        |        .       |        .       |        -       |       -        |&lt;br /&gt;
Python                |      Yes       |        .       |       Yes      |        -       |       -        |&lt;br /&gt;
Ada                   |       -        |        .       |       Yes      |        -       |       -        |&lt;br /&gt;
Tcl                   |      Yes(4)    |        .       |        .       |        -       |       -        |&lt;br /&gt;
Tk                    |       .        |       (5)      |        .       |        -       |       -        |&lt;br /&gt;
                      |                |                |                |                |                |&lt;br /&gt;
Drivers:              |                |                |                |                |                |&lt;br /&gt;
PostScript (psc)      |      Yes       |       Yes      |       Yes      |       Yes      |      Yes       |&lt;br /&gt;
PostScript (psttf)    |       .        |        .       |       Yes      |        .       |       .        |&lt;br /&gt;
Wingcc (7)            |      Yes       |       Yes      |       Yes      |        .       |      Yes       |&lt;br /&gt;
gd (png, jpeg, gif)   |      Yes       |       Yes      |       Yes      |       Yes      |      No        |&lt;br /&gt;
wxWidgets             |      Yes       |        .       |       Yes      |        .       |       .        |&lt;br /&gt;
cgm                   |      Yes       |       Yes      |       Yes      |       Yes      |      Yes       |&lt;br /&gt;
svg                   |       .        |        .       |       Yes      |        .       |       .        |&lt;br /&gt;
pdf                   |       .        |        .       |       Yes      |        .       |       .        |&lt;br /&gt;
----------------------+----------------+----------------+----------------+----------------+----------------+&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
&lt;br /&gt;
* A dot (.) simply means this aspect has not yet been tested.&lt;br /&gt;
* A dash (-) means that this option will not be supported for this compiler, as others covers this field.&lt;br /&gt;
* (1) GNU C++ caused a problem on one machine, but others were successful. Something wrong with the toolchain?&lt;br /&gt;
* (2) Obsolete &lt;br /&gt;
* (3) The Fortran compilers used are g77 and gfortran. For MingW it was tested with g95.&lt;br /&gt;
* (4) The build succeeds currently, but pltcl.exe, the shell that is built, is missing DLLs. You need to copy these into the proper directory manually. (And you need to tell it where to find the Tcl initialisation files). Due to these issues, I (AM) have not actually tested this binding yet. &lt;br /&gt;
* (5) Reportedly, the Tk bindings use more of the X Window library than has been ported to the Cygwin/MinGW platform. There is also the issue of several UNIX specific Tcl routines that have no equivalent on Windows.&lt;br /&gt;
* (6) Dynamically loadable drivers will probably be too much to ask for using bare Windows - it requires a different implementation than the libtool approach used for all other platforms. Update:&lt;br /&gt;
** It appears that libtool does support the Windows platform&lt;br /&gt;
** We will investigate the possibilities for dynamic drivers in the near future&lt;br /&gt;
* (7) The fact that the wingcc driver works under bare Windows, means that the win3 driver is redundant. We could phase it out in due time.&lt;br /&gt;
* (8) (Regarding extra CMake module) Obsolete&lt;br /&gt;
* (9) C++ Bindings are in the moment not available, because of invalid characters in the foldername.&lt;br /&gt;
* (10) Compaq Visual Fortran works now with the extra CMake module, when using shared libraries (DLL). Main issue: the location of all DLLs that are used.&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Configure_PLplot_for_cygwin&amp;diff=1880</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=1880"/>
				<updated>2007-11-20T19:47:37Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: &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;. Tcl/Tk bindings and driver need to be disabled (&amp;lt;tt&amp;gt;-DENABLE_tk=OFF -DENABLE_tcl=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;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Overview_of_the_status_on_Windows&amp;diff=1501</id>
		<title>Overview of the status on Windows</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Overview_of_the_status_on_Windows&amp;diff=1501"/>
				<updated>2006-10-30T08:16:13Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page presents an overview of the various Windows platforms and the status&lt;br /&gt;
of the CBS for them.&lt;br /&gt;
&lt;br /&gt;
The platforms are &amp;quot;canonical&amp;quot;: we assume typical or often encountered installations.&lt;br /&gt;
For &amp;quot;bare Windows&amp;quot; this means Windows XP, Microsoft Visual C/C++ (version 6.0, 2003 or 2005, but&lt;br /&gt;
currently with an emphasis on version 6.0). For Cygwin and MinGW this is the suite of GCC compilers.&lt;br /&gt;
&lt;br /&gt;
Status per 4 october 2006, Arjen Markus&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;  &lt;br /&gt;
----------------------+----------------+----------------+----------------+----------------+----------------+&lt;br /&gt;
Build aspects         |  Bare Windows  |      Cygwin    |      MinGW     |   Borland 5.5  |Open Watcom 1.5 +&lt;br /&gt;
----------------------+----------------+----------------+----------------+----------------+----------------+&lt;br /&gt;
Library options:      |                |                |                |                |                |&lt;br /&gt;
Static libraries      |      Yes       |       Yes      |       Yes      |       Yes      |      Yes       |&lt;br /&gt;
Shared libraries (DLL)|      Yes       |       Yes      |        .       |        .       |      Yes       |&lt;br /&gt;
Dynamic drivers (6)   |       .        |        .       |        .       |        .       |                |&lt;br /&gt;
                      |                |                |                |                |                |&lt;br /&gt;
Languages:            |                |                |                |                |                |&lt;br /&gt;
C++                   |      Yes       |       Yes(1)   |        .       |        No      |       No (9)   |&lt;br /&gt;
Fortran               |      Yes(10)   |       Yes(3)   |        .       |        .       |                |&lt;br /&gt;
Java                  |       .        |        .       |        .       |        .       |                |&lt;br /&gt;
Perl                  |       .        |        .       |        .       |        .       |                |&lt;br /&gt;
Python                |       .        |        .       |        .       |        .       |                |&lt;br /&gt;
Tcl                   |      Yes(4)    |        .       |        .       |        .       |                |&lt;br /&gt;
Tk                    |       .        |       (5)      |        .       |        .       |                |&lt;br /&gt;
                      |                |                |                |                |                |&lt;br /&gt;
Drivers:              |                |                |                |                |                |&lt;br /&gt;
PostScript            |      Yes       |       Yes      |       Yes      |       Yes      |      Yes       |&lt;br /&gt;
Wingcc (7)            |      Yes       |       Yes      |       Yes      |        .       |      Yes       |&lt;br /&gt;
----------------------+----------------+----------------+----------------+----------------+----------------+&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
&lt;br /&gt;
* A dot (.) simply means this aspect has not yet been tested&lt;br /&gt;
* (1) GNU C++ caused a problem on one machine, but others were successful. Something wrong with the toolchain?&lt;br /&gt;
* (2) Obsolete &lt;br /&gt;
* (3) The Fortran compiler used is gfortran&lt;br /&gt;
* (4) The build succeeds currently, but pltcl.exe, the shell that is built, is missing DLLs. You need to copy these into the proper directory manually. (And you need to tell it where to find the Tcl initialisation files). Due to these issues, I (AM) have not actually tested this binding yet. &lt;br /&gt;
* (5) Reportedly, the Tk bindings use more of the X Window library than has been ported to the Cygwin/MinGW platform. There is also the issue of several UNIX specific Tcl routines that have no equivalent on Windows.&lt;br /&gt;
* (6) Dynamically loadable drivers will probably be too much to ask for using bare Windows - it requires a different implementation than the libtool approach used for all other platforms. Update:&lt;br /&gt;
** It appears that libtool does support the Windows platform&lt;br /&gt;
** We will investigate the possibilities for dynamic drivers in the near future&lt;br /&gt;
* (7) The fact that the wingcc driver works under bare Windows, means that the win3 driver is redundant. We could phase it out in due time.&lt;br /&gt;
* (8) With an additional module for CMake I (AM) got it to work. Some caveats at this moment (4 october 2006):&lt;br /&gt;
** I turned off shared libraries - the Fortran bindings require compiler-directives to export the various routines&lt;br /&gt;
** I needed to add the option /force to prevent the different default libraries (notably msvcrtd.dll and libc.lib) from causing errors about multiply defined symbols. This is a common enough problem under Windows.&lt;br /&gt;
See note 10.&lt;br /&gt;
* (9) C++ Bindings are in the moment not available, because of invalid characters in the foldername.&lt;br /&gt;
* (10) CVF works now with the extra CMake module, when using shared libraries (DLL). Main issue: the location of all DLLs that are used.&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Overview_of_the_status_on_Windows&amp;diff=1490</id>
		<title>Overview of the status on Windows</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Overview_of_the_status_on_Windows&amp;diff=1490"/>
				<updated>2006-10-04T06:49:14Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page presents an overview of the various Windows platforms and the status&lt;br /&gt;
of the CBS for them.&lt;br /&gt;
&lt;br /&gt;
The platforms are &amp;quot;canonical&amp;quot;: we assume typical or often encountered installations.&lt;br /&gt;
For &amp;quot;bare Windows&amp;quot; this means Windows XP, Microsoft Visual C/C++ (version 6.0, 2003 or 2005, but&lt;br /&gt;
currently with an emphasis on version 6.0). For Cygwin and MinGW this is the suite of GCC compilers.&lt;br /&gt;
&lt;br /&gt;
Status per 4 october 2006, Arjen Markus&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;  &lt;br /&gt;
----------------------+--------------------+--------------------+--------------------+--------------------+               &lt;br /&gt;
Build aspects         |    Bare Windows    |        Cygwin      |        MinGW       |     Borland 5.5    |&lt;br /&gt;
----------------------+--------------------+--------------------+--------------------+--------------------+&lt;br /&gt;
Library options:      |                    |                    |                    |                    |&lt;br /&gt;
Static libraries      |        Yes         |         Yes        |         Yes        |         Yes        |&lt;br /&gt;
Shared libraries (DLL)|        Yes         |         Yes        |          .         |          .         |&lt;br /&gt;
Dynamic drivers (6)   |         .          |          .         |          .         |          .         |&lt;br /&gt;
                      |                    |                    |                    |                    |&lt;br /&gt;
Languages:            |                    |                    |                    |                    |&lt;br /&gt;
C++                   |        Yes         |         Yes(1)     |          .         |          No        |&lt;br /&gt;
Fortran               |        Yes(2,8)    |         Yes(3)     |          .         |          .         |&lt;br /&gt;
Java                  |         .          |          .         |          .         |          .         |&lt;br /&gt;
Perl                  |         .          |          .         |          .         |          .         |&lt;br /&gt;
Python                |         .          |          .         |          .         |          .         |&lt;br /&gt;
Tcl                   |        Yes(4)      |          .         |          .         |          .         |&lt;br /&gt;
Tk                    |         .          |         (5)        |          .         |          .         |&lt;br /&gt;
                      |                    |                    |                    |                    |&lt;br /&gt;
Drivers:              |                    |                    |                    |                    |&lt;br /&gt;
PostScript            |        Yes         |         Yes        |         Yes        |         Yes        |&lt;br /&gt;
Wingcc (7)            |        Yes         |         Yes        |         Yes        |          .         |&lt;br /&gt;
----------------------+--------------------+--------------------+--------------------+--------------------+&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
&lt;br /&gt;
* A dot (.) simply means this aspect has not yet been tested&lt;br /&gt;
* (1) GNU C++ caused a problem on one machine, but others were successful. Something wrong with the toolchain?&lt;br /&gt;
* (2) The compiler that was used, Compaq Visual Fortran, complains about the full name of the object files that CMake passes (these are in UNIX-style). This means that CMake currently does not support CVF. See also note 8.&lt;br /&gt;
* (3) The Fortran compiler used is gfortran&lt;br /&gt;
* (4) The build succeeds currently, but pltcl.exe, the shell that is built, is missing DLLs. You need to copy these into the proper directory manually. (And you need to tell it where to find the Tcl initialisation files). Due to these issues, I (AM) have not actually tested this binding yet. &lt;br /&gt;
* (5) Reportedly, the Tk bindings use more of the X Window library than has been ported to the Cygwin/MinGW platform. There is also the issue of several UNIX specific Tcl routines that have no equivalent on Windows.&lt;br /&gt;
* (6) Dynamically loadable drivers will probably be too much to ask for using bare Windows - it requires a different implementation than the libtool approach used for all other platforms. Update:&lt;br /&gt;
** It appears that libtool does support the Windows platform&lt;br /&gt;
** We will investigate the possibilities for dynamic drivers in the near future&lt;br /&gt;
* (7) The fact that the wingcc driver works under bare Windows, means that the win3 driver is redundant. We could phase it out in due time.&lt;br /&gt;
* (8) With an additional module for CMake I (AM) got it to work. Some caveats at this moment (4 october 2006):&lt;br /&gt;
** I turned off shared libraries - the Fortran bindings require compiler-directives to export the various routines&lt;br /&gt;
** I needed to add the option /force to prevent the different default libraries (notably msvcrtd.dll and libc.lib) from causing errors about multiply defined symbols. This is a common enough problem under Windows.&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Overview_of_the_status_on_Windows&amp;diff=1474</id>
		<title>Overview of the status on Windows</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Overview_of_the_status_on_Windows&amp;diff=1474"/>
				<updated>2006-09-21T08:35:23Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page presents an overview of the various Windows platforms and the status&lt;br /&gt;
of the CBS for them.&lt;br /&gt;
&lt;br /&gt;
The platforms are &amp;quot;canonical&amp;quot;: we assume typical or often encountered installations.&lt;br /&gt;
For &amp;quot;bare Windows&amp;quot; this means Windows XP, Microsoft Visual C/C++ (version 6.0, 2003 or 2005, but&lt;br /&gt;
currently with an emphasis on version 6.0). For Cygwin and MinGW this is the suite of GCC compilers.&lt;br /&gt;
&lt;br /&gt;
Status per 21 september 2006, Arjen Markus&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;  &lt;br /&gt;
----------------------+--------------------+--------------------+--------------------+--------------------+               &lt;br /&gt;
Build aspects         |    Bare Windows    |        Cygwin      |        MinGW       |     Borland 5.5    |&lt;br /&gt;
----------------------+--------------------+--------------------+--------------------+--------------------+&lt;br /&gt;
Library options:      |                    |                    |                    |                    |&lt;br /&gt;
Static libraries      |        Yes         |         Yes        |         Yes        |         Yes        |&lt;br /&gt;
Shared libraries (DLL)|        Yes         |         Yes        |          .         |          .         |&lt;br /&gt;
Dynamic drivers (6)   |         .          |          .         |          .         |          .         |&lt;br /&gt;
                      |                    |                    |                    |                    |&lt;br /&gt;
Languages:            |                    |                    |                    |                    |&lt;br /&gt;
C++                   |        Yes         |         Yes(1)     |          .         |          No        |&lt;br /&gt;
Fortran               |        No(2)       |         Yes(3)     |          .         |          .         |&lt;br /&gt;
Java                  |         .          |          .         |          .         |          .         |&lt;br /&gt;
Perl                  |         .          |          .         |          .         |          .         |&lt;br /&gt;
Python                |         .          |          .         |          .         |          .         |&lt;br /&gt;
Tcl                   |        Yes(4)      |          .         |          .         |          .         |&lt;br /&gt;
Tk                    |         .          |         (5)        |          .         |          .         |&lt;br /&gt;
                      |                    |                    |                    |                    |&lt;br /&gt;
Drivers:              |                    |                    |                    |                    |&lt;br /&gt;
PostScript            |        Yes         |         Yes        |         Yes        |         Yes        |&lt;br /&gt;
Wingcc (7)            |        Yes         |         Yes        |         Yes        |          .         |&lt;br /&gt;
----------------------+--------------------+--------------------+--------------------+--------------------+&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
&lt;br /&gt;
* A dot (.) simply means this aspect has not yet been tested&lt;br /&gt;
* (1) GNU C++ caused a problem on one machine, but others were successful. Something wrong with the toolchain?&lt;br /&gt;
* (2) The compiler that was used, Compaq Visual Fortran, complains about the full name of the object files that CMake passes (these are in UNIX-style). This means that CMake currently does not support CVF.&lt;br /&gt;
* (3) The Fortran compiler used is gfortran&lt;br /&gt;
* (4) The build succeeds currently, but pltcl.exe, the shell that is built, is missing DLLs. You need to copy these into the proper directory manually. (And you need to tell it where to find the Tcl initialisation files). Due to these issues, I (AM) have not actually tested this binding yet. &lt;br /&gt;
* (5) Reportedly, the Tk bindings use more of the X Window library than has been ported to the Cygwin/MinGW platform. There is also the issue of several UNIX specific Tcl routines that have no equivalent on Windows.&lt;br /&gt;
* (6) Dynamically loadable drivers will probably be too much to ask for using bare Windows - it requires a different implementation than the libtool approach used for all other platforms.&lt;br /&gt;
* (7) The fact that the wingcc driver works under bare Windows, means that the win3 driver is redundant. We could phase it out in due time.&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Overview_of_the_status_on_Windows&amp;diff=1467</id>
		<title>Overview of the status on Windows</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Overview_of_the_status_on_Windows&amp;diff=1467"/>
				<updated>2006-09-19T12:50:00Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page presents an overview of the various Windows platforms and the status&lt;br /&gt;
of the CBS for them.&lt;br /&gt;
&lt;br /&gt;
The platforms are &amp;quot;canonical&amp;quot;: we assume typical or often encountered installations.&lt;br /&gt;
For &amp;quot;bare Windows&amp;quot; this means Windows XP, MicroSoft Visual C/C++ (version 6.0, 2003 or 2005, but&lt;br /&gt;
currently with an emphasis on version 6.0). For Cygwin and MinGW this is the suite of GCC compilers.&lt;br /&gt;
&lt;br /&gt;
Status per 19 september 2006, Arjen Markus&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;  &lt;br /&gt;
----------------------+--------------------+--------------------+--------------------+               &lt;br /&gt;
Build aspects         |    Bare Windows    |        Cygwin      |        MinGW       |&lt;br /&gt;
----------------------+--------------------+--------------------+--------------------+&lt;br /&gt;
Static libraries      |        Yes         |         Yes        |         Yes        |&lt;br /&gt;
Shared libraries (DLL)|        Yes         |         Yes        |          .         |&lt;br /&gt;
C++                   |        Yes         |         Yes(1)     |          .         |&lt;br /&gt;
Fortran               |        No(2)       |         Yes(3)     |          .         |&lt;br /&gt;
Java                  |         .          |          .         |          .         |&lt;br /&gt;
Perl                  |         .          |          .         |          .         |&lt;br /&gt;
Python                |         .          |          .         |          .         |&lt;br /&gt;
Tcl                   |        Yes(4)      |          .         |          .         |&lt;br /&gt;
Tk                    |         .          |         (5)        |          .         |&lt;br /&gt;
----------------------+--------------------+--------------------+--------------------+&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
&lt;br /&gt;
* A dot (.) simply means this aspect has not yet been tested&lt;br /&gt;
* (1) GNU C++ caused a problem on one machine, but others were successful. Something wrong with the toolchain?&lt;br /&gt;
* (2) The compiler that was used, Compaq Visual Fortran, complains about the full name of the object files that CMake passes (these are in UNIX-style). This means that CMake currently does not support CVF.&lt;br /&gt;
* (3) The Fortran compiler used is gfortran&lt;br /&gt;
* (4) The build succeeds currently, but pltcl.exe, the shell that is built, stops immediately. Most likely a problem with the set-up (initialisation files like init.tcl are missing/not found?)&lt;br /&gt;
* (5) Reportedly, the Tk bindings use more of the X Window library than has been ported to the Cygwin/MinGW platform. There is also the issue of several UNIX specific Tcl routines that have no equivalent on Windows.&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Main_Page&amp;diff=1466</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Main_Page&amp;diff=1466"/>
				<updated>2006-09-19T08:46:24Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the (un-)official Wiki for [http://plplot.sf.net PLplot]. It should provide additional information to complement the PLplot [http://plplot.sourceforge.net/docbook-manual/ documentation].&lt;br /&gt;
&lt;br /&gt;
== Building PLplot  ==&lt;br /&gt;
Our traditional Autotools Build System (ABS) may be used to configure the PLplot build on Unix platforms.  Alternatively, our new CMake Build System (CBS) may be used to configure the PLplot build on both Unix and Windows platforms.&lt;br /&gt;
&lt;br /&gt;
=== Building PLplot with our traditional ABS ===&lt;br /&gt;
&lt;br /&gt;
=== Building PLplot with our new CBS ===&lt;br /&gt;
&lt;br /&gt;
Our CMake Build System (CBS) is a build-system paradigm shift compared to our traditional Autotools Build System (ABS) so it is important to consult the CMake documentation to get the most out of our CBS.  That documentation is quite thorough but tends to be a bit scattered so we have collected what we think our the best [[general CMake documentation links]] for your convenience.&lt;br /&gt;
 &lt;br /&gt;
After consulting that documentation, [http://www.cmake.org/HTML/Install.html install] the appropriate package of [http://www.cmake.org CMake] for your system platform. Note, you must use at least version 2.4.3 of CMake for your PLplot configuration.&lt;br /&gt;
&lt;br /&gt;
There are also several [[CMake options for PLplot]] which can be set for cmake to personalize your build.&lt;br /&gt;
&lt;br /&gt;
==== Unix ====&lt;br /&gt;
&lt;br /&gt;
===== (Optional) set environment variables to help CMake find system components that are installed in non-standard locations =====&lt;br /&gt;
&lt;br /&gt;
Here is one particular example (which must be executed before the cmake invocation discussed below).&lt;br /&gt;
&lt;br /&gt;
 export PKG_CONFIG_PATH=/home/software/libLASi/install/lib/pkgconfig&lt;br /&gt;
 export CMAKE_LIBRARY_PATH=/home/software/autotools/install/lib:/home/software/cgmlib/cd1.3&lt;br /&gt;
 export CMAKE_INCLUDE_PATH=/home/software/autotools/install/include:/home/software/cgmlib/cd1.3&lt;br /&gt;
&lt;br /&gt;
In these special cases, &amp;lt;tt&amp;gt;PKG_CONFIG_PATH&amp;lt;/tt&amp;gt; helps CMake to use the &amp;lt;tt&amp;gt;pkg-config&amp;lt;/tt&amp;gt; command for a non-standard libLASi install location; &amp;lt;tt&amp;gt;CMAKE_LIBRARY_PATH&amp;lt;/tt&amp;gt; helps CMake to find &amp;lt;tt&amp;gt;libltdl&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;libcd&amp;lt;/tt&amp;gt; in non-standard install locations; and &amp;lt;tt&amp;gt;CMAKE_INCLUDE_PATH&amp;lt;/tt&amp;gt; helps CMake to find the headers for &amp;lt;tt&amp;gt;libltdl&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;libcd&amp;lt;/tt&amp;gt; in non-standard install locations.&lt;br /&gt;
&lt;br /&gt;
===== (Optional) set environment variables to specify the compilers and compiler flags =====&lt;br /&gt;
&lt;br /&gt;
Here is one particular example (which must be executed before the cmake invocation discussed below).&lt;br /&gt;
&lt;br /&gt;
 export CC=&amp;quot;gcc -O2&amp;quot;&lt;br /&gt;
 export CXX=&amp;quot;g++ -O2&amp;quot;&lt;br /&gt;
 export FC=&amp;quot;g77 -O2&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Note a better option is to set CMAKE_BUILD_TYPE to one of Debug, Release, RelWithDebInfo, or MinSizeRel.  If you don&amp;#039;t set this variable and don&amp;#039;t set the environment variables above, then by default no compiler options (i.e., no optimization and no debugging symbols) are used for gcc-related&lt;br /&gt;
compilers for our CBS which makes for very fast builds, but slow execution.&lt;br /&gt;
&lt;br /&gt;
===== cmake invocation  =====&lt;br /&gt;
&lt;br /&gt;
 mkdir build_dir&lt;br /&gt;
 cd build_dir&lt;br /&gt;
 cmake -DCMAKE_INSTALL_PREFIX=/my/prefix -DCMAKE_VERBOSE_MAKEFILE=ON  ../plplot_cmake &amp;gt;&amp;amp; cmake.out&lt;br /&gt;
&lt;br /&gt;
Check the cmake.out file for any configuration issues.&lt;br /&gt;
&lt;br /&gt;
Everything can be controlled with -D options to the cmake command.  In this case we have specified a particular install prefix &amp;quot;/my/prefix&amp;quot; and verbose make results (essential if you want to see the exact commands used for the build).  You can also specify options using the convenient ccmake command-line interface to cmake.  That interface also presents annotations for the options.&lt;br /&gt;
&lt;br /&gt;
Note an empty build directory called build_dir is used to insure a clean start, and ../plplot_cmake is a freshly checked out source tree (which remains clean because you never actually create any files in that directory tree).  To start fresh, simply execute &amp;quot;cd build_dir; rm -rf *&amp;quot;.  Of course, this is an extremely dangerous command (since it removes everything in the current directory and all subdirectories), but you should be okay so long as you cd to the correct directory before executing the &amp;quot;rm&amp;quot; command.&lt;br /&gt;
&lt;br /&gt;
===== Post-CMake processing ===== &lt;br /&gt;
[[The PLplot build and install]] follows the cmake invocation.  The installed tree can be tested with [[the PLplot install-tree test]] for a large variety of PLplot device drivers.  In addition, build-tree tests may be done with the &amp;quot;ctest&amp;quot; command.  Note, these tests are limited to just the psc (colour postscript) device and can only be performed if cmake is invoked with the -DBUILD_TEST=ON option (which roughly doubles the build time because all the examples must be built).&lt;br /&gt;
&lt;br /&gt;
===== Specifics for various Unix platforms =====&lt;br /&gt;
* [[Linux]]&lt;br /&gt;
* [[Mac OSX]]&lt;br /&gt;
&lt;br /&gt;
==== Windows ====&lt;br /&gt;
&lt;br /&gt;
===== Instructions per Windows platform =====&lt;br /&gt;
&lt;br /&gt;
* [[Configure PLplot for Visual CXX]]&lt;br /&gt;
* [[Configure PLplot for MinGW/CLI]]&lt;br /&gt;
* [[Configure PLplot for cygwin]]&lt;br /&gt;
* [[Configure PLplot for Borland CXX 5.5 (free command line tools)]]&lt;br /&gt;
&lt;br /&gt;
===== Status of CBS on Windows =====&lt;br /&gt;
&lt;br /&gt;
* [[Overview of the status on Windows]]&lt;br /&gt;
&lt;br /&gt;
== Edit Wiki pages ==&lt;br /&gt;
&lt;br /&gt;
Consult the [http://meta.wikimedia.org/wiki/Help:Contents User&amp;#039;s Guide] for information on using the wiki software. More information can be found here:&lt;br /&gt;
* [http://www.mediawiki.org/wiki/Help:Configuration_settings Configuration settings list]&lt;br /&gt;
* [http://www.mediawiki.org/wiki/Help:FAQ MediaWiki FAQ]&lt;br /&gt;
* [http://mail.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list]&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Overview_of_the_status_on_Windows&amp;diff=1465</id>
		<title>Overview of the status on Windows</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Overview_of_the_status_on_Windows&amp;diff=1465"/>
				<updated>2006-09-19T07:58:55Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page presents an overview of the various Windows platforms and the status&lt;br /&gt;
of the CBS for them.&lt;br /&gt;
&lt;br /&gt;
The platforms are &amp;quot;canonical&amp;quot;: we assume typical or often encountered installations.&lt;br /&gt;
For &amp;quot;bare Windows&amp;quot; this means Windows XP, MicroSoft Visual C/C++ (version 6.0, 2003 or 2005, but&lt;br /&gt;
currently with an emphasis on version 6.0). For Cygwin and MinGW this is the suite of GCC compilers.&lt;br /&gt;
&lt;br /&gt;
Status per 19 september 2006, Arjen Markus&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;  &lt;br /&gt;
----------------------+--------------------+--------------------+--------------------+               &lt;br /&gt;
Build aspects         |    Bare Windows    |        Cygwin      |        MinGW       |&lt;br /&gt;
----------------------+--------------------+--------------------+--------------------+&lt;br /&gt;
Static libraries      |        Yes         |         Yes        |         Yes        |&lt;br /&gt;
Shared libraries (DLL)|        Yes         |         Yes        |          .         |&lt;br /&gt;
C++                   |        Yes         |         Yes(1)     |          .         |&lt;br /&gt;
Fortran               |        No(2)       |         Yes(3)     |          .         |&lt;br /&gt;
Java                  |         .          |          .         |          .         |&lt;br /&gt;
Perl                  |         .          |          .         |          .         |&lt;br /&gt;
Python                |         .          |          .         |          .         |&lt;br /&gt;
Tcl                   |        Yes(4)      |          .         |          .         |&lt;br /&gt;
Tk                    |         .          |         (5)        |          .         |&lt;br /&gt;
----------------------+--------------------+--------------------+--------------------+&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
&lt;br /&gt;
* A dot (.) simply means this aspect has not yet been tested&lt;br /&gt;
* (1) GNU C++ caused a problem on one machine, but others were successful. Something wrong with the toolchain?&lt;br /&gt;
* (2) The compiler that was used, Compaq Visual Fortran, complains about the full name of the object files that CMake passes (these are in UNIX-style). This means that CMake currently does not support CVF.&lt;br /&gt;
* (3) The Fortran compiler used is gfortran&lt;br /&gt;
* (4) The build succeeds currently, but pltcl.exe, the shell that is built, stops immediately. Most likely a problem with the set-up (initialisation files like init.tcl are missing/not found?)&lt;br /&gt;
* (5) Reportedly, the Tk bindings use more of the X Window library than has been ported to the Cygwin/MinGW &lt;br /&gt;
platform. There is also the issue of several UNIX specific Tcl routines that have no equivalent on&lt;br /&gt;
Windows.&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Overview_of_the_status_on_Windows&amp;diff=1464</id>
		<title>Overview of the status on Windows</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Overview_of_the_status_on_Windows&amp;diff=1464"/>
				<updated>2006-09-19T07:51:53Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page presents an overview of the various Windows platforms and the status&lt;br /&gt;
of the CBS for them.&lt;br /&gt;
&lt;br /&gt;
The platforms are &amp;quot;canonical&amp;quot;: we assume typical or often encountered installations.&lt;br /&gt;
For &amp;quot;bare Windows&amp;quot; this means Windows XP, MicroSoft Visual C/C++ (version 6.0, 2003 or 2005, but&lt;br /&gt;
currently with an emphasis on version 6.0). For Cygwin and MinGW this is the suite of GCC compilers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;  &lt;br /&gt;
----------------------+--------------------+--------------------+--------------------+         &lt;br /&gt;
       &lt;br /&gt;
Build aspects         |    Bare Windows    |        Cygwin      |        MinGW       |&lt;br /&gt;
&lt;br /&gt;
----------------------+--------------------+--------------------+--------------------+&lt;br /&gt;
&lt;br /&gt;
Static libraries      |        Yes         |         Yes        |         Yes        |&lt;br /&gt;
&lt;br /&gt;
Shared libraries (DLL)|        Yes         |         Yes        |          .         |&lt;br /&gt;
&lt;br /&gt;
C++                   |        Yes         |         Yes(1)     |          .         |&lt;br /&gt;
&lt;br /&gt;
Fortran               |        No(2)       |         Yes(3)     |          .         |&lt;br /&gt;
&lt;br /&gt;
Java                  |         .          |          .         |          .         |&lt;br /&gt;
&lt;br /&gt;
Perl                  |         .          |          .         |          .         |&lt;br /&gt;
&lt;br /&gt;
Python                |         .          |          .         |          .         |&lt;br /&gt;
&lt;br /&gt;
Tcl                   |        Yes(4)      |          .         |          .         |&lt;br /&gt;
&lt;br /&gt;
Tk                    |         .          |         (5)        |          .         |&lt;br /&gt;
&lt;br /&gt;
----------------------+--------------------+--------------------+--------------------+&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Overview_of_the_status_on_Windows&amp;diff=1463</id>
		<title>Overview of the status on Windows</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Overview_of_the_status_on_Windows&amp;diff=1463"/>
				<updated>2006-09-19T07:51:30Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page presents an overview of the various Windows platforms and the status&lt;br /&gt;
of the CBS for them.&lt;br /&gt;
&lt;br /&gt;
The platforms are &amp;quot;canonical&amp;quot;: we assume typical or often encountered installations.&lt;br /&gt;
For &amp;quot;bare Windows&amp;quot; this means Windows XP, MicroSoft Visual C/C++ (version 6.0, 2003 or 2005, but&lt;br /&gt;
currently with an emphasis on version 6.0). For Cygwin and MinGW this is the suite of GCC compilers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;  &lt;br /&gt;
----------------------+--------------------+--------------------+--------------------+         &lt;br /&gt;
       &lt;br /&gt;
Build aspects         |    Bare Windows    |        Cygwin      |        MinGW       |&lt;br /&gt;
&lt;br /&gt;
----------------------+--------------------+--------------------+--------------------+&lt;br /&gt;
&lt;br /&gt;
Static libraries      |        Yes         |         Yes        |         Yes        |&lt;br /&gt;
&lt;br /&gt;
Shared libraries (DLL)|        Yes         |         Yes        |          .         |&lt;br /&gt;
&lt;br /&gt;
C++                   |        Yes         |         Yes(1)     |          .         |&lt;br /&gt;
&lt;br /&gt;
Fortran               |        No(2)       |         Yes(3)     |          .         |&lt;br /&gt;
&lt;br /&gt;
Java                  |         .          |          .         |          .         |&lt;br /&gt;
&lt;br /&gt;
Perl                  |         .          |          .         |          .         |&lt;br /&gt;
&lt;br /&gt;
Python                |         .          |          .         |          .         |&lt;br /&gt;
&lt;br /&gt;
Tcl                   |        Yes(4)      |          .         |          .         |&lt;br /&gt;
&lt;br /&gt;
Tk                    |         .          |         (5)        |          .         |&lt;br /&gt;
&lt;br /&gt;
----------------------+--------------------+--------------------+--------------------+&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Overview_of_the_status_on_Windows&amp;diff=1462</id>
		<title>Overview of the status on Windows</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Overview_of_the_status_on_Windows&amp;diff=1462"/>
				<updated>2006-09-19T07:50:37Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page presents an overview of the various Windows platforms and the status&lt;br /&gt;
of the CBS for them.&lt;br /&gt;
&lt;br /&gt;
The platforms are &amp;quot;canonical&amp;quot;: we assume typical or often encountered installations.&lt;br /&gt;
For &amp;quot;bare Windows&amp;quot; this means Windows XP, MicroSoft Visual C/C++ (version 6.0, 2003 or 2005, but&lt;br /&gt;
currently with an emphasis on version 6.0). For Cygwin and MinGW this is the suite of GCC compilers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;  &lt;br /&gt;
----------------------+--------------------+--------------------+--------------------+                &lt;br /&gt;
Build aspects         |    Bare Windows    |        Cygwin      |        MinGW       |&lt;br /&gt;
----------------------+--------------------+--------------------+--------------------+&lt;br /&gt;
Static libraries      |        Yes         |         Yes        |         Yes        |&lt;br /&gt;
Shared libraries (DLL)|        Yes         |         Yes        |          .         |&lt;br /&gt;
C++                   |        Yes         |         Yes(1)     |          .         |&lt;br /&gt;
Fortran               |        No(2)       |         Yes(3)     |          .         |&lt;br /&gt;
Java                  |         .          |          .         |          .         |&lt;br /&gt;
Perl                  |         .          |          .         |          .         |&lt;br /&gt;
Python                |         .          |          .         |          .         |&lt;br /&gt;
Tcl                   |        Yes(4)      |          .         |          .         |&lt;br /&gt;
Tk                    |         .          |         (5)        |          .         |&lt;br /&gt;
----------------------+--------------------+--------------------+--------------------+&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Main_Page&amp;diff=1461</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Main_Page&amp;diff=1461"/>
				<updated>2006-09-19T06:54:37Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: /* Windows */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the (un-)official Wiki for [http://plplot.sf.net PLplot]. It should provide additional information to complement the PLplot [http://plplot.sourceforge.net/docbook-manual/ documentation].&lt;br /&gt;
&lt;br /&gt;
== Building PLplot  ==&lt;br /&gt;
Our traditional Autotools Build System (ABS) may be used to configure the PLplot build on Unix platforms.  Alternatively, our new CMake Build System (CBS) may be used to configure the PLplot build on both Unix and Windows platforms.&lt;br /&gt;
&lt;br /&gt;
=== Building PLplot with our traditional ABS ===&lt;br /&gt;
&lt;br /&gt;
=== Building PLplot with our new CBS ===&lt;br /&gt;
&lt;br /&gt;
Our CMake Build System (CBS) is a build-system paradigm shift compared to our traditional Autotools Build System (ABS) so it is important to consult the CMake documentation to get the most out of our CBS.  That documentation is quite thorough but tends to be a bit scattered so we have collected what we think our the best [[general CMake documentation links]] for your convenience.&lt;br /&gt;
 &lt;br /&gt;
After consulting that documentation, [http://www.cmake.org/HTML/Install.html install] the appropriate package of [http://www.cmake.org CMake] for your system platform. Note, you must use at least version 2.4.3 of CMake for your PLplot configuration.&lt;br /&gt;
&lt;br /&gt;
There are also several [[CMake options for PLplot]] which can be set for cmake to personalize your build.&lt;br /&gt;
&lt;br /&gt;
==== Unix ====&lt;br /&gt;
&lt;br /&gt;
===== (Optional) set environment variables to help CMake find system components that are installed in non-standard locations =====&lt;br /&gt;
&lt;br /&gt;
Here is one particular example (which must be executed before the cmake invocation discussed below).&lt;br /&gt;
&lt;br /&gt;
 export PKG_CONFIG_PATH=/home/software/libLASi/install/lib/pkgconfig&lt;br /&gt;
 export CMAKE_LIBRARY_PATH=/home/software/autotools/install/lib:/home/software/cgmlib/cd1.3&lt;br /&gt;
 export CMAKE_INCLUDE_PATH=/home/software/autotools/install/include:/home/software/cgmlib/cd1.3&lt;br /&gt;
&lt;br /&gt;
In these special cases, &amp;lt;tt&amp;gt;PKG_CONFIG_PATH&amp;lt;/tt&amp;gt; helps CMake to use the &amp;lt;tt&amp;gt;pkg-config&amp;lt;/tt&amp;gt; command for a non-standard libLASi install location; &amp;lt;tt&amp;gt;CMAKE_LIBRARY_PATH&amp;lt;/tt&amp;gt; helps CMake to find &amp;lt;tt&amp;gt;libltdl&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;libcd&amp;lt;/tt&amp;gt; in non-standard install locations; and &amp;lt;tt&amp;gt;CMAKE_INCLUDE_PATH&amp;lt;/tt&amp;gt; helps CMake to find the headers for &amp;lt;tt&amp;gt;libltdl&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;libcd&amp;lt;/tt&amp;gt; in non-standard install locations.&lt;br /&gt;
&lt;br /&gt;
===== (Optional) set environment variables to specify the compilers and compiler flags =====&lt;br /&gt;
&lt;br /&gt;
Here is one particular example (which must be executed before the cmake invocation discussed below).&lt;br /&gt;
&lt;br /&gt;
 export CC=&amp;quot;gcc -O2&amp;quot;&lt;br /&gt;
 export CXX=&amp;quot;g++ -O2&amp;quot;&lt;br /&gt;
 export FC=&amp;quot;g77 -O2&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Note a better option is to set CMAKE_BUILD_TYPE to one of Debug, Release, RelWithDebInfo, or MinSizeRel.  If you don&amp;#039;t set this variable and don&amp;#039;t set the environment variables above, then by default no compiler options (i.e., no optimization and no debugging symbols) are used for gcc-related&lt;br /&gt;
compilers for our CBS which makes for very fast builds, but slow execution.&lt;br /&gt;
&lt;br /&gt;
===== cmake invocation  =====&lt;br /&gt;
&lt;br /&gt;
 mkdir build_dir&lt;br /&gt;
 cd build_dir&lt;br /&gt;
 cmake -DCMAKE_INSTALL_PREFIX=/my/prefix -DCMAKE_VERBOSE_MAKEFILE=ON  ../plplot_cmake &amp;gt;&amp;amp; cmake.out&lt;br /&gt;
&lt;br /&gt;
Check the cmake.out file for any configuration issues.&lt;br /&gt;
&lt;br /&gt;
Everything can be controlled with -D options to the cmake command.  In this case we have specified a particular install prefix &amp;quot;/my/prefix&amp;quot; and verbose make results (essential if you want to see the exact commands used for the build).  You can also specify options using the convenient ccmake command-line interface to cmake.  That interface also presents annotations for the options.&lt;br /&gt;
&lt;br /&gt;
Note an empty build directory called build_dir is used to insure a clean start, and ../plplot_cmake is a freshly checked out source tree (which remains clean because you never actually create any files in that directory tree).  To start fresh, simply execute &amp;quot;cd build_dir; rm -rf *&amp;quot;.  Of course, this is an extremely dangerous command (since it removes everything in the current directory and all subdirectories), but you should be okay so long as you cd to the correct directory before executing the &amp;quot;rm&amp;quot; command.&lt;br /&gt;
&lt;br /&gt;
===== Post-CMake processing ===== &lt;br /&gt;
[[The PLplot build and install]] follows the cmake invocation.  The installed tree can be tested with [[the PLplot install-tree test]] for a large variety of PLplot device drivers.  In addition, build-tree tests may be done with the &amp;quot;ctest&amp;quot; command.  Note, these tests are limited to just the psc (colour postscript) device and can only be performed if cmake is invoked with the -DBUILD_TEST=ON option (which roughly doubles the build time because all the examples must be built).&lt;br /&gt;
&lt;br /&gt;
===== Specifics for various Unix platforms =====&lt;br /&gt;
* [[Linux]]&lt;br /&gt;
* [[Mac OSX]]&lt;br /&gt;
&lt;br /&gt;
==== Windows ====&lt;br /&gt;
* [[Configure PLplot for Visual CXX]]&lt;br /&gt;
* [[Configure PLplot for MinGW/CLI]]&lt;br /&gt;
* [[Configure PLplot for cygwin]]&lt;br /&gt;
* [[Configure PLplot for Borland CXX 5.5 (free command line tools)]]&lt;br /&gt;
* [[Overview of the status on Windows]]&lt;br /&gt;
&lt;br /&gt;
== Edit Wiki pages ==&lt;br /&gt;
&lt;br /&gt;
Consult the [http://meta.wikimedia.org/wiki/Help:Contents User&amp;#039;s Guide] for information on using the wiki software. More information can be found here:&lt;br /&gt;
* [http://www.mediawiki.org/wiki/Help:Configuration_settings Configuration settings list]&lt;br /&gt;
* [http://www.mediawiki.org/wiki/Help:FAQ MediaWiki FAQ]&lt;br /&gt;
* [http://mail.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list]&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	<entry>
		<id>http://www.miscdebris.net/plplot_wiki/index.php?title=Configure_PLplot_for_Visual_CXX_CLI&amp;diff=1458</id>
		<title>Configure PLplot for Visual CXX CLI</title>
		<link rel="alternate" type="text/html" href="http://www.miscdebris.net/plplot_wiki/index.php?title=Configure_PLplot_for_Visual_CXX_CLI&amp;diff=1458"/>
				<updated>2006-09-17T08:31:26Z</updated>
		
		<summary type="html">&lt;p&gt;Arjenmarkus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;You need a working Visual C++ installation. Start the command line interface and issue the following commands:&lt;br /&gt;
&lt;br /&gt;
 cd plplot&lt;br /&gt;
 mkdir buildnmake&lt;br /&gt;
 cd buildnmake&lt;br /&gt;
 cmake -G &amp;quot;NMake Makefiles&amp;quot; -DCMAKE_INSTALL_PREFIX=install ..&lt;br /&gt;
 nmake&lt;br /&gt;
 nmake 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\buildnmake\install&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Alternatively you can use the GUI version of CMake, an easy-to-use user-interface that presents the available build options&lt;br /&gt;
and lets you set them. It is mostly a matter of taste, but:&lt;br /&gt;
* The GUI version provides an overview of the build opions that are available&lt;br /&gt;
* The command-line version is particularly useful if you are experimenting with these options, as it can be run from a batchfile&lt;br /&gt;
&lt;br /&gt;
Some of the options that are available for cmake:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;-DBUILD_SHARED_LIBS=OFF&amp;lt;/tt&amp;gt;: static build of plplot&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;
* [[Configuration of wxWidgets driver]]&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;
 copy ..\..\..\data\*.fnt .&lt;br /&gt;
&lt;br /&gt;
and additionally some dlls for a shared plplot built:&lt;br /&gt;
&lt;br /&gt;
 copy ..\..\src\plplotd.dll .&lt;br /&gt;
 copy &amp;quot;..\..\bindings\c++\plplotcxxd.dll&amp;quot; . (for c++ examples)&lt;br /&gt;
 copy ..\..\lib\csa\csirocsa.dll . (if library was built)&lt;br /&gt;
&lt;br /&gt;
and for the wxWidgets driver (if wxWidgets library is shared):&lt;br /&gt;
&lt;br /&gt;
 copy %WXWIN%\lib\gcc_dll\wxmsw26d_vc_custom.dll .&lt;br /&gt;
&lt;br /&gt;
if this dll is not in the path.&lt;/div&gt;</summary>
		<author><name>Arjenmarkus</name></author>	</entry>

	</feed>