27 Jun 12:12
Re: Example compilation
From: Luigi Ballabio <luigi.ballabio <at> gmail.com>
Subject: Re: Example compilation
Newsgroups: gmane.comp.finance.quantlib.user
Date: 2008-06-27 10:12:51 GMT
Subject: Re: Example compilation
Newsgroups: gmane.comp.finance.quantlib.user
Date: 2008-06-27 10:12:51 GMT
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
RSS Feed