|
From: Luigi B. <lui...@gm...> - 2007-12-22 20:39:47
|
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 |