Login  Register

Re: installation is failing on cygwin

Posted by Max-118 on Jan 24, 2008; 9:30am
URL: http://quantlib.414.s1.nabble.com/installation-is-failing-on-cygwin-tp11632p11637.html

Hi Luigi,

It seems that this problem can be fixed by inserting "LDLIBS = -lQuantLib" in the Makefile (maybe need to alter the "configure" script).
Alternatively, do "export LDLIBS=-lQuantLib" at shell before "make examples".

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

Max

On Jan 24, 2008 12:42 AM, Luigi Ballabio <[hidden email]> wrote:
On Sat, 2008-01-12 at 08:52 -0800, adam99 wrote:
> I am finally able to compile it, but without the makefile. I use the command
>
> g++ -g -O2 -Wall -I/usr/include/boost-1_33_1 -L/lib BermudanSwaption.cpp -o
> BermudanSwaption -lQuantlib
>
> I dont know what the problem with the makefile is.

Puzzling. Maybe it's picking up another libQuantLib.so?

Luigi


--

The purpose of abstraction is not to be vague, but to create a new
semantic level in which one can be absolutely precise.
-- W.E. Dijkstra



-------------------------------------------------------------------------
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/
_______________________________________________


-------------------------------------------------------------------------
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