GDL Requirements

Obligatory libraries:

Optional libraries:

At least g++ 3.2 (or a similar C++ standard conforming compiler) is needed for compiling GDL. Note that due to problems with static casts g++ 3.3.1 does not compile GDL, but 3.3.2 works fine again, so does 4.0 . GDL compiles under Mac OS X (10.2, 10.3 and 10.4) with g++ 3.3 (build 1671 - for build 1666 problems were reported) and with g++ 4.0.

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 uses the plplot library version 5.3 or later for graphics.

Furthermore you need the GNU Scientific Library.

For reading and writing images in several formats, GDL uses ImageMagick. It is required by default. If you don't want to use it, use '--with-Magick=no' as a command line option to 'configure'.

The HDF format is supported (version 4). If you want to use it, you need the HDF library. It is required by default. If you don't want to use it, use '--with-hdf=no' as a command line option to 'configure'. Note that HDF in turn needs other libraries. Check out the HDF homepage for more information.

Basic support for HDF5 is provided. If you want to use it, you need the HDF5 library. It is required by default. If you don't want to use it, use '--with-hdf5=no'. Note that HDF5 in turn needs other libraries. Check out the HDF homepage for more information.

The netCDF format is fully supported since version 0.8 . If you want to use it, you need the netCDF library. It is required by default. If you don't want to use it, use '--with-netcdf=no' as a command line option to 'configure'.

GDL has an interface to python (GDL can be build and used as a python module as well). As so far there are only two example GDL extensions written in python its use optional for now but required by default. If you don't want to use it, use '--with-python=no' as a command line option to 'configure'. If you want to use it you need python 2.3 or later and the python package numarray 0.9 (or later). For nice graphical output the python package matplotlib 0.52 (or later) is used in one of the examples. The GDL configure script will determine the installed python version automatically. For this the python executable must be installed. The python version can be explictely set with --enable-pyhton_version=VERSION# (eg. --enable-pyhton_version=2.3). Note: For embedding python as done by GDL, the python dynamic library is needed which is not build by default. You need to run 'configure' for python with the '--enable-shared' option. Please see the python README file for details. See the file PYTHON.txt in the GDL home directory for more details.

GDL was developed using ANTLR but unless you want to change the grammar (*.g files) you don't need ANTLR. All relevant ANTLR files are included in the package.

GDL is currently developed using KDevelop 3.3.6 under Fedora Core 7 GNU/Linux. The KDevelop project file is included in the tarball, so if you have KDevelop you should be able to use it with GDL seamlessly.