I have boost 1.58.0 and Quantlib-1.5. I am trying to build project “Quantlib” from “QuantLib_vc12” solution file. I get error “error C2668:
'boost::bind' : ambiguous call to overloaded function”
Can someone help me?
Details of the error are below:
convolvedstudentt.cpp
1>c:\cpplibs\quantlib-1.5\ql\experimental\math\convolvedstudentt.cpp(194): error C2668: 'boost::bind' : ambiguous
call to overloaded function
1> c:\cpplibs\boost_1_58_0\boost\bind\bind_mf_cc.hpp(96): could be 'boost::_bi::bind_t<QuantLib::Real,boost::_mfi::cmf1<QuantLib::Probability,QuantLib::CumulativeBehrensFisher,QuantLib::Real>,boost::_bi::list2<boost::_bi::value<T>,boost::arg<1>>>
boost::bind<QuantLib::Real,QuantLib::Probability,QuantLib::CumulativeBehrensFisher,QuantLib::Real,QuantLib::CumulativeBehrensFisher,boost::arg<1>>(R (__thiscall QuantLib::CumulativeBehrensFisher::* )(B1) const,A1,A2)'
1> with
1> [
1> T=QuantLib::CumulativeBehrensFisher
1> , R=QuantLib::Probability
1> , B1=QuantLib::Real
1> , A1=QuantLib::CumulativeBehrensFisher
1> , A2=boost::arg<1>
1> ]
1> c:\cpplibs\boost_1_58_0\boost\bind\bind_mf_cc.hpp(74): or 'boost::_bi::bind_t<QuantLib::Real,boost::_mfi::cmf1<QuantLib::Probability,QuantLib::CumulativeBehrensFisher,QuantLib::Real>,boost::_bi::list2<boost::_bi::value<T>,boost::arg<1>>>
boost::bind<QuantLib::Real,QuantLib::CumulativeBehrensFisher,QuantLib::Real,QuantLib::CumulativeBehrensFisher,boost::arg<1>>(R (__thiscall QuantLib::CumulativeBehrensFisher::* )(B1) const,A1,A2)'
1> with
1> [
1> T=QuantLib::CumulativeBehrensFisher
1> , R=QuantLib::Real
1> , B1=QuantLib::Real
1> , A1=QuantLib::CumulativeBehrensFisher
1> , A2=boost::arg<1>
1> ]
1> c:\cpplibs\boost_1_58_0\boost\bind\bind.hpp(1768): or 'boost::_bi::bind_t<boost::_bi::unspecified,QuantLib::Real,boost::_bi::list2<boost::_bi::value<T>,boost::arg<1>>>
boost::bind<QuantLib::Real,QuantLib::CumulativeBehrensFisher,boost::arg<1>>(F,A1,A2)'
1> with
1> [
1> T=QuantLib::CumulativeBehrensFisher
1> , F=QuantLib::Real
1> , A1=QuantLib::CumulativeBehrensFisher
1> , A2=boost::arg<1>
1> ]
1> c:\cpplibs\boost_1_58_0\boost\bind\bind.hpp(1676): or 'boost::_bi::bind_t<QuantLib::Real,QuantLib::CumulativeBehrensFisher,boost::_bi::list1<boost::arg<1>>>
boost::bind<QuantLib::Real,QuantLib::CumulativeBehrensFisher,boost::arg<1>>(boost::type<QuantLib::Real>,F,A1)'
1> with
1> [
1> F=QuantLib::CumulativeBehrensFisher
1> , A1=boost::arg<1>
1> ]
1> c:\cpplibs\boost_1_58_0\boost\bind\bind.hpp(1602): or 'boost::_bi::bind_t<QuantLib::Real,QuantLib::Probability
(__thiscall QuantLib::CumulativeBehrensFisher::* )(QuantLib::Real) const,boost::_bi::list2<boost::_bi::value<T>,boost::arg<1>>> boost::bind<QuantLib::Real,QuantLib::Probability(__thiscall QuantLib::CumulativeBehrensFisher::* )(QuantLib::Real) const,QuantLib::CumulativeBehrensFisher,boost::arg<1>>(F,A1,A2)'
1> with
1> [
1> T=QuantLib::CumulativeBehrensFisher
1> , F=QuantLib::Probability (__thiscall QuantLib::CumulativeBehrensFisher::* )(QuantLib::Real)
const
1> , A1=QuantLib::CumulativeBehrensFisher
1> , A2=boost::arg<1>
1> ]
1> while trying to match the argument list '(QuantLib::Probability (__thiscall QuantLib::CumulativeBehrensFisher::* )(const QuantLib::Real)
const, QuantLib::CumulativeBehrensFisher, boost::arg<1>)'
Free forum by Nabble | Edit this page |