Help
Posted by
jeffrey on
URL: http://quantlib.414.s1.nabble.com/Help-tp14880.html
Hi all,
I have just installed the quantlib software on my computer by following the steps given on :
http://quantess.net/2012/09/ 26/quantlib-get-it-working-on- ubuntu/.
Now, when I am trying to run the program below, I'm getting the
following message: ql\quantlib.hpp:
No such file or directory compilation terminated or fatal error:
boost\algorithmstring.hpp: No such file or directory compilation
terminated.
///usr/local/lib/include<ql\quantlib.hpp>
#include<ql\quantlib.hpp>
using namespace QuantLib;
int main(int, char*[]){
// Matrix declaration and population
Matrix A(2,2);
A[0][0] = 1; A[0][1] = 2;
A[1][0] = 3; A[1][1] = 4;
Matrix B(2,2);
B[0][0] = 5; B[0][1] = 6;
B[1][0] = 7; B[1][1] = 8;
// Outputting
std::cout << "Matrix A :"
<< std::endl << A << std::endl;
std::cout << "Matrix B :" << std::endl << B << std::endl;
std::cout << "A + B :" << std::endl << A + B << std::endl;
return 0;
}
Please help me.
Thanks
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users