|
From: Piter D. <pit...@pi...> - 2011-04-24 22:22:57
|
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 [1]. 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 [2] Links: ------ [1] http://www.boost.org/doc/libs/1_46_1/libs/filesystem/v3/doc/index.htm [2] http://www.piterdias.com |