Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2003-04-20 08:38:33

At 11:01 PM 4/6/2003, Cain O'Sullivan wrote:

>I am trying to compile a program using the filesystem module. I am using
>VC7 and whenever I try to compile it get errors such as ...
>TestBoostFs error LNK2005: "public: unsigned int __thiscall
>std::basic_string<char,struct std::char_traits<char>,class
>std::allocator<char> >::size(void)const "
>already defined in libcpd.lib(ios.obj)
>These errors occurr as soon as I add any boost::filesystem code.
>Any suggestions?

You need to create a static or dynamic library and link to it. Do that
either by adding a library build project to your workspace/solution, or by
running bjam in the boost root directory and letting it build the library
(which you will need to move and/or point to so the link works).


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