Boost logo

Boost Users :

Subject: Re: [Boost-users] Linking boost in Visual Studio VC++ project
From: Ferdinand Urban (ferdinand.urban_at_[hidden])
Date: 2010-03-26 06:58:22


Hi Federico,
the solution is quite simple, all you need is this two steps:
1. Go to Project->Properties->Configuration Properties->C/C++->General
under Additional Include Directories add path to your boost includes
I have: D:\apps\boost\boost_1_42

2. Go to Project->Properties->Configuration Properties->Linker->General
under Additional Library Dependencies add path to your boost lib directory
I have: D:\apps\boost\boost_1_42\lib

i have compiled the example from
http://www.boost.org/doc/libs/1_35_0/more/getting_started/windows.html and
it is working w/out issues.

Hope it helps
Ferdinand

2010/3/26 Federico Golfrè Andreasi <federico.golfre_at_[hidden]>

> Hi !
>
> 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 ?
>
> Thank you,
>
> Federico
>
>
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>



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