boost 1.46.1 and serializationfactory.cpp

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

boost 1.46.1 and serializationfactory.cpp

Kim Kuen Tang

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.

Regards,

Kim

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: boost 1.46.1 and serializationfactory.cpp

Eric Ehlers-2
Hi Kim,

Quoting Kim Kuen Tang <[hidden email]>:

> 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


------------------------------------------------------------------------------
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users