RE: using namespace quantlib not working vc7

Posted by Sinha, Amitesh-2 on
URL: http://quantlib.414.s1.nabble.com/using-namespace-quantlib-not-working-vc7-tp3498p3500.html

I do not have such issues. Only Error I get this is the following

testsuite fatal error LNK1104: cannot open file
'libboost_unit_test_framework-vc71-mt-sgd-1_32.lib'

Regards
Amitesh

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]]On Behalf Of Satish
Vangipuram
Sent: Sunday, January 09, 2005 10:29 PM
To: [hidden email]
Subject: [Quantlib-users] using namespace quantlib not working vc7


i have setup quantlib under vc7 on a windows xp laptop.. i have
quantlib working but the namespaces are not working for me.. as soon
as i introduce a namespace i got compile-time errors:
example:
using namespace QuantLib::Pricers;

i get errors
1. errors C2039: 'Pricers': is not a member of 'QuantLib'
2. error C2871:'Pricers':a namespace with this name does not exist..

so as a workaround i am qualifying all references to QuantLib as

QuantLib::FdEuropean callOption =
QuantLib::FdEuropean(QuantLib::Option::Call, currentPrice,
strikePrice, divYield, riskFree, optionLife, vol);

has anyone encountered this kind of problem?.  any ideas to resolve this?


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Quantlib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users

==============================================================================
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==============================================================================