Login  Register

Re: Example compilation

Posted by Luigi Ballabio on Jun 27, 2008; 10:12am
URL: http://quantlib.414.s1.nabble.com/Example-compilation-tp1483p1484.html

On Thu, 2008-06-26 at 11:21 -0400, Yatis Dodia wrote:
> I'm new to quantlib and I believe I have it installed properly.  I'm
> using Ubuntu on an AMD64 and installed quantlib from the repository.
> I also checked and boost seems to be setup properly.  When I try to
> compile EquityOption.cpp I get a flood of messages

You need to tell the linker to bring QuantLib in. You can use the -l
switch, as in:

g++ EquityOption.cpp -o EquityOption -lQuantLib

Luigi


--

So little done, so much to do.
-- Cecil Rhodes



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users