Login  Register

Re: installation is failing on cygwin

Posted by Luigi Ballabio on Jan 24, 2008; 4:13pm
URL: http://quantlib.414.s1.nabble.com/installation-is-failing-on-cygwin-tp11632p11638.html

On Thu, 2008-01-24 at 17:30 +0800, Max wrote:
> It seems that this problem can be fixed by inserting "LDLIBS =
> -lQuantLib" in the Makefile (maybe need to alter the "configure"
> script).

Strange. Makefile.am in the Examples directories already specifies

BermudanSwaption_LDADD = ../../ql/libQuantLib.la

which should have the same effect.

> BTW, I spot another error: "swapvaluation.cpp" should be renamed to
> "SwapValuation.cpp". Otherwise, "make examples" will fail on unix
> platform (e.g. cygwin).

No, it works fine on unix (I'm writing this from a Linux machine
myself.) Makefile.am includes the correct dependency, namely,

SwapValuation_SOURCES = swapvaluation.cpp

and the make rules are (well, should be) generated accordingly. Can you
send me a copy of your generated Makefile for the swap example?

Later,
        Luigi

--

Present to inform, not to impress; if you inform, you will impress.
-- Fred Brooks



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev