Compile and configure quantlib in linux

Source: Internet
Author: User
Compile and configure quantlib in linux-general Linux technology-Linux programming and kernel information. For more information, see the following. Quantlib is a free and open-source financial library written in C ++.

In sourceforge (http://sourceforge.net/project/showfiles.php? Group_id = 12740) download the package QuantLib. The current version is 0.9.6.

Start Installation

Quantlib requires boost support. Most inux releases already have boost installed in advance, so you don't have to worry about it.

$ Tar zxvf QuantLib-0.9.6.tar.gz
$ QuantLIb-0.9.6 cd
$./Configure
$ Make
$ Sudo make install

It takes some time to compile. Please wait.

After that, you can see libQuantLib. a and libQuantLib. so under/usr/local/lib, which are static and shared libraries of quantlib.

Enter export LD_LIBRARY_PATH =/usr/local/lib

Test below, re-enter the QuantLib-0.9.6, is the directory we extract
QUOTE:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.