Login  Register

Re: compiling errors : "C3861: BOOST_MESSAGE: identifier not found"

Posted by Luigi Ballabio on Aug 20, 2016; 7:39am
URL: http://quantlib.414.s1.nabble.com/compiling-errors-C3861-BOOST-MESSAGE-identifier-not-found-tp17658p17659.html

That macro was available in Boost when QuantLib 1.5 was released, but has been deprecated and removed from later Boost releases.  To fix it, you can either upgrade to a newer QuantLib version or downgrade to an older Boost version. If you can't do either, replacing BOOST_MESSAGE with BOOST_ERROR_MESSAGE will work, too.

Luigi


On 01:19, Sat, Aug 20, 2016 JeffreyLi <[hidden email]> wrote:

Hi,

I got some errors like :  C3861: 'BOOST_MESSAGE: identifier not found'

when I compiled the testsuite project in the files like: interpolations.cpp,
piecewisezerospreadedtermstructure.cpp

I'm using Visual Studio Pro 2015, boost_1_61_0 and QuantLib-1.5.

Not sure how to fix it.

Thanks much for help in advance!





--
View this message in context: http://quantlib.10058.n7.nabble.com/compiling-errors-C3861-BOOST-MESSAGE-identifier-not-found-tp17658.html
Sent from the quantlib-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users

------------------------------------------------------------------------------

_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users