[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
1.3 Installation
MathGL can be installed in 4 different ways.
-
Compile from sources. The standard script cmake build system is useded in the library. To run it, one should execute commands:
cmake .
twice, after itmake
andmake install
with root/sudo rights. Sometimes after installation you may need to update the library list – just executeldconfig
with root/sudo rights.There are several additional options which are switched off by default. They are:
enable-fltk, enable-glut, enable-qt
for ebabling FLTK, GLUT and/or Qt windows;enable-jpeg, enable-gif, enable-hdf5
and so on for enabling corresponding file formats;enable-all
for enabling all additional features. For usingdouble
as base internal data type use optionenable-double
. For enabling language interfaces useenable-python, enable-octave
orenable-langall
for all languages. You can use WYSIWYG tool (cmake-gui
) to view all of them, or typecmake -D enable-all=on -D enable-langall=on .
in command line for enabling all features. - Use a precompiled binary. There are binaries for MinGW (platform Win32). For a precompiled variant one needs only to unpack the archive to the location of the compiler (or in any other folder and setup paths). By default, precompiled versions include the support of GSL (www.gsl.org) and PNG. So, one needs to have these libraries installed on system (it can be found, for example, at http://gnuwin32.sourceforge.net/packages.html).
- Install precompiled versions from standard packages (RPM, deb, DevPak and so on, see Download section at homepage).
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on April 13, 2012 using texi2html 5.0.