[BBv2] getting started problem with headers
Hi boosters,
i can't build my first stand alone project with
boost.build.
I did'nt found any solutions in the doc. :(
Here the facts:
envirement:
- winxp with vc7.1 and cygwin with gcc3.4
- bjam version 03.01.11 (which comes with boost 1.33)
- set the SystemVar BOOST_ROOT=D:\Temp\boost_1_33_0
(under win)
In my home directory are these files:
// FILE: site-config.jam
# Get Boost location from build system
path-constant BOOST_ROOT : [ modules.peek :
BOOST_ROOT ] ;
// FILE: user-config.jam
import toolset : using ;
using msvc ;
and here is my simple project dir
+ my_prj
// FILE: hello.cpp
#include
Hi Tino,
// FILE: Jamfile # nothing works, :( .. could not find the boost header # nothing works.. exe hello : hello.cpp ; #exe hello1 : hello.cpp : <include>boost ;
To begin with, try: exe hello : hello.cpp : <include>FULL_PATH_TO_BOOST ; If that builds, we can go on to solve you problem with project constant. If not, tell me what specific problem you have? Are boost headers not found? Or you get an error from Boost.Build? Or something else? - Volodya
participants (2)
-
Tino S.
-
Vladimir Prus