Requirements
Obligatory libraries:
Optional libraries:
- Xlib (part of any X11 distribution; needed for ploting on screens !)
- Magick++ (ImageMagick's C++ API; PNG and JPEG support)
- FFTW (both float and double versions needed; faster than FFT code provide by the GSL for 2^N 3^M 5^O cases)
- netCDF (v3 or v4)
- HDF4
- HDF5
- GRIB API
- UDUNITS-2
- wxWidgets
- libproject (mapping on Earth)
- GSHHS (see GDL's MAP_INSTALL file)
- pslib (fine-tuning PostScript output)
The Python interface (see PYTHON.txt) requires:
Useful IDL/GDL-written libraries:
- CMSVLIB (for SAVE and RESTORE)
- MPFIT (fitting)
- Astron Lib (FITS format I/O, astronomy-related procedures)
- TeXtoIDL (Greek letters, special symbols, sub/superscripts via TeX commands)
At least g++ 3.2 (or a similar C++ standard conforming compiler) is needed for compiling GDL. Succesfull compilations were reported with Intel C++ compiler and numerous versions of GCC including the 3.x and 4.x families, on various UNIX environments including Linux, Mac OS X, FreeBSD, OpenSolaris, Cygwin and OpenBSD. GCC >= 4.2 is needed for OpenMP.
The GNU readline
library 4.3 or later is needed (GDL should compile
without it, but it's very inconvenient to use that way, furthermore,
proper event handling for graphic windows requires readline).
OS X 10.4: Note that the the readline library which comes with OS X is
not GNU readline. You need to install GNU readline and set the --with-readlinedir=DIR option to configure.
GDL supports compilation using both the shipped autotools "configure" script as well as using CMake. Consult the README and the INSTALL files in the GDL distribution for further details on GDL requirements and configuration.
GDL was developed using ANTLR v2
but unless you want to change the grammar (*.g files) you don't need
ANTLR. All relevant ANTLR files are included in the package.