Posted by
Andreas Spengler-2 on
URL: http://quantlib.414.s1.nabble.com/compiling-QL-on-Solaris-10-SunStudio-12-tp7954p7955.html
Hi Warren,
Am 28.08.2009 01:03, schrieb Warren Chou:
> We are trying to compile QuantLib on Solaris 10 with SunStudio 12 and Boost headers only. We got following error far into the compilation:
> "fdmstepconditioncomposite.cpp", line 37: Error: Could not find a match for std::vect or<double>::vector(__rwstd::__rb_tree<double, double, __rwstd::__ident<double, double
>> , std::less<double>, std::allocator<double>>::const_iterator,
>> __rwstd::__rb_tree<dou
> ble, double, __rwstd::__ident<double, double>, std::less<double>, std::allocator<doub
> le>>::const_iterator) needed in
> le>>QuantLib::FdmStepConditionComposite::FdmStepCondition
> Composite(const std::list<std::vector<double> >&, const std::list<boost::shared_ptr<Q uantLib::StepCondition<QuantLib::Array>> >&).
> 1 Error(s) and 4 Warning(s) detected.
> *** Error code 1
>
> Any ideas would be appreciated!
tried this myself some months ago. The problem is, the SUN compiler in
its default outfit comes with a wrecked STL.
For it to work with Quantlib you have to use the STLport library...
Rgds,
Andreas
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.
http://p.sf.net/sfu/bobj-july_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users