Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2004-03-27 17:08:01


"aelfred1" <oeranger7_at_[hidden]> writes:

> Rene Rivera <grafik.list_at_r...> writes:
>
>>Using Boost.Bind does not involve building anything. All you should
>>do is add the boost root directory to your search path.
>
> Well, aren't i ALL SMILES *smiles*. Oddly enough, following the
> VC7.1 help and using Tools>Options>Projects>VC++Directories>Include
> Files>New Line and entering "C:\boost" on that line, to augment
> the "Path to use when searching for include files while building a
> VC++ project. Corresponds to environment variable INCLUDE," doesn't
> seem to get bind.hpp found. What works (for now?) is copying the
> folder "boost" onto the path, to where deque, string and many other
> suspiciously STL-like files live, C:\Program Files\Microsoft Visual
> Studio .NET 2003\Vc7\Include.

I think your problem is that you're trying to

#include "bind.hpp"

instead of

#include "boost/bind.hpp"

or

#include <boost/bind.hpp>

The first form above is incorrect.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com
 

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk