Hi Piter,
Eric will include this fix in the next release.
See the email:
Best regards,
Kim
Hi Kim,
Quoting Kim Kuen Tang <kue...@vo...>:
> The compilation of QLXL together with boost 1.46.1 seems to fail due to
> the refactorization of
>
> boost/filesystem/path.hpp
>
> To overcome this one needs to define a macro
>
> # define BOOST_FILESYSTEM_VERSION 2
>
> at the beginning of the serializationfactory.cpp file. This will
> redirect the compiler to the correct file.
Big thanks for this fix, it will be included in the next release.
Kind Regards,
Eric
===================================================
Eric Ehlers
nazcatech sprl | Brussels | http://www.nazcatech.be
* Distributed computing for pricing analytics
* Use Microsoft Excel as a client to the Grid
Am 25.04.2011 00:05, schrieb Piter Dias:
>
> Guys,
>
> I had to setup my development environment from scratch (hd formatting)
> and got an error that says basic_filesystem_error is not member
> of boost::filesystem while compiling QuantLibXL. I believe the problem
> was on "ohxllib".
>
> This is due to a new default option of Boost 1.46 and upwards. It uses
> Filesystem library version 3 by default while QuantLib is compatible
> with version 2.
>
> The issue is easily solved by the code below
>
> #define BOOST_FILESYSTEM_VERSION 2
>
> as explained in
> http://www.boost.org/doc/libs/1_46_1/libs/filesystem/v3/doc/index.htm.
>
> Perhaps you guys want to add this piece of code somewhere in order to
> control QuantLib/Boost compatibility.
>
> Regards,
>
> --
>
> ------------------------------------------------------------------------
>
> Piter Dias
>
> pit...@pi...
>
> http://www.piterdias.com
>
>
> ------------------------------------------------------------------------------
> Fulfilling the Lean Software Promise
> Lean software platforms are now widely adopted and the benefits have been
> demonstrated beyond question. Learn why your peers are replacing JEE
> containers with lightweight application servers - and what you can gain
> from the move. http://p.sf.net/sfu/vmware-sfemails
>
>
> _______________________________________________
> QuantLib-dev mailing list
> Qua...@li...
> https://lists.sourceforge.net/lists/listinfo/quantlib-dev
|