Re: Which Boost install?

Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/Exception-running-EuropeanOption-example-maybe-boost-problem-tp7357p7362.html

On Mon, 2009-04-06 at 16:00 +0100, Bojan Nikolic wrote:

> Tom Picking <[hidden email]> writes:
>
> > At the moment I am just trying to get all the dependencies installed,  
> > but I'm not sure which Boost installation I need: multi-thread, single-
> > thread, static, DLL etc. Please could someone let me know.
>
> The majority of boost libraries are header-only libraries, i.e., they
> have no compiled code. I believe QuantLib only uses this subset, so in
> fact it shouldn't matter which variant of Boost you install since the
> compiled parts will not be used.

That's correct as long as you don't try and compile the test suite.
You'll require Boost libraries for the latter.

I'm assuming that you'll use VC7, since that's what is commonly used to
compile Python extensions. I'm also assuming that you're using the
latest QuantLib (0.9.7.) Correct me if that's not the case.
In VC7, you'll have to compile QuantLib in "Release" configuration and
install the "Multithread" flavor of Boost; in both cases, that's the
configuration that will give you libraries with a -mt- filename (not
-mt-s- or -mt-whatever.)

Hope this helps,
        Luigi


--

Never mistake motion for action.
-- Ernest Hemingway



------------------------------------------------------------------------------
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users