Boost 1.71.0 Beta 1 and Quantlib 1.15
Gentlemen, Please read this message from Quantlib Dev board <https://sourceforge.net/p/quantlib/mailman/message/36730686/> In short, I was not able to compile Quantlib 1.15 with Boost 1_71_0_b1_rc1 I was able to compile it with 1.70 with some creativity. See here. <https://sourceforge.net/p/quantlib/mailman/message/36732240/> I have a complete list of the errors and messages. It is some 36 pages long and thought it best not to attach. If anyone wants it I will gladly send it to them privately. kaucher@gmail.com
On 8/3/19 10:06 PM, Cg K via Boost wrote:
Gentlemen, Please read this message from Quantlib Dev board <https://sourceforge.net/p/quantlib/mailman/message/36730686/>
In short, I was not able to compile Quantlib 1.15 with Boost 1_71_0_b1_rc1
I was able to compile it with 1.70 with some creativity. See here. <https://sourceforge.net/p/quantlib/mailman/message/36732240/>
I have a complete list of the errors and messages. It is some 36 pages long and thought it best not to attach. If anyone wants it I will gladly send it to them privately.
From the partial error message in that SF thread it looks like the problem is related to Boost.Parameter and Boost.Accumulators. There's this PR[1], which seems to be not merged yet, which might help. It would be great if you could test if it indeed does help. If you have other errors, it would help if you could distill those and post here or on GitHub issues. Otherwise I doubt anyone will be able to do anything about it before the release. [1]: https://github.com/boostorg/accumulators/pull/30
Thanks, Andrey. The PR you link indeed fixes the breakage. Whom should we bother to get it merged before 1.71 is released? Cheers, Luigi On Sat, Aug 3, 2019 at 9:39 PM Andrey Semashev via Boost < boost@lists.boost.org> wrote:
On 8/3/19 10:06 PM, Cg K via Boost wrote:
Gentlemen, Please read this message from Quantlib Dev board <https://sourceforge.net/p/quantlib/mailman/message/36730686/>
In short, I was not able to compile Quantlib 1.15 with Boost 1_71_0_b1_rc1
I was able to compile it with 1.70 with some creativity. See here. <https://sourceforge.net/p/quantlib/mailman/message/36732240/>
I have a complete list of the errors and messages. It is some 36 pages long and thought it best not to attach. If anyone wants it I will gladly send it to them privately.
From the partial error message in that SF thread it looks like the problem is related to Boost.Parameter and Boost.Accumulators. There's this PR[1], which seems to be not merged yet, which might help. It would be great if you could test if it indeed does help.
If you have other errors, it would help if you could distill those and post here or on GitHub issues. Otherwise I doubt anyone will be able to do anything about it before the release.
[1]: https://github.com/boostorg/accumulators/pull/30
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
These errors seemed to be the result of two or three 'things' with the remaining seem to be cascading issues from there. The first and easiest and technically not an error is a reference to a deprecated file: 10>C:\Users\kauch\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\timer.hpp(21): message : This header is deprecated. Use the facilities in <boost/timer/timer.hpp> instead. The other two issues involve two files boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(312,1) boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\parameters.hpp(43) The error messages are below and as it is posited that PR1 which might help/solve the problem. I would be happy to test BUT I am: new to Boost, new to Quantlib, never used github, and just getting back into programming after 9 years off. This is a learning exercise and given your release date, not sure I can climb that mountain fast enough. Need steps and where is the PR ////////////////////////////////////////// 1>------ Rebuild All started: Project: QuantLib, Configuration: Release x64 ------ …………………………………………... 1>------ Rebuild All started: Project: QuantLib, Configuration: Release x64 ------ …………………………………………... 1>normaldistribution.cpp 1>studenttdistribution.cpp 1>discreteintegrals.cpp 1>filonintegral.cpp 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(312,1): error C2664: 'boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<Keyword,const double>>::tagged_argument_list_of_1(const boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<Keyword,const double>> &)': cannot convert argument 1 from 'const A1' to 'const double &' 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(312,1): error C2664: with 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(312,1): error C2664: [ 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(312,1): error C2664: Keyword=boost::accumulators::tag::sample 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(312,1): error C2664: ] 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(312,1): error C2664: and 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(312,1): error C2664: [ 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(312,1): error C2664: A1=boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<boost::accumulators::tag::weight,double>> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(312,1): error C2664: ] (compiling source file ql\math\statistics\incrementalstatistics.cpp) 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(313,1): message : Reason: cannot convert from 'const A1' to 'Arg' 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(313,1): message : with 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(313,1): message : [ 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(313,1): message : A1=boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<boost::accumulators::tag::weight,double>> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(313,1): message : ] 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(313,1): message : and 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(313,1): message : [ 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(313,1): message : Arg=const double 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(313,1): message : ] (compiling source file ql\math\statistics\incrementalstatistics.cpp) 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(312,20): message : No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called (compiling source file ql\math\statistics\incrementalstatistics.cpp) 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1082): message : see reference to function template instantiation …… ……... 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1082): message : with 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1082): message : [ 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1082): message : Keyword=boost::accumulators::tag::sample, 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1082): message : A1=boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<boost::accumulators::tag::weight,double>>, 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1082): message : A0=QuantLib::Real 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1082): message : ] (compiling source file ql\math\statistics\incrementalstatistics.cpp) 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1081): message : see reference to function template instantiation 'boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<Keyword,const double>>,boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<boost::accumulators::tag::accumulator,boost::accumulators::accumulator_set ………….. ………... 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1081): message : with 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1081): message : [ 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1081): message : Keyword=boost::accumulators::tag::sample, 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1081): message : A1=boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<boost::accumulators::tag::weight,double>>, 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1081): message : A0=QuantLib::Real 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1081): message : ] (compiling source file ql\math\statistics\incrementalstatistics.cpp) 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\parameters.hpp(62): message : see reference to function template instantiation 'boost::parameter::aux::flat_like_arg_list<boost::parameter::aux::flat_like_arg_tuple<boost::accumulators::tag::sample,TaggedArg,EmitsErrors>,boost::parameter::aux::flat_like_arg_tuple<boost::accumulators::tag::accumulator,boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<Keyword,boost::accumulators::accumulator_set ..…….. ………... 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\parameters.hpp(62): message : with 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\parameters.hpp(62): message : [ 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\parameters.hpp(62): message : TaggedArg=boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<boost::accumulators::tag::sample,const double>>, 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\parameters.hpp(62): message : EmitsErrors=boost::mp11::mp_true, 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\parameters.hpp(62): message : Keyword=boost::accumulators::tag::accumulator, 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\parameters.hpp(62): message : A1=boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<boost::accumulators::tag::weight,double>>, 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\parameters.hpp(62): message : A0=QuantLib::Real 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\parameters.hpp(62): message : ] (compiling source file ql\math\statistics\incrementalstatistics.cpp) 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\parameters.hpp(43): message : see reference to function template instantiation 'boost::parameter::aux::flat_like_arg_list<boost::parameter::aux::flat_like_arg_tuple<boost::accumulators::tag::sample,TaggedArg,EmitsErrors>,boost::parameter::aux::flat_like_arg_tuple<boost::accumulators::tag::accumulator,boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<Keyword,boost::accumulators::accumulator_set On Sat, Aug 3, 2019 at 3:39 PM Andrey Semashev via Boost < boost@lists.boost.org> wrote:
On 8/3/19 10:06 PM, Cg K via Boost wrote:
Gentlemen, Please read this message from Quantlib Dev board <https://sourceforge.net/p/quantlib/mailman/message/36730686/>
In short, I was not able to compile Quantlib 1.15 with Boost 1_71_0_b1_rc1
I was able to compile it with 1.70 with some creativity. See here. <https://sourceforge.net/p/quantlib/mailman/message/36732240/>
I have a complete list of the errors and messages. It is some 36 pages long and thought it best not to attach. If anyone wants it I will gladly send it to them privately.
From the partial error message in that SF thread it looks like the problem is related to Boost.Parameter and Boost.Accumulators. There's this PR[1], which seems to be not merged yet, which might help. It would be great if you could test if it indeed does help.
If you have other errors, it would help if you could distill those and post here or on GitHub issues. Otherwise I doubt anyone will be able to do anything about it before the release.
[1]: https://github.com/boostorg/accumulators/pull/30
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
The PR was merged to master this weekend (I guess this means it goes into 1.71?). I had tested it previously, and it fixes the issue. Luigi On Sun, Aug 4, 2019 at 6:46 PM Cg K <kaucher@gmail.com> wrote:
These errors seemed to be the result of two or three 'things' with the remaining seem to be cascading issues from there.
The first and easiest and technically not an error is a reference to a deprecated file: 10>C:\Users\kauch\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\timer.hpp(21): message : This header is deprecated. Use the facilities in <boost/timer/timer.hpp> instead.
The other two issues involve two files boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(312,1) boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\parameters.hpp(43)
The error messages are below and as it is posited that PR1 which might help/solve the problem.
I would be happy to test BUT I am: new to Boost, new to Quantlib, never used github, and just getting back into programming after 9 years off.
This is a learning exercise and given your release date, not sure I can climb that mountain fast enough. Need steps and where is the PR
//////////////////////////////////////////
1>------ Rebuild All started: Project: QuantLib, Configuration: Release x64 ------ …………………………………………... 1>------ Rebuild All started: Project: QuantLib, Configuration: Release x64 ------ …………………………………………...
1>normaldistribution.cpp 1>studenttdistribution.cpp 1>discreteintegrals.cpp 1>filonintegral.cpp
1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(312,1): error C2664: 'boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<Keyword,const double>>::tagged_argument_list_of_1(const boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<Keyword,const double>> &)': cannot convert argument 1 from 'const A1' to 'const double &' 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(312,1): error C2664: with 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(312,1): error C2664: [ 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(312,1): error C2664: Keyword=boost::accumulators::tag::sample 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(312,1): error C2664: ] 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(312,1): error C2664: and 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(312,1): error C2664: [ 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(312,1): error C2664: A1=boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<boost::accumulators::tag::weight,double>> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(312,1): error C2664: ] (compiling source file ql\math\statistics\incrementalstatistics.cpp) 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(313,1): message : Reason: cannot convert from 'const A1' to 'Arg' 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(313,1): message : with 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(313,1): message : [ 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(313,1): message : A1=boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<boost::accumulators::tag::weight,double>> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(313,1): message : ] 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(313,1): message : and 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(313,1): message : [ 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(313,1): message : Arg=const double 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(313,1): message : ] (compiling source file ql\math\statistics\incrementalstatistics.cpp) 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(312,20): message : No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called (compiling source file ql\math\statistics\incrementalstatistics.cpp) 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1082): message : see reference to function template instantiation ……
……... 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1082): message : with 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1082): message : [ 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1082): message : Keyword=boost::accumulators::tag::sample, 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1082): message : A1=boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<boost::accumulators::tag::weight,double>>, 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1082): message : A0=QuantLib::Real 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1082): message : ] (compiling source file ql\math\statistics\incrementalstatistics.cpp) 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1081): message : see reference to function template instantiation 'boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<Keyword,const double>>,boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<boost::accumulators::tag::accumulator,boost::accumulators::accumulator_set ………….. ………... 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1081): message : with 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1081): message : [ 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1081): message : Keyword=boost::accumulators::tag::sample, 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1081): message : A1=boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<boost::accumulators::tag::weight,double>>, 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1081): message : A0=QuantLib::Real 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1081): message : ] (compiling source file ql\math\statistics\incrementalstatistics.cpp) 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\parameters.hpp(62): message : see reference to function template instantiation 'boost::parameter::aux::flat_like_arg_list<boost::parameter::aux::flat_like_arg_tuple<boost::accumulators::tag::sample,TaggedArg,EmitsErrors>,boost::parameter::aux::flat_like_arg_tuple<boost::accumulators::tag::accumulator,boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<Keyword,boost::accumulators::accumulator_set ..…….. ………... 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\parameters.hpp(62): message : with 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\parameters.hpp(62): message : [ 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\parameters.hpp(62): message : TaggedArg=boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<boost::accumulators::tag::sample,const double>>, 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\parameters.hpp(62): message : EmitsErrors=boost::mp11::mp_true, 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\parameters.hpp(62): message : Keyword=boost::accumulators::tag::accumulator, 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\parameters.hpp(62): message : A1=boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<boost::accumulators::tag::weight,double>>, 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\parameters.hpp(62): message : A0=QuantLib::Real 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\parameters.hpp(62): message : ] (compiling source file ql\math\statistics\incrementalstatistics.cpp) 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\parameters.hpp(43): message : see reference to function template instantiation 'boost::parameter::aux::flat_like_arg_list<boost::parameter::aux::flat_like_arg_tuple<boost::accumulators::tag::sample,TaggedArg,EmitsErrors>,boost::parameter::aux::flat_like_arg_tuple<boost::accumulators::tag::accumulator,boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<Keyword,boost::accumulators::accumulator_set
On Sat, Aug 3, 2019 at 3:39 PM Andrey Semashev via Boost < boost@lists.boost.org> wrote:
On 8/3/19 10:06 PM, Cg K via Boost wrote:
Gentlemen, Please read this message from Quantlib Dev board <https://sourceforge.net/p/quantlib/mailman/message/36730686/>
In short, I was not able to compile Quantlib 1.15 with Boost 1_71_0_b1_rc1
I was able to compile it with 1.70 with some creativity. See here. <https://sourceforge.net/p/quantlib/mailman/message/36732240/>
I have a complete list of the errors and messages. It is some 36 pages long and thought it best not to attach. If anyone wants it I will gladly send it to them privately.
From the partial error message in that SF thread it looks like the problem is related to Boost.Parameter and Boost.Accumulators. There's this PR[1], which seems to be not merged yet, which might help. It would be great if you could test if it indeed does help.
If you have other errors, it would help if you could distill those and post here or on GitHub issues. Otherwise I doubt anyone will be able to do anything about it before the release.
[1]: https://github.com/boostorg/accumulators/pull/30
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
On August 4, 2019 at 7:59 AM, Cg K wrote:
In short, I was not able to compile Quantlib 1.15 with Boost 1_71_0_b1_rc1 On August 5, 2019 at 4:03 AM, Luigi Ballabio wrote: The PR was merged to master this weekend (I guess this means it goes into 1.71?).
That is the hope. I wouldn't mind seeing Boost 1_71_0_b1_rc2 or Boost 1_71_0_b2_rc1, however.
I had tested it previously, and it fixes the issue.
On Mac OS X, I was able to do the following: 1. Unzip Boost 1_71_0_b1_rc1 into a directory arbitrarily named target_dir. 2. Unzip a clone of the master branch of the Boost.Accumulators GitHub repository into a directory arbitarily named source_dir. 3. Replace target_dir/boost/accumulators and its contents with source_dir/include/boost/accumulators and its contents. 4. Replace target_dir/libs/accumulators/test and its contents with source_dir/test and its contents. 5. Replace target_dir/libs/accumulators/example and its contents with source_dir/example and its contents. 6. Replace target_dir/libs/accumulators/doc and its contents with source_dir/doc and its contents. 7. Replace target_dir/index.html with source_dir/index.html 8. Install Boost 1_71_0_b1_rc1 in accordance with the Boost Getting Started Guide. 9. Unzip a clone of the master branch of the QuantLib GitHub repository into a directory arbitrarily named QL_dir. 10. Install QuantLib in accordance with the Note for C++ Unix users < https://www.quantlib.org/git.shtml> followed by < https://www.quantlib.org/install/macosx.shtml>. All examples compiled and ran without error. Cromwell D. Enage
participants (4)
-
Andrey Semashev
-
Cg K
-
Cromwell Enage
-
Luigi Ballabio