Boost logo

Boost-Build :

Subject: Re: [Boost-build] Include Boost
From: ²ÜÒ»Ãù (joseph.yeeming.cho_at_[hidden])
Date: 2013-05-01 08:36:04


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_at_[hidden]> дµÀ£º

> 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



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