Re: [Boost-users] [BBv2] getting started problem with headers

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?
Hi Volody,
thanks for the helping, but it would'nt work...
The compliler could'nt find the boost header file.
bjam should add -I$(BOOST_ROOT) to the command line
invocation for compiling.
Again my Jamfile
ECHO " Build :\"" $(__name__) " boost dir: "
$(BOOST_ROOT) ;
exe hello1 : hello.cpp :
<include>D:\Temp\boost_1_33_0 ; # hard coded... bad
And this is my cmd output:
D:\Temp\my_prj>bjam -d4 release
Build :" Jamfile boost dir:
D:\Temp\boost_1_33_0
make -- all
make -- all
time -- all: unbound
make --

Hi Tino,
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?
...using 1 temp target... ...updating 3 targets... ...using
hello.obj.rsp... msvc.compile.c++ bin\msvc\release\hello.obj call "C:\Programme\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" > nul cl /Zm800 -nologo -TP /Ob2 /GR /MD /Ogity /O2 /Gs /wd4675 /EHs @"bin\msvc\r elease\hello.obj.rsp" -c
The -I option should be present in "bin\msvc\release\hello.obj.rsp" file. Check if it's so. If not, try removing this file and trying again.
...skipped 2 targets...
Should i use the current cvs version?
This should not matter much.
participants (2)
-
Tino S.
-
Vladimir Prus