Re: QuantLib and Linux

Posted by L.Isella on
URL: http://quantlib.414.s1.nabble.com/QuantLib-and-Linux-tp4393p4395.html

On Sun, 2006-01-22 at 11:06 -0600, Dirk Eddelbuettel wrote:
On 22 January 2006 at 11:45, L.Isella wrote:
> | Dear All,
> | I am new fairly new to C++ and Linux.
> | I am currently using Ubuntu (a Debian-based distribution).
>
> Which version of Ubuntu?  Which version of QuantLib did that give you?
> I am on Ubuntu 5.10 (Breezy). I am using version 0.3.9 of the QuantLib library (to be precise: libquantlib0-dev version 0.3.9-6ubuntu3).
I installed everything which had something to do with the quantlib, so I do not think there is anything missing.
 



> | I installed the QuantLib library (I can run the test-suite from the command=
> |  line), so everything should be fine.
> | However, if I try to add to a simple Hello World program the line
> |
> | #include <ql/quantlib.hpp>
> |
> | I get plenty of errors.
>
> You need to install the libquantlib0-dev package as well.  
>
Which I did.

Being able to execute binaries is necessary but not sufficient to compiling
> your own.
>
> Dirk
>
Alright, I see the point you and the others are trying to make.
I thought apt-get would take care of everything as usual, whereas, if I am getting it right, I should compile the library myself.
Is it difficult? I just need a few commands to type to get this lib working.

Many thanks

Lorenzo