Re: compiling QL on Solaris 10/SunStudio 12

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: compiling QL on Solaris 10/SunStudio 12

Warren Chou

How do I add STLPort into the QuantLib Makefiles?
I do not see an option in 'configure'.   We also tried setting CXXFLAGS and that didn't work.

Thank you very much for your help,
Warren
----- Original Message -----
From: Andreas Spengler <[hidden email]>
At:  8/28  9:44:39

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
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users