Install 3rd party libraries

From PLplotWiki
Revision as of 10:15, 23 November 2006 by Smekal (Talk | contribs) (GD Libary)

Jump to: navigation, search

In opposition to Linux, where installing development files for certain 3rd party libraries is only a matter of seconds (depending on the distribution), in Windows much more work needs to be done. In the following we provide instructions how to install 3rd party libraries with the corresponding development files so that the plplot library can use them.

QHull Library

The QHull library is needed for better grid calculation of 3d plots.

  • Download the qhull library

AGG Library

CD Library

GD Libary

Download the gd library for Windows from http://www.boutell.com/gd/ . The latest version is [2.0.33|http://www.boutell.com/gd/http/gdwin32.zip] (Windows dll). Unzip the archive to a suitable place. The package provides a dll and an import library for the MinGW compiler. To obtain an import library for the MSVC compiler run the makemsvcimport.bat batch file in a CLI with the correct environment settings for MSVC.

In order to let cmake find the gd library files you need to set environment variables (best in batch file - see above), e.g.

set GDLIBDIR=C:\DevZone\gdwin32
set CMAKE_INCLUDE_PATH=%GDLIBDIR%;%CMAKE_INCLUDE_PATH%
set CMAKE_LIBRARY_PATH=%GDLIBDIR%;;%CMAKE_LIBRARY_PATH%

Freetype Library