|
From: Luigi B. <lui...@gm...> - 2008-01-24 16:15:16
|
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 |