From: Boost-build [] on behalf of 曹一鸣 []
Sent: Wednesday, May 01, 2013 6:36 AM
To: Boost.Build developer's and user's list
Subject: Re: [Boost-build] Include Boost

Maybe you can try to specify the include path. if you use Linux and g++ compiler you could use -I /usr/local/include and if you program need static lib, you should also use -L /usr/local/lib to specify the lib path and -l boost_XXX to include the static lib you need

发自我的 iPhone

在 2013-5-1,5:12,"Michael Boergert" <> 写道:

I'm trying to get a C++ program to include Boost, and I've tried such statements as
# include <boost> or
#include <boost/config.hpp> and so on, and also
using namespace boost;
But all of them give an error message saying something to the effect of:

Cannot open include file: 'boost': No such file or directory (or say that the namespace doesn't exist if I try that way.  Could anyone please give me some help with this.
Unsubscribe & other changes:
Thank you for the three who responded.  I am actually using Windows XP and Microsoft Visual Studio 2008.  I tried saying include <D/boost/boost_1_50/boost> but it still said there was no such path or directory.