Posted by
japari on
URL: http://quantlib.414.s1.nabble.com/QuantLib-0-9-9-build-problem-boost-none-tp8178p8181.html
I am not sure it relates but this thread is starting to look like a problem I
had so Ill jump in. I am on VC++2005, boost 1.38.0
I locally patch the lib with a few untested tricks. Anyway, this forces me to
remove the \Za flag to be able to use boost::thread. This was a known issue you
find in the boost forums, you trigger the macros not allowing threads if I
remember correctly.
Once that flag removed, the problem is that QL compil fails in:
Real AnalyticHestonEngine::Integration::calculate
in: analytichhestonengine.cpp
I havent investigated fully the reasons, looks like the compiler flags in boost
lib configuration files (at least my locals) are triggering somehow use of
boost::bind instead of boost::lambda::bind. Explicitly fully qualifying the use
of this and other lambdas solves the problem.
Are these the VC++2005 errors you mention?
I send you my local patch in case this is related to your problem. Of course
one should import the boost::lambda::_functs_ individually rather than the
spaghetti I am sending, but it shows the places if you perform a file compare.
Best regards
Pepe
Quoting Luigi Ballabio <
[hidden email]>:
> On Fri, 2009-10-30 at 07:22 -0700, Alexander Lotter wrote:
> > I also tried QuantLib 0.9.9 with 1.40 with default project settings in MS
> VS
> > 2005. It didn't worked and I had to remove /Za - flag, ANSI compatibility
> as
> > said in the QuantLib FAQ for .NET 2003 and could compile the project
> without
> > errors. It is better to turn it off in the project settings by default.
>
> I think that was done for VC++2005. Not for 2009, though---with
> compatibility disabled there were errors in some other files.
>
> Luigi
>
>
> --
>
> The First Rule of Optimization: Don't do it.
> The Second Rule of Optimization (For experts only): Don't do it yet.
> -- Michael Jackson
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) 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 - 12, 2009. Register now!
>
http://p.sf.net/sfu/devconference> _______________________________________________
> QuantLib-users mailing list
>
[hidden email]
>
https://lists.sourceforge.net/lists/listinfo/quantlib-users>
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) 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 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users