Boost logo

Boost-Build :

Subject: [Boost-build] [boost-build] how to use boost.use-project?
From: Andrey Torba (andreytorba_at_[hidden])
Date: 2009-07-14 04:52:12


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 ;
========================================================================

main.cpp:
========================================================================
#include <boost/shared_ptr.hpp>

int main()
{
  return 0;
}
========================================================================

-- 
Regards, Andrey


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