
const ,unsigned short> > >::_C_node_buf>::deallocate(struct __rw::__rb_tree<c lass std::basic_string<char,struct std::char_traits<char>,class std::allocator<c har> >,struct std::pair<class std::basic_string<char,struct std::char_traits<cha r>,class std::allocator<char> > const ,unsigned short>,struct __rw::__select1st< struct std::pair<class std::basic_string<char,struct std::char_traits<char>,clas s std::allocator<char> > const ,unsigned short>,class std::basic_string<char,str uct std::char_traits<char>,class std::allocator<char> > >,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char>
,class std::allocator<struct std::pair<class std::basic_string<char,struct s
::_ C_node_buf *,unsigned int)" (?deallocate@?$allocator@U_C_node_buf@?$__rb_tree@V? $basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@U?$pair@$$CBV?$b asic _string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@G@2@U?$__select1st@U?$
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. greg_month.obj : error LNK2019: unresolved external symbol "__declspec(dllimport ) void __cdecl __rw::__rw_deallocate(void *,unsigned int,int)" (__imp_?__rw_deal locate@__rw@@YAXPAXIH@Z) referenced in function "public: void __thiscall std::al locator<struct __rw::__rb_tree<class std::basic_string<char,struct std::char_tra its<char>,class std::allocator<char> >,struct std::pair<class std::basic_string< char,struct std::char_traits<char>,class std::allocator<char> > const ,unsigned short>,struct __rw::__select1st<struct std::pair<class std::basic_string<char,st ruct std::char_traits<char>,class std::allocator<char> > const ,unsigned short>, class std::basic_string<char,struct std::char_traits<char>,class std::allocator< char> > >,struct std::less<class std::basic_string<char,struct std::char_traits< char>,class std::allocator<char> > >,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> td::char_traits<char>,class std::allocator<char> > const ,unsigned short> > pair @$$CBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@G@std@@V? $bas ic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@@__rw@@U?$less@V?$basic _str ing@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@V?$allocator@U?$pair@$$ CBV? $basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@G@std@@@2@@__rw@ @@st d@@QAEXPAU_C_node_buf@?$__rb_tree@V?$basic_string@DU?$char_traits@D@std@@V?$ allo cator@D@2@@std@@U?$pair@$$CBV?$basic_string@DU?$char_traits@D@std@@V?$alloca tor@ D@2@@std@@G@2@U?$__select1st@U?$pair@$$CBV?$basic_string@DU?$char_traits@D@s td@@ V?$allocator@D@2@@std@@G@std@@V?$basic_string@DU?$char_traits@D@std@@V?$allo cato r@D@2@@2@@__rw@@U?$less@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@ D@2@ @std@@@2@V?$allocator@U?$pair@$$CBV?$basic_string@DU?$char_traits@D@std@@V?$ allo cator@D@2@@std@@G@std@@@2@@__rw@@I@Z) greg_month.obj : error LNK2019: unresolved external symbol "__declspec(dllimport ) public: __thiscall std::ios_base::Init::Init(void)" (__imp_??0Init@ios_base@st d@@QAE@XZ) referenced in function _$E3 greg_month.obj : error LNK2019: unresolved external symbol "__declspec(dllimport ) public: __thiscall __rw::__rw_facet_id::__rw_facet_id(void)" (__imp_??0__rw_fa cet_id@__rw@@QAE@XZ) referenced in function _$E8 greg_month.obj : error LNK2019: unresolved external symbol "__declspec(dllimport ) public: __thiscall std::ios_base::Init::~Init(void)" (__imp_??1Init@ios_base@s td@@QAE@XZ) referenced in function _$E4 bin\boost\libs\date_time\build\boost_date_time.dll\vc-7_1\debug\threading-mu lti\ boost_date_time-vc71-mt-gd-1_33_1.dll : fatal error LNK1120: 80 unresolved exter nals "link" /nologo /INCREMENTAL:NO /DEBUG /DLL /subsystem:console /out:"bin\ boost\libs\date_time\build\boost_date_time.dll\vc-7_1\debug\threading-multi\ boos t_date_time-vc71-mt-gd-1_33_1.dll" /IMPLIB:"bin\boost\libs\date_time\build\boos t_date_time.dll\vc-7_1\debug\threading-multi\boost_date_time-vc71-mt-gd-1_33 _1.l ib" /LIBPATH:"C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\lib" @" bin\boost\libs\date_time\build\boost_date_time.dll\vc-7_1\debug\threading-mu lti\ boost_date_time-vc71-mt-gd-1_33_1.CMD" ...failed vc-Link bin\boost\libs\date_time\build\boost_date_time.dll\vc-7_1\debu g\threading-multi\boost_date_time-vc71-mt-gd-1_33_1.dll bin\boost\libs\date_time \build\boost_date_time.dll\vc-7_1\debug\threading-multi\boost_date_time-vc71 -mt- gd-1_33_1.lib... vc-C++ bin\boost\libs\date_time\build\libboost_date_time.lib\vc-7_1\debug\thread ing-multi\greg_month.obj greg_month.cpp vc-C++ bin\boost\libs\date_time\build\libboost_date_time.lib\vc-7_1\debug\thread ing-multi\greg_weekday.obj greg_weekday.cpp vc-C++ bin\boost\libs\date_time\build\libboost_date_time.lib\vc-7_1\debug\thread ing-multi\date_generators.obj date_generators.cpp vc-Archive bin\boost\libs\date_time\build\libboost_date_time.lib\vc-7_1\debug\th reading-multi\libboost_date_time-vc71-mt-gd-1_33_1.lib Microsoft (R) Library Manager Version 7.10.3077 Copyright (C) Microsoft Corporation. All rights reserved. -----Mensagem original----- De: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] Em nome de John Maddock Enviada em: quarta-feira, 23 de novembro de 2005 08:13 Para: boost@lists.boost.org Assunto: Re: [boost] build boost with other standard Lib (std)
I need build boost whit other std, have any way to do this?
I need this because my system use STD provided by RogueWave, than I need that boost is build with this std.
If have way to do this, what is the steps?
It depends what commands you need to insert into the command line, but lets say you want /usr/local/rw/include added to your include search path you could do: bjam -sBUILD="<cxxflags>-I/usr/local/rw/include <threading>mutli/single <runtime-link>dynamic release debug" -sTOOLS=gcc which obviously assumes your building on a Unix variant with gcc, just change the toolset name and the cxxflags options according to your needs. If you need to inject more than one command line option then you need to use multiple <cxxflags>-option parts. And finally if you need to add linker options use <linkflags>-option. Clear ? 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 22/11/2005 / Versco: 4.4.00/4634 Proteja o seu e-mail Terra: http://mail.terra.com.br/ Esta mensagem foi verificada pelo E-mail Protegido Terra. Scan engine: McAfee VirusScan / Atualizado em 22/11/2005 / Versco: 4.4.00/4634 Proteja o seu e-mail Terra: http://mail.terra.com.br/