GSL 3rd party
The GSL (GNU Scientific Library) is a numerical library for C and C++ programmers http://www.gnu.org/software/gsl/. GSL is a free software licensed under the terms of the GPLv3 license. GSL is one of the optional 3rd parties supported by ViSP core module.
In ViSP, the GSL is used for the SVD and LU decompositions in vpMatrix class. If GSL is not installed or not detected during the CMake configuration process, you will use internal routines for the SVD and LU decomposition used in matrix inversions.
Please note that issues were encountered with version 1.3. Version 1.8 (or later) is advised.
For Unix platforms, GSL sources can be downloaded from ftp://ftp.gnu.org/gnu/gsl/. You can also install GSL from existing packages.
Hereafter we provide installation instructions for the following OS:
On Linux Debian or Ubuntu, you may install the package with:
sudo apt-get install libgsl0-dev
On Fedora, RedHat or CentOS you may install the package with yum:
su -c "yum install gsl-devel"
On OSX you may install the package with homebrew:
brew install gsl
For Windows platforms, a GSL prebuilt library compatible with Microsoft Visual Studio C++ compiler can be retrieved from an installer available from http://david.geldreich.free.fr/dev.html. For MinGW, you have to download the source code from http://gnuwin32.sourceforge.net/packages/gsl.htm and then built the library.
If gsl is not detected during ViSP configuration step, you should add an environment variable called GSL_DIR which points to the installation folder containing the lib and include folders.