3rd_lapack

Lapack 3rd party

Lapack is written in Fortran 90 and provides routines for solving systems of simultaneous linear equations, least-squares solutions of linear systems of equations, eigenvalue problems, and singular value problems. Lapack is avalaible from http://www.netlib.org/lapack. Lapack is a free software licensed under the terms of the BSD license. Lapack is one of the optional 3rd parties supported by ViSP core module.

In ViSP lapack 3rd party is used in vpMatrix class for pseudo-inverse computation.

Hereafter we provide installation instructions for the following OS:

 logo-ubuntu-alpha  logo-debian logo-fedora logo-redhat centos-logo  logo-apple-alpha  logo-win-alpha
Ubuntu Debian Fedora RedHat CentOS OSX Windows

Ubuntu or debian installation

On Linux Debian or Ubuntu you may install the library with apt-get using:

sudo apt-get install liblapack-dev

Fedora, RedHat or CentOS installation

On Fedora, RedHat or CentOS you may install the library with yum:

su -c "yum install lapack-devel"

Mac OSX installation

On OSX lapack should be installed as system library in /usr/lib. This is the case if you have something similar to:

ls -als /usr/lib/liblapack.dylib
/usr/lib/liblapack.dylib -> ../../System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib

If you don’t have lapack as system library, you may install the package with homebrew:

brew update
brew install lapack

Windows installation

Since ViSP 3.1.0 we provide a lapack build-in version part of ViSP source code. There is no more need to install Lapack on Windows.

You’ll have to reconfigure ViSP with CMake after installing lapack.

Comments are closed.