Re: compile errors

Posted by Siddharth Alexander on
URL: http://quantlib.414.s1.nabble.com/compile-errors-tp6423p6424.html

Another error I have is
 

error C2872: 'variant' : ambiguous symbol

could be 'boost::detail::variant'

or 'c:\Program Files\boost\boost_1_35_0\boost\variant\variant.hpp(1785) : boost::variant'

Since I have never used boost, before can somebody shed some light on which is the right one to use?
 
Thanks,
S

 
On 8/4/08, Siddharth Alexander <[hidden email]> wrote:
Hi-
 
I am trying to build QuantLibAllStatic_vc7 in VS .NET 2003. I have a ton of errors while compiling the QuantLibObjects project. Are the files in this project current? Does this have to be included for me to run quantlib in xl and be able to step into the code? I have all kinds of errors. Please let me know if you can help in any way.
 
Thanks,
S
 
Here are a couple of sample errors:
 
c:\build_ql_0_9_0\QuantLibAddin\qlo\capletvolstructure.cpp(43): error C2039: 'ConstantOptionletVol' : is not a member of 'QuantLib'
 
c:\build_ql_0_9_0\QuantLibAddin\qlo\Enumerations\Constructors\enumeratedpairs.cpp(257): error C2514: 'QuantLib::HistoricalForwardRatesAnalysisImpl' : class has no constructors
        c:\build_ql_0_9_0\QuantLib\ql\models\marketmodels\historicalforwardratesanalysis.hpp(236) : see declaration of 'QuantLib::HistoricalForwardRatesAnalysisImpl'
 
c:\build_ql_0_9_0\QuantLibAddin\qlo\swaptionvolstructure.cpp(45): error C2660: 'QuantLibAddin::SwaptionConstantVolatility::SwaptionConstantVolatility' : function does not take 3 arguments
 

error C2039: 'ModelOfYieldCurve' : is not a member of 'QuantLib::GFunctionFactory' 

 c:\build_ql_0_9_0\QuantLib\ql\cashflows\conundrumpricer.hpp(71) : see declaration of 'QuantLib::GFunctionFactory'

c:\build_ql_0_9_0\QuantLibAddin\qlo\conundrumpricer.hpp(33) : error C2226: syntax error : unexpected type 'boost::shared_ptr<T>' with

[

T=ObjectHandler::ValueObject

]

fatal error C1083: Cannot open include file: 'ql/experimental/abcdatmvolcurve.hpp': No such file or directory

fatal error C1083: Cannot open include file: 'ql/math/interpolations/cubicspline.hpp': No such file or directory

fatal error C1083: Cannot open include file: 'ql/instruments/makeswaptions.hpp': No such file or directory



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users