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" <mjboerge@nmsu.edu> 写道:

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: http://lists.boost.org/mailman/listinfo.cgi/boost-build