Boost logo

Boost Users :

Subject: Re: [Boost-users] Fw: Problem linking to Boost Filesystem Library
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-10-07 13:17:25


DDBeatty_at_[hidden] wrote:
> I found the define BOOST_ALL_DYN_LINK in the config/auto-link headers which
> causes BOOST_FILESYSTEM_DECL to defined as __declspec(dllimport) and this
> solved the problem.
> However, I am not sure why it was necessary to set this define. The
> headers know that I am using VS2005 (they add vc80 to the library name) and
> that I am using dynamic libraries (doesn't insert the s in the name).
> Seems like it should be redundant information to have to define

This s indicates whether the library is built to link to the static C++
runtime library.

In Christ,
Steven Watanabe

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at