QuantLibXL Linking Problems

Posted by Rahul Gupta on
URL: http://quantlib.414.s1.nabble.com/QuantLibXL-Linking-Problems-tp6080.html

QuantLibXL Linking Problems

Hi all,

I've been trying to build QuantLibXL for the last couple of days, but although I can build it dynamically (Release CRTDLL), whatever I do, I can't get the static DLL to compile.  All of my directories are stripped of version number (i.e. path\QuantLib path\ObjectHandler, etc), I have the boost/quantlib directories in my include settings, and I have tried to compile using various projects - QuantLibXL (the normal and all static solution), QuantLibAddin, and the individual QLXL solution.  Unfortunately they all fail with the same error, which is as below:

4>   Creating library .\buildStatic\vc80\Release/QuantLibAddinStatic-vc80-mt-s-0_9_0.lib and object .\buildStatic\vc80\Release/QuantLibAddinStatic-vc80-mt-s-0_9_0.exp

4>quantlibobjects-vc80-mt-s-0_9_0.lib(marketmodels.obj) : error LNK2019: unresolved external symbol "class QuantLib::Disposable<class std::vector<double,class std::allocator<double> > > __cdecl QuantLib::rateVolDifferences(class QuantLib::MarketModel const &,class QuantLib::MarketModel const &)" (?rateVolDifferences@QuantLib@@YA?AV?$Disposable@V?$vector@NV?$allocator@N@std@@@std@@@1@ABVMarketModel@1@0@Z) referenced in function "class std::vector<double,class std::allocator<double> > __cdecl QuantLibAddin::qlRateVolDifferences(class QuantLib::MarketModel const &,class QuantLib::MarketModel const &)" (?qlRateVolDifferences@QuantLibAddin@@YA?AV?$vector@NV?$allocator@N@std@@@std@@ABVMarketModel@QuantLib@@0@Z)

4>quantlibobjects-vc80-mt-s-0_9_0.lib(marketmodels.obj) : error LNK2019: unresolved external symbol "class QuantLib::Disposable<class std::vector<double,class std::allocator<double> > > __cdecl QuantLib::rateInstVolDifferences(class QuantLib::MarketModel const &,class QuantLib::MarketModel const &,unsigned int)" (?rateInstVolDifferences@QuantLib@@YA?AV?$Disposable@V?$vector@NV?$allocator@N@std@@@std@@@1@ABVMarketModel@1@0I@Z) referenced in function "class std::vector<double,class std::allocator<double> > __cdecl QuantLibAddin::qlRateInstVolDifferences(class QuantLib::MarketModel const &,class QuantLib::MarketModel const &,unsigned int)" (?qlRateInstVolDifferences@QuantLibAddin@@YA?AV?$vector@NV?$allocator@N@std@@@std@@ABVMarketModel@QuantLib@@0I@Z)

4>..\xll\QuantLibXL-vc80-mt-s-0_9_0.xll : fatal error LNK1120: 2 unresolved externals
4>Build log was saved at "<A HREF="file://c:\Temp\QuantLib\QuantLibXL\qlxl\buildStatic\vc80\Release\BuildLog.htm">file://c:\Temp\QuantLib\QuantLibXL\qlxl\buildStatic\vc80\Release\BuildLog.htm"
4>QuantLibXLStatic - 3 error(s), 0 warning(s)

If anyone could shed some light on this, I would be extremely grateful.   My only thought is that I have been passing custom flags to gensrc, as I do not have doxygen installed.

Thanks in advance!

*********** Legal Disclaimer and Other Information*********** The information contained in this e-mail message is intended only for the use of the individual named above. If the reader of this e-mail message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this message is strictly prohibited. If you have received this message in error, please immediately notify us by telephone at 020.7470.7400, and destroy the original message. Moore Europe Capital Management, LLP - One Curzon Street, London, W1J 5HA, UK Registered as a limited liability partnership in England and Wales No: OC322533 with its registered office at One Silk Street, London, EC2Y 8HQ Authorised and regulated by the Financial Services Authority
-------------------------------------------------------------------------
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