
Hello, I am currently starting a project using the boost libraries and Visual C++. In this project we wish to minimize the number of DLL's shipped with our final product. However, we have discovered that the boost thread library is fixed to be dynamically loadable, is there any way to get around this? Short: How do i statically link the boost thread library in Visual C++ projects? -- Best regards / Med venlig hilsen Rasmus Christian Kaae - kaae@cs.auc.dk or kaae@daimi.au.dk Office: E4-119, Aalborg University. Phone: +45 75 88 04 13 Mobile: +45 28 72 04 13

Rasmus Christian Kaae wrote:
I am currently starting a project using the boost libraries and Visual C++. In this project we wish to minimize the number of DLL's shipped with our final product. However, we have discovered that the boost thread library is fixed to be dynamically loadable, [...]
It isn't, starting with boost 1.32.
Short: How do i statically link the boost thread library in Visual C++ projects?
define BOOST_THREAD_USE_LIB in config/user.hpp Cheers, Stefan
participants (2)
-
Rasmus Christian Kaae
-
Stefan Slapeta