Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2004-11-03 06:36:04

> Actually, this seems more widespread that just filesystem:
> My project is set to link to run-time DLLs in C++Builder project options.
> boost-thread correctly looks for boost_thread-bcb-mt-d-1_32.lib, but
> date_time, filesystem and regex all look for
> libboost_XXXXXX-bcb-mt-d-1_32.lib, not
> boost_XXXXXX-bcb-mt-d-1_32.lib
> Shouldn't they pick up the compiler switch that says I'm using
> runtime-dlls or do I need to explicitly say use boost dlls?

Yes, if you're linking to the dll runtime then you can either link to the
static or the dll versions of the libraries.

The default is static linking in this release, defining BOOST_ALL_DYN_LINK
changes it to dynamic linking.

Boost.Threads uses dynamic linking by default because there is no static
version, or is there, actually I thought this had been fixed?

We also need to add something about this in the getting started docs.


Boost list run by bdawes at, gregod at, cpdaniel at, john at