Configure PLplot for Borland CXX 5.5 (free command line tools)

From PLplotWiki
Revision as of 04:03, 12 September 2006 by Smekal (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

You need a working cygwin installation. Start cygwin and issue the following commands:

cd plplot
mkdir buildcygwin
cd buildcygwin
cmake -DCMAKE_INSTALL_PREFIX=install ..
make
make install

This will build a shared plplot library and install all files into the directory plplot\buildcygwin\install. 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
copy ..\..\..\data\*.fnt .