Re: QuantLib and Linux

Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/QuantLib-and-Linux-tp4393p4398.html

On Jan 22, 2006, at 12:45 PM, L.Isella wrote:
> I am currently using Ubuntu (a Debian-based distribution).
> 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.

What kind of errors? If g++ complains that it cannot find the QuantLib
include files, it might be that your compiler is not set to look into
/usr/local/include (that's where the headers are installed by default
when you run "make install".) You can add such directory to your
include path by adding "-I/usr/local/include" to your command line.

Later,
        Luigi