Boost logo

Boost :

Subject: Re: [boost] [filesystem][iostreams][program_options] linker issues on msvc
From: Alexander Arhipenko (arhipjan_at_[hidden])
Date: 2009-11-30 06:04:00


On Mon, Nov 30, 2009 at 9:31 AM, Vladimir Prus
<vladimir_at_[hidden]> wrote:
> Vladimir Prus wrote:
>
>> Alexander Arhipenko wrote:
>>[snip]
>> Yes, and this:
>>
>>     lib boost_filesystem
>>     :
>>     $(SOURCES).cpp
>>     ../../system/build//boost_system
>>     :
>>
>> should be enough for that. I'll check why is that not working.
>
> I've looked. Apparently, Boost.Filesystem not only uses Boost.System in its
> sources, but also uses it in inlined and/or template functions. Therefore, a
> client of Boost.Filesystem will have direct references to Boost.System function
> in it. And on Windows, for this to work, Boost.System library must be directly
> linked with.
>
> I've checked in a patch that adds necessary usage requirements to Boost.Filesystem,
> see:
>
>        https://svn.boost.org/trac/boost/changeset/58028
>
> Thanks for the report!
>
> - Volodya
>

Hi Volodya,

Thanks for you attention!

Cheers


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk