|
From: Luigi B. <lui...@gm...> - 2019-08-02 15:31:21
|
The library should compile out of the box with Boost 1.70 and VC++17.
Support for VC++19 will be in next release, out shortly.
As for Boost 1.71, I guess we'll fix it when the final version gets out.
In the meantime, if you still have it, please send me the complete error
log.
Thanks,
Luigi
Luigi
On Thu, Aug 1, 2019 at 2:28 AM Charles Kaucher <ka...@cg...> wrote:
> I think my first mistake was compiling Boost 1_71_0_b1_rc1 before looking
> at Quantlib to see what version was compatible.
> What version of Boost is tested with Quantlib? 1.70? 1.69?
>
> My QuantLib build resulted in failure. As a first time user, I realize
> that the errors I received when compiling QuantLib may have been
> self-inflicted. A sample of the errors are below.
>
> What version of Boost should I use?
>
> Is there some howto that is more up to date that uses Visual Studio 2017
> or 2019?
>
> Chuck
>
> //////////////////////////////////////////
>
> The most common error was C2664 for a number of headers in Boost. Here is
> a sample as a full list would run 20 pages.
> This occurred 33 times for arg_list.hpp.
>
> 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: [
>
> A number (70+) of errors/message occurred for the file parameters.hpp in
> Boot such as this
>
> 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 :
>
>
> Some others as a sample:
>
> 5>C:\Users\xxxxx\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.
> 2>autocovariances.cpp
> 5>LINK : fatal error LNK1181: cannot open input file
> 'C:\Users\xxxxx\Desktop\lib\QuantLib-1.15\lib\QuantLib--x64-mt.lib'
> 5>Done building project "ConvertibleBonds.vcxproj" -- FAILED.
> 6>------ Build started: Project: FRA, Configuration: Release x64 ------
> 2>barrieroption.cpp
> _______________________________________________
> QuantLib-dev mailing list
> Qua...@li...
> https://lists.sourceforge.net/lists/listinfo/quantlib-dev
>
|