QuantLib and Linux
Posted by L.Isella on
URL: http://quantlib.414.s1.nabble.com/QuantLib-and-Linux-tp4393.html
Dear All,
I am new fairly new to C++ and Linux.
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.
I also tried Luigi's suggestion to compile DiscreteHedging.cp
g++ DiscreteHedging.cpp -lQuantLib
but I was not better off.
I am sure this is completely trivial and that anyone with Debian could help.
I just need to find out how to get g++ to "see" the library.
As soon as I can get something running, I will try to use the QuantLib library inside Anjuta (Gnome C++ IDE), but that is another story.
Many thanks
Lorenzo