Boost logo

Boost Users :

From: Tino S. (schumi_75_at_[hidden])
Date: 2005-09-23 10:35:01


>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</D:/Temp/my_prj> boost dir:
D:\Temp\boost_1_33_0
make -- all
make -- all
time -- all: unbound
make -- <pbin\msvc\release>hello1.exe
make -- <pbin\msvc\release>hello1.exe
bind -- <pbin\msvc\release>hello1.exe:
bin\msvc\release\hello1.exe
time -- <pbin\msvc\release>hello1.exe:
missing
make -- bin\msvc\release
make -- bin\msvc\release
time -- bin\msvc\release: Thu Sep 22
20:47:40 2005
make -- bin\msvc
make -- bin\msvc
time -- bin\msvc: Thu Sep 22 20:47:40 2005
make -- bin
make -- bin
time -- bin: Thu Sep 22 20:47:40 2005
made stable bin
made stable bin\msvc
made stable bin\msvc\release
make -- <pbin\msvc\release>hello.obj
make -- <pbin\msvc\release>hello.obj
bind -- <pbin\msvc\release>hello.obj:
bin\msvc\release\hello.obj
time -- <pbin\msvc\release>hello.obj:
missing
make -- <p.-object(c-scanner)@1>hello.cpp
make -- <p.-object(c-scanner)@1>hello.cpp
bind -- <p.-object(c-scanner)@1>hello.cpp:
hello.cpp
time -- <p.-object(c-scanner)@1>hello.cpp:
Thu Sep 22 20:37:12 2005
make -- <p.>hello.cpp
make -- <p.>hello.cpp
bind -- <p.>hello.cpp: hello.cpp
time -- <p.>hello.cpp: Thu Sep 22 20:37:12
2005
made stable <p.>hello.cpp
make -- <p.-object(c-scanner)@1>hello.cpp
make -- <p.-object(c-scanner)@1>hello.cpp
time -- <p.-object(c-scanner)@1>hello.cpp:
unbound
make --
<object(c-scanner)@1>boost/array.hpp
make --
<object(c-scanner)@1>boost/array.hpp
bind --
<object(c-scanner)@1>boost/array.hpp: boost/array.hpp
time --
<object(c-scanner)@1>boost/array.hpp: missing
made stable
<object(c-scanner)@1>boost/array.hpp
make -- <object(c-scanner)@1>iostream
make -- <object(c-scanner)@1>iostream
bind -- <object(c-scanner)@1>iostream:
iostream
time -- <object(c-scanner)@1>iostream:
missing
made stable <object(c-scanner)@1>iostream
made* newer <p.-object(c-scanner)@1>hello.cpp
make -- <pbin\msvc\release>hello.obj.rsp
make -- <pbin\msvc\release>hello.obj.rsp
bind -- <pbin\msvc\release>hello.obj.rsp:
bin\msvc\release\hello.obj.
rsp
time -- <pbin\msvc\release>hello.obj.rsp:
Thu Sep 22 20:47:40 2005
made+ temp <pbin\msvc\release>hello.obj.rsp
made+ update <pbin\msvc\release>hello.obj
make -- <pbin\msvc\release>hello1.exe.rsp
make -- <pbin\msvc\release>hello1.exe.rsp
bind -- <pbin\msvc\release>hello1.exe.rsp:
bin\msvc\release\hello1.exe
.rsp
time -- <pbin\msvc\release>hello1.exe.rsp:
missing
made+ update <pbin\msvc\release>hello1.exe.rsp
made+ update <pbin\msvc\release>hello1.exe
made update all
...found 12 targets...
...using 1 temp target...
...updating 3 targets...
...using <pbin\msvc\release>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
-Fo"bin\msvc\release\hello.obj" && del /f "bin\msvc\
release\hello.obj.rsp"

Executing through .bat file
Executing command [cmd.exe] [/Q/C]
[C:\DOKUME~1\Tino\LOKALE~1\Temp\jam672-00.bat
]
hello.cpp
hello.cpp(9) : fatal error C1083: Include-Datei kann
nicht geöffnet werden: 'boo
st/array.hpp': No such file or directory
0.015625 sec system; 0.015625 sec user
...failed msvc.compile.c++
bin\msvc\release\hello.obj...
...skipped <pbin\msvc\release>hello1.exe.rsp for lack
of <pbin\msvc\release>hell
o.obj...
...skipped <pbin\msvc\release>hello1.exe for lack of
<pbin\msvc\release>hello.ob
j...
...failed updating 1 target...
...skipped 2 targets...

Should i use the current cvs version?

Tino

        

        
                
___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net