|
Boost Users : |
Subject: Re: [Boost-users] Linking boost in Visual Studio VC++ project
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-03-26 11:59:02
AMDG
Federico Golfrè Andreasi wrote:
> I'm trying to find out how to link boost libraries under windows to a visual
> studio VC++ project (that will be a .dll library).
>
> Where can I find some information ?!
>
> I've compiled the boost libraries and followed the instruction found at:
> http://www.boost.org/doc/libs/1_35_0/more/getting_started/windows.html
>
> but when I build the project it gives me an error trying to find a
> libboost_filesystem-vc80-mt-gd-1_41.lib,
> but no one libraries build starts with the 'lib' prefix ?
> Why he search for them ?
>
To build all variants use
bjam --build-type=complete toolset=msvc stage
If you want that specific library only,
bjam --with-filesystem link=static threading=multi debug
runtime-link=shared stage
In Christ,
Steven Watanabe
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