Configure PLplot for cygwin
From PLplotWiki
You need a working cygwin installation. Start cygwin and issue the following commands:
cd plplot mkdir buildcygwin cd buildcygwin cmake -DCMAKE_INSTALL_PREFIX=install -DENABLE_tk=OFF -DENABLE_tcl=OFF .. make make install
This will build a shared plplot library and install all files into the directory plplot\buildcygwin\install. Tcl/Tk bindings and driver need to be disabled (-DENABLE_tk=OFF -DENABLE_tcl=OFF), since they won't compile on cygwin in the moment. The following options are available for cmake:
- -DBUILD_SHARED_LIBS=OFF: static build of plplot
- -DCMAKE_VERBOSE_MAKEFILE=ON: makefiles provide verbose informations
- -DBUILD_TEST=ON: all examples will be built also (for test purposes)
If you used the -DBUILD_TEST=ON option, you need to copy some files in order to run the examples:
cd examples/c cp ../../../data/*.fnt .