Re: Compile a quantlib C++ program
Posted by
Luigi Ballabio on
Dec 22, 2007; 8:39pm
URL: http://quantlib.414.s1.nabble.com/Compile-a-quantlib-C-program-tp11516p11517.html
On Dec 22, 2007, at 2:17 PM, Nasky wrote:
> I'm a new user. I don't know how to compile a C++ program using
> QuantLib on
> Linux.
>
> And I compile with : g++ -o stuff stuff.cpp
>
> What should I add to my compilation line ? Something like "-lql"
> doesn't
> work.
g++ -o stuff stuff.cpp -lQuantLib
assuming you have installed QuantLib in the default location (i.e., if
you didn't change it by explicitly adding a --prefix option to
configure)
Luigi
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev