|
Boost-Build : |
Subject: Re: [Boost-build] [boost-build] how to use boost.use-project?
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-07-14 04:56:30
On Tuesday 14 July 2009 Andrey Torba wrote:
> I have boost, BOOST_ROOT, BOOST_BUILD_PATH variables. When i compile i
> receive an error:
>
> main.cpp(2) : fatal error C1083: Cannot open include file:
> 'boost/shared_ptr.hpp': No such file or directory
>
> What i do wrong?
>
> Jamroot:
> ========================================================================
> import boost ;
>
> boost.use-project ;
>
> project : build-dir bin ;
>
> exe main : main.cpp ;
You don't specify that any target actually uses boost. You probably need:
exe main : main.cpp /boost//headers ;
- Volodya
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