Boost logo

Boost Users :

Subject: Re: [Boost-users] Unexpected static libraries in Windows build
From: Leon Mlakar (leon_at_[hidden])
Date: 2016-12-06 16:29:58


On 06.12.2016 21:59, Christian Ullrich wrote:
> , I have a number of static libraries (libboost_...-mt-1_62.lib) in
> the lib directory. Specifically:
>
> - system
> - chrono
> - timer
> - unit_test_framework
> - test_exec_monitor
> - exception
>
> The first four also exist as the DLLs I expected to get.
As far as I recall you need .lib file to accompany dynamic library
(.dll) in order to link you code against .dll in compile time - this is
not a static library, it only contains declarations needed by the
linker. You don't need them to just run a program that loads .dll.

But then again, I'm no expert in MS and of course may be wrong.

Cheers,
Leon


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net