Boost 1.31.00 in recent versions of QL

Posted by delia.silvino on
URL: http://quantlib.414.s1.nabble.com/Boost-1-31-00-in-recent-versions-of-QL-tp5386.html

Hi all,

I'm having problems compiling QL 0.4.0 with boost 1.31.00:
a more recent version of boost seems to be needed,
differently from what specified at
http://quantlib.org/download.shtml


When trying to compile with VC 7.1 I get the following error:
c:\...\QuantLib-0.4.0\ql\date.cpp(27): fatal error C1083: Cannot open include file: 'boost/algorithm/string/case_conv.hpp': No such file or directory
indeed, such file exists only in later versions of boost

In QL 0.4.0 this seems to be the only reference to boost versions >1.31:
I avoided the error modifying the QL files in which such file is included, namely
C:\...\QuantLib-0.4.0\ql\Indexes\indexmanager.cpp
C:\...\QuantLib-0.4.0\ql\Utilities\dataparsers.cpp
C:\...\QuantLib-0.4.0\ql\Utilities\strings.hpp
C:\...\QuantLib-0.4.0\ql\date.cpp

This is not a very good solution: it works, for now, but doesn't allow to keep abreast of Ql updates.
Later versions of QL feature further references to boost >1.31, and arrange a patch it's not so easy.

Moreover, boost 1.31.00 doesn't allow for VC 8.0:
the following error occurs when trying to compile QL 0.4.0 with boost 1.31.00 using VC 8.0
"Unknown compiler version - please run the configure tests and report the results"

I tried with boost 1.32.00 and everything is ok with VC 7.1,
but I am forced to use boost 1.31.00 for compatibility with other libs.
Is there something I can do to update QL without changing boost version?

Thanks,
Delia

----------------------------------------------------------------------------------------------------------------------------
La presente comunicazione e' destinata esclusivamente al soggetto indicato piu' sopra quale destinatario o ad eventuali altri soggetti autorizzati a riceverla. Essa contiene informazioni strettamente confidenziali e riservate, la cui comunicazione o diffusione a terzi e' proibita, salvo che non sia stata espressamente autorizzata.
Se avete ricevuto questa comunicazione per errore, Vi preghiamo di darne immediata comunicazione al mittente e di cancellarne ogni evidenza dai Vostri supporti.
----------------------------------------------------------------------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users