|
Boost Users : |
From: tweety (mitea_at_[hidden])
Date: 2004-07-23 20:01:54
I get the following errors and warnings:
C:\Boost\include\boost-1_31\boost\regex\v4\perl_matcher_recursive.hpp(403):
warning C4267: 'initializing' : conversion from 'size_t' to 'unsigned int',
possible loss of data
stlport_test error LNK2019: unresolved external symbol "public: __thiscall
boost::reg_expression<char,class boost::regex_traits<char>,class
_STL::allocator<char> >::reg_expression<char,class
boost::regex_traits<char>,class _STL::allocator<char> >(char const
*,unsigned int,class _STL::allocator<char> const &)"
(??0?$reg_expression_at_DV?$regex_traits_at_D@boost@@V?$allocator_at_D@_STL@@@boost@@
QAE_at_PBDIABV?$allocator_at_D@_STL@@@Z) referenced in function "public:
__thiscall boost::basic_regex<char,class boost::regex_traits<char>,class
_STL::allocator<char> >::basic_regex<char,class
boost::regex_traits<char>,class _STL::allocator<char> >(char const
*,unsigned int,class _STL::allocator<char> const &)"
(??0?$basic_regex_at_DV?$regex_traits_at_D@boost@@V?$allocator_at_D@_STL@@@boost@@QAE
@PBDIABV?$allocator_at_D@_STL@@@Z)
stlport_test error LNK2019: unresolved external symbol "public: __thiscall
boost::reg_expression<char,class boost::regex_traits<char>,class
_STL::allocator<char> >::~reg_expression<char,class
boost::regex_traits<char>,class _STL::allocator<char> >(void)"
(??1?$reg_expression_at_DV?$regex_traits_at_D@boost@@V?$allocator_at_D@_STL@@@boost@@
QAE_at_XZ) referenced in function "public: __thiscall
boost::basic_regex<char,class boost::regex_traits<char>,class
_STL::allocator<char> >::~basic_regex<char,class
boost::regex_traits<char>,class _STL::allocator<char> >(void)"
(??1?$basic_regex_at_DV?$regex_traits_at_D@boost@@V?$allocator_at_D@_STL@@@boost@@QAE
@XZ)
stlport_test error LNK2019: unresolved external symbol "void __fastcall
boost::re_detail::raise_regex_exception(class _STL::basic_string<char,class
_STL::char_traits<char>,class _STL::allocator<char> > const &)"
(?raise_regex_exception_at_re_detail_at_boost@@YIXABV?$basic_string_at_DV?$char_trait
s_at_D@_STL@@V?$allocator_at_D@2@@_STL@@@Z) referenced in function "void __cdecl
boost::re_detail::raise_error<class boost::regex_traits<char> >(class
boost::regex_traits<char> const &,unsigned int)"
(??$raise_error_at_V?$regex_traits_at_D@boost@@@re_detail_at_boost@@YAXABV?$regex_tra
its_at_D@1_at_I@Z)
stlport_test error LNK2019: unresolved external symbol "public: static class
_STL::basic_string<char,class _STL::char_traits<char>,class
_STL::allocator<char> > __fastcall
boost::re_detail::w32_traits_base::error_string(unsigned int)"
(?error_string_at_w32_traits_base_at_re_detail_at_boost@@SI?AV?$basic_string_at_DV?$char
_traits_at_D@_STL@@V?$allocator_at_D@2@@_STL@@I_at_Z) referenced in function "void
__cdecl boost::re_detail::raise_error<class boost::regex_traits<char>
>(class boost::regex_traits<char> const &,unsigned int)"
(??$raise_error_at_V?$regex_traits_at_D@boost@@@re_detail_at_boost@@YAXABV?$regex_tra
its_at_D@1_at_I@Z)
stlport_test error LNK2019: unresolved external symbol "protected: static
bool __fastcall boost::reg_expression<char,class
boost::regex_traits<char>,class _STL::allocator<char>
>::can_start(char,unsigned char const *,unsigned char,struct
boost::re_detail::_narrow_type const &)"
(?can_start@?$reg_expression_at_DV?$regex_traits_at_D@boost@@V?$allocator_at_D@_STL@@
@boost@@KI_NDPBEEABU_narrow_type_at_re_detail_at_2@@Z) referenced in function
"public: static bool __cdecl boost::re_detail::access_t<char,class
boost::regex_traits<char>,class _STL::allocator<char>
>::can_start(char,unsigned char const *,unsigned char)"
(?can_start@?$access_t_at_DV?$regex_traits_at_D@boost@@V?$allocator_at_D@_STL@@@re_de
tail_at_boost@@SA_NDPBEE_at_Z)
stlport_test error LNK2019: unresolved external symbol "public: static void
__fastcall boost::w32_regex_traits<char>::transform_primary(class
_STL::basic_string<char,class _STL::char_traits<char>,class
_STL::allocator<char> > &,class _STL::basic_string<char,class
_STL::char_traits<char>,class _STL::allocator<char> > const &)"
(?transform_primary@?$w32_regex_traits_at_D@boost@@SIXAAV?$basic_string_at_DV?$cha
r_traits_at_D@_STL@@V?$allocator_at_D@2@@_STL@@ABV34@@Z) referenced in function
"char const * __fastcall boost::re_detail::re_is_set_member<char const
*,char,class boost::regex_traits<char>,class _STL::allocator<char> >(char
const *,char const *,struct boost::re_detail::re_set_long const *,class
boost::reg_expression<char,class boost::regex_traits<char>,class
_STL::allocator<char> > const &)"
(??$re_is_set_member_at_PBDDV?$regex_traits_at_D@boost@@V?$allocator_at_D@_STL@@@re_d
etail_at_boost@@YIPBDPBD0PBUre_set_long_at_01@ABV?$reg_expression_at_DV?$regex_traits
@D_at_boost@@V?$allocator_at_D@_STL@@@1@@Z)
stlport_test error LNK2019: unresolved external symbol "public: static void
__fastcall boost::w32_regex_traits<char>::transform(class
_STL::basic_string<char,class _STL::char_traits<char>,class
_STL::allocator<char> > &,class _STL::basic_string<char,class
_STL::char_traits<char>,class _STL::allocator<char> > const &)"
(?transform@?$w32_regex_traits_at_D@boost@@SIXAAV?$basic_string_at_DV?$char_traits
@D@_STL@@V?$allocator_at_D@2@@_STL@@ABV34@@Z) referenced in function "char
const * __fastcall boost::re_detail::re_is_set_member<char const
*,char,class boost::regex_traits<char>,class _STL::allocator<char> >(char
const *,char const *,struct boost::re_detail::re_set_long const *,class
boost::reg_expression<char,class boost::regex_traits<char>,class
_STL::allocator<char> > const &)"
(??$re_is_set_member_at_PBDDV?$regex_traits_at_D@boost@@V?$allocator_at_D@_STL@@@re_d
etail_at_boost@@YIPBDPBD0PBUre_set_long_at_01@ABV?$reg_expression_at_DV?$regex_traits
@D_at_boost@@V?$allocator_at_D@_STL@@@1@@Z)
stlport_test fatal error LNK1120: 7 unresolved externals
Just to test that I compiled against stlport I took it out of the include
path and I got this:
stlport_test fatal error LNK1104: cannot open file
'libboost_regex-vc71-mt-1_31.lib'
So it is built against stlport. About boost not being built against stlport
because of a wrong STLPORT_PATH variable, that isn't possible as it is
checked at build-time by bjam.
The only other thing I can mention is that I also applied the
boost-1.31.0-regex-patch-20040503.zip patch...
Seeing as noone can fix this, can someone tell me of another regex package
besides microsoft's atl? I'm looking for something more perl-like...
----------------------------------
Peace and love,
Tweety
mitea_at_[hidden] - tweety_04_01_at_[hidden]
YahooID: tweety_04_01
> -----Original Message-----
> From: boost-users-bounces_at_[hidden]
> [mailto:boost-users-bounces_at_[hidden]] On Behalf Of John Maddock
> Sent: July 23, 2004 7:51 AM
> To: boost-users_at_[hidden]
> Subject: Re: [Boost-users] building boost on vc7.1 with stlport
>
> > Hmm... In all the tests I ran I think I forgot to remove
> that library (I
> was
> > forcefully adding it for some reason).
> > Now I'm exactly where I was at the beginning: when I
> compile my program I
> > get these 2 linker errors:
>
> Then I'm stuck 'cos it works for me, I'm attaching a small
> project that you
> should be able to build OK, if the libraries were correctly built.
>
> Note: In debug mode you must select one of the multithreaded
> debug runtimes
> and define __STL_DEBUG, but you'll get a compile time error
> if you don't do
> that anyway.
> You can also define BOOST_LIB_DIAGNOSTIC to find out which
> lib file is being
> linked against. But my guess is that the lib's you built
> were not built
> against STLPort (incorrect STLPORT_PATH).
>
> John.
>
> **************************************************************
> ***************
> **
> **
> ** WARNING: This email contains an attachment of a very
> suspicious type. **
> ** You are urged NOT to open this attachment unless you are
> absolutely **
> ** sure it is legitmate. Opening this attachment may cause
> irreparable **
> ** damage to your computer and your files. If you have any
> questions **
> ** about the validity of this message, PLEASE SEEK HELP
> BEFORE OPENING IT. **
> **
> **
> **************************************************************
> ***************
>
>
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