|
Boost : |
From: Renato Tegon Forti (re.tf_at_[hidden])
Date: 2005-11-24 12:52:48
Hi,
Yes I have success, but I receive some errors from compiler when it try
compilefileiter
wide_posix_api
if create 15 of 17 needed .obj
Why? Do you have any idea that what cam be?
The errors:
C:\Documents and
Settings\renato\Desktop\boost_1_33_0\boost\regex\v4\fileiter.hp
p(330) : error C2146: syntax error : missing ';' before identifier
'difference_t
ype'
C:\Documents and
Settings\renato\Desktop\boost_1_33_0\boost\regex\v4\fileiter.hp
p(330) : error C2501: 'boost::re_detail::file_iterator::difference_type' :
missi
ng storage-class or type specifiers
C:\Documents and
Settings\renato\Desktop\boost_1_33_0\boost\regex\v4\fileiter.hp
p(377) : error C2039: 'ptrdiff_t' : is not a member of 'std'
C:\Documents and
Settings\renato\Desktop\boost_1_33_0\boost\regex\v4\fileiter.hp
p(377) : error C2146: syntax error : missing ';' before identifier
'difference_t
ype'
C:\Documents and
Settings\renato\Desktop\boost_1_33_0\boost\regex\v4\fileiter.hp
p(377) : error C2501:
'boost::re_detail::directory_iterator::difference_type' :
missing storage-class or type specifiers
"cl" /Zm800 -nologo /EHsc -c -DBOOST_REGEX_CONFIG_INFO=1
-DBOOST_REGEX_DYN
_LINK=1 /Z7 /Od /Ob0 /EHsc /GR /MDd /Op
-IC:\RogueWave\SourcePro\Ed8\include -
IC:\RogueWave\SourcePro\Ed8\include\ansi -D_RWCONFIG=rmd /wd4675
/Zc:forScope /Z
c:wchar_t -I"..\..\..\bin\boost\libs\regex\build" -I"C:\Program
Files\Microsof
t Visual Studio .NET 2003\VC7\include" -I"C:\Documents and
Settings\renato\Desk
top\boost_1_33_0"
-Fo"..\..\..\bin\boost\libs\regex\build\boost_regex.dll\vc-7
_1\debug\threading-multi\fileiter.obj" -Tp"../src/fileiter.cpp"
...failed vc-C++
..\..\..\bin\boost\libs\regex\build\boost_regex.dll\vc-7_1\debu
g\threading-multi\fileiter.obj...
vc-C++
..\..\..\bin\boost\libs\regex\build\boost_regex.dll\vc-7_1\debug\threadin
g-multi\wide_posix_api.obj
wide_posix_api.cpp
../src\wide_posix_api.cpp(161) : error C2039: 'swprintf' : is not a member
of 's
td'
../src\wide_posix_api.cpp(171) : error C2039: 'swprintf' : is not a member
of 's
td'
-----Mensagem original-----
De: boost-bounces_at_[hidden] [mailto:boost-bounces_at_[hidden]] Em
nome de John Maddock
Enviada em: quinta-feira, 24 de novembro de 2005 08:24
Para: boost_at_[hidden]
Assunto: Re: [boost] ENC: build boost with other standard Lib (std)
Renato Tegon Forti wrote:
> Hi John, Thank you (very very very... much) for your help.
>
> I have one doubt; I need define one Preprocessor directive to compile
> with RogueWave STD, and specify lib directory to link with RW libs,
> then I did try:
>
> bjam "-sBUILD=debug <cxxflags>-IC:\RogueWave\SourcePro\Ed8\include
> <cxxflags>-IC:\RogueWave\SourcePro\Ed8\include\ansi
> <cxxflags>-IC:\RogueWave\SourcePro\Ed8\lib <cxxflags>-D_RWCONFIG=rmd
> <runtime-link>dynamic <threading>multi" "-sTOOLS=vc-7_1"
>
> but this don't work. Where I should put lib
> dir(C:\RogueWave\SourcePro\Ed8\)
>
> Can you help-me?
>
> Sample of error returned: I think that this error is because it don't
> find
> RW libs.
It needs to be put under <linkflags> and for VC71 the command line option is
presumably -LIBPATH:path, so:
bjam "-sBUILD=debug <cxxflags>-IC:\RogueWave\SourcePro\Ed8\include
<cxxflags>-IC:\RogueWave\SourcePro\Ed8\include\ansi
<linkflags>-LIBPATH:C:\RogueWave\SourcePro\Ed8\lib <cxxflags>-D_RWCONFIG=rmd
<runtime-link>dynamic <threading>multi" "-sTOOLS=vc-7_1"
Does this do it?
John.
_______________________________________________
Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost
Esta mensagem foi verificada pelo E-mail Protegido Terra.
Scan engine: McAfee VirusScan / Atualizado em 23/11/2005 / Versco:
4.4.00/4635
Proteja o seu e-mail Terra: http://mail.terra.com.br/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk