|
From: Luigi B. <lui...@gm...> - 2019-07-29 16:02:01
|
gcc 4.4.7 is seven years old, and might not be able to compile the latest Boost code. If you can't upgrade your compiler, you might try using an older version of Boost. QuantLib works with versions as far back as Boost 1.48. Luigi On Mon, Jul 29, 2019 at 4:14 PM Banerjee, Tapas K via QuantLib-dev < qua...@li...> wrote: > Hello all, > > > > I am getting below error when I try to build C++ Quantlib at our Linux box. > > Below are the commands I executed and the error. > > > > Any pointers ? > > Thanks in advance > > -Tapas > > > > *./configure CC=/usr/bin/gcc44 --with-boost-include= qlib/boost_1_70_0 …* > > *make CC=/usr/bin/gcc44* > > ====errors ===== > > .. > > th::policies::default_policy, boost::math::policies::default_policy>]' > > ../../../ql/experimental/math/tcopulapolicy.hpp:133: instantiated from > here > > /home/podsintr/qlib/boost_1_70_0/boost/math/tools/roots.hpp:71: error: no > matching function for call to 'get(const boost::fusion::tuple<long double, > long double, boost::fusion::void_, boost::fusion::void_, > boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, > boost::fusion::void_, boost::fusion::void_, boost::fusion::void_>&)' > > make[4]: *** [gaussianlhplossmodel.lo] Error 1 > > make[4]: Leaving directory > `/lfs/fs00/dev/home/podsintr/qlib/QuantLib-1.15/ql/experimental/credit' > > > > My Linux box: > > /> uname -a > > Linux vkl40impodsd 2.6.18-434.el5 #1 SMP Thu Aug 23 15:28:29 EDT 2018 > x86_64 x86_64 x86_64 GNU/Linux > > > > compiler: > > gcc44.x86_64 4.4.7-11.el5_11 > > > > > > This message is confidential and subject to terms at: > https://www.jpmorgan.com/emaildisclaimer including on confidential, > privileged or legal entity information, viruses and monitoring of > electronic messages. If you are not the intended recipient, please delete > this message and notify the sender immediately. Any unauthorized use is > strictly prohibited. > _______________________________________________ > QuantLib-dev mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-dev > |