Boost logo

Boost :

Subject: Re: [boost] [newbie] using non "header-only" boost libraries, but not linking the ".lib"
From: Enrique Nieloud (enieloud_at_[hidden])
Date: 2008-12-31 08:26:40

Hi John,

On Wed, Dec 31, 2008 at 10:46 AM, John Maddock <john_at_[hidden]>wrote:

> Enrique Nieloud wrote:
>> I'm using filesystem library. I'm using it under vs2005 on windows,
>>> and g++ on mac.
>>> Instead of linking the .lib I'd like to include the source files of
>>> the fs library in my project.
>>> I tried to include all the ".cpp" under the filesystem/src directory
>>> in the vs2005 project. But the linker still ask for the lib. As far
>>> as know I
>>> didn't mention the .lib in the project.
>>> Why is that?
> By default with msvc the headers will try to "auto-link" to the libraries
> that get built if you do a regular build and install with bjam. Otherwise
> please define BOOST_ALL_NO_LIB when building your app to disable the
> auto-link feature.


- Enrique Nieloud

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