Login  Register

Re: Debian package issues

Posted by Luigi Ballabio on Sep 02, 2005; 9:44am
URL: http://quantlib.414.s1.nabble.com/Debian-package-issues-tp4019p4021.html

On 09/02/2005 05:06:11 PM, Matthew Nobes wrote:
> I then cut and pasted americanoptions.cpp from the examples section  
> of the quantlib website and tried to compile it, using the flags
> suggested by quantlib-config --libs --cflags
>
> gcc -L/usr/lib -lQuantLib-0.3.8 -I/usr/include amop.cpp

Matthew,
        according to what quantlib-config returns, you have QuantLib  
0.3.8 installed. The example on the website refers to the latest  
version, namely, 0.3.10. Ubuntu is probably a few months late. You can  
a) download the 0.3.8 sources from the QuantLib site (or check whether  
Ubuntu has a source package available) and use the examples you'll find  
in the distribution, or b) download the 0.3.10 sources and compile them  
yourself.

Later,
        Luigi

----------------------------------------

There is no likelihood man can ever tap the power of the atom.
-- Robert Millikan, Nobel Prize in Physics, 1923