Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2004-08-04 05:02:05


> Building a user DLL that is statically linked to boost surprisingly is
disallowed.
> I get the message:
> #error: "Mixing a dll boost library with a static runtime is a really bad
idea..."

You will get that error if you are trying to use a Boost lib as a DLL, when
the run time is statically linked.... and that really is a bad idea as the
calling code and the lib will each have different runtimes. If you
statically link Boost to a DLL that doesn't expose Boost to the outside
world then that should be fine, and should not produce the above message.

John.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk