Posted by
financial engineer on
Apr 28, 2011; 2:30pm
URL: http://quantlib.414.s1.nabble.com/QuantLib-under-cygwin-tp8701p8703.html
hi Luigi,
Thank you for your response.
> Subject: Re: [Quantlib-users] QuantLib under cygwin
> From:
[hidden email]> To:
[hidden email]> CC:
[hidden email]> Date: Thu, 28 Apr 2011 09:15:51 +0200
>
> On Wed, 2011-04-27 at 18:12 -0400, financial engineer wrote:
> > I am trying to install QuantLib under cygwin.
> >
> > I followed the following instructions [...]
> >
> > 4. then to run, I entered:
> > $./configure --enable-static
> > --with-boost-include=/opt/local/include/ --with-boost-lib=/opt/local/lib/ --prefix=/opt/local/
> > and it ran and returned to ~/QuantLib-1.0.1
>
> Ok. Now you'll have to run
> $ make
> to build the library (you'll need that, it's not just the headers.)
when I try to run make, I get the following error:
bash: make: command not found
Is there a way around it?
>
>
> > 6. I tried to compile a test program which included
> > #include <ql/quantlib.hpp>
> > using namespace QuantLib;
> >
> > and I get an error stating ql/quantlib.hpp: No such file or directory
>
> You'll have to tell your compiler where to find the headers. Probably
> something like
>
> gcc -IQuantLib-1.0.1 test.cpp
I trust I need to run 'make' for this to work..
I have read so much about QL and I can't wait to get this to work
>
> If you do something more than just the namespace declaration, you'll
> probably need the library. For that, you'll have to say
>
> gcc -IQuantLib-1.0.1 -LQuantLib-1.0.1/lib -lQuantLib test.cpp
>
> Luigi
>
> --
>
> Of course, if people could just act consistently, they could keep
> their desks clean, avoid cavities, lose weight, give up smoking,
> play a musical instrument, and possibly even produce software on
> a regular and timely basis.
> -- Alistair Cockburn
>
>
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users