Boost logo

Boost Users :

From: Thomas (th-ko_at_[hidden])
Date: 2006-08-31 10:19:25


Hi,
I would like to use the Boost RegEx Library. Somehow I failed installing
it (WinXP, VC6). Is there a step by step instruction to get boost
running under this configuration?
The steps I took so far:
1) Set the MSDevDir and MSVCDir EnvVars by hand.
2) Compiled BJam and copied it to the boost root.
3) Execute bjam "-sTOOLS msvc" install
4) Set the path for include files and libraries in
Tools->Options->Directories to the folder I unzipped Boost to.

Got the following error messages while trying to compile a simple regex
example :(

Thanks in advance,
Thomas

--------------------Configuration: trwetst - Win32
Release--------------------
Compiling...
trwetst.cpp
C:\BOOST\boost/regex/v4/perl_matcher_common.hpp(129) : error C2664:
'__thiscall boost::re_detail::concrete_protected_call<class
boost::re_detail::perl_matcher<char const *,class std::allocator<struct
boost::sub_match<char const *> >,struct boost::re
gex_traits<char,class boost::w32_regex_traits<char> > >
>::boost::re_detail::concrete_protected_call<class
boost::re_detail::perl_matcher<char const *,class std::allocator<struct
boost::sub_match<char const *> >,struct boost::regex_traits<char,class
  boost::w32_regex_traits<char> > > >(class
boost::re_detail::perl_matcher<char const *,class std::allocator<struct
boost::sub_match<char const *> >,struct boost::regex_traits<char,class
boost::w32_regex_traits<char> > > *,bool (__thiscall T::*)(void
))' : cannot convert parameter 2 from 'bool (__thiscall
boost::re_detail::perl_matcher<char const *,class std::allocator<struct
boost::sub_match<char const *> >,struct boost::regex_traits<char,class
boost::w32_regex_traits<char> > >::*' to 'bool (__
thiscall T::*)(void)'
         Types pointed to are unrelated; conversion requires
reinterpret_cast, C-style cast or function-style cast
         C:\BOOST\boost/shared_ptr.hpp(246) : while compiling
class-template member function 'bool __thiscall
boost::re_detail::perl_matcher<char const *,class std::allocator<struct
boost::sub_match<char const *> >,struct boost::regex_traits<char,cla
ss boost::w32_regex_traits<char> > >::protected_call(bool (__thiscall
boost::re_detail::perl_matcher<char const *,class std::allocator<struct
boost::sub_match<char const *> >,struct boost::regex_traits<char,class
boost::w32_regex_traits<char> > >::*
)'
C:\BOOST\boost/regex/v4/perl_matcher_common.hpp(129) : error C2664:
'__thiscall boost::re_detail::concrete_protected_call<class
boost::re_detail::perl_matcher<char const *,class std::allocator<struct
boost::sub_match<char const *> >,class boost::cpp
_regex_traits<char> > >::boost::re_detail::concrete_protected_call<class
boost::re_detail::perl_matcher<char const *,class std::allocator<struct
boost::sub_match<char const *> >,class boost::cpp_regex_traits<char> >
>(class boost::re_detail::perl_ma
tcher<char const *,class std::allocator<struct boost::sub_match<char
const *> >,class boost::cpp_regex_traits<char> > *,bool (__thiscall
T::*)(void))' : cannot convert parameter 2 from 'bool (__thiscall
boost::re_detail::perl_matcher<char const *,cl
ass std::allocator<struct boost::sub_match<char const *> >,class
boost::cpp_regex_traits<char> >::*' to 'bool (__thiscall T::*)(void)'
         Types pointed to are unrelated; conversion requires
reinterpret_cast, C-style cast or function-style cast
         C:\BOOST\boost/shared_ptr.hpp(246) : while compiling
class-template member function 'bool __thiscall
boost::re_detail::perl_matcher<char const *,class std::allocator<struct
boost::sub_match<char const *> >,class boost::cpp_regex_traits<char>
>::protected_call(bool (__thiscall boost::re_detail::perl_matcher<char
const *,class std::allocator<struct boost::sub_match<char const *>
>,class boost::cpp_regex_traits<char> >::*)'
C:\BOOST\boost/regex/v4/perl_matcher_common.hpp(129) : error C2664:
'__thiscall boost::re_detail::concrete_protected_call<class
boost::re_detail::perl_matcher<char const *,class std::allocator<struct
boost::sub_match<char const *> >,struct boost::c_
regex_traits<char> > >::boost::re_detail::concrete_protected_call<class
boost::re_detail::perl_matcher<char const *,class std::allocator<struct
boost::sub_match<char const *> >,struct boost::c_regex_traits<char> >
>(class boost::re_detail::perl_matc
her<char const *,class std::allocator<struct boost::sub_match<char const
*> >,struct boost::c_regex_traits<char> > *,bool (__thiscall
T::*)(void))' : cannot convert parameter 2 from 'bool (__thiscall
boost::re_detail::perl_matcher<char const *,class
  std::allocator<struct boost::sub_match<char const *> >,struct
boost::c_regex_traits<char> >::*' to 'bool (__thiscall T::*)(void)'
         Types pointed to are unrelated; conversion requires
reinterpret_cast, C-style cast or function-style cast
         C:\BOOST\boost/shared_ptr.hpp(246) : while compiling
class-template member function 'bool __thiscall
boost::re_detail::perl_matcher<char const *,class std::allocator<struct
boost::sub_match<char const *> >,struct boost::c_regex_traits<char>
>::protected_call(bool (__thiscall boost::re_detail::perl_matcher<char
const *,class std::allocator<struct boost::sub_match<char const *>
>,struct boost::c_regex_traits<char> >::*)'
C:\BOOST\boost/regex/v4/perl_matcher_common.hpp(129) : error C2664:
'__thiscall boost::re_detail::concrete_protected_call<class
boost::re_detail::perl_matcher<char const *,class std::allocator<struct
boost::sub_match<char const *> >,class boost::w32
_regex_traits<char> > >::boost::re_detail::concrete_protected_call<class
boost::re_detail::perl_matcher<char const *,class std::allocator<struct
boost::sub_match<char const *> >,class boost::w32_regex_traits<char> >
>(class boost::re_detail::perl_ma
tcher<char const *,class std::allocator<struct boost::sub_match<char
const *> >,class boost::w32_regex_traits<char> > *,bool (__thiscall
T::*)(void))' : cannot convert parameter 2 from 'bool (__thiscall
boost::re_detail::perl_matcher<char const *,cl
ass std::allocator<struct boost::sub_match<char const *> >,class
boost::w32_regex_traits<char> >::*' to 'bool (__thiscall T::*)(void)'
         Types pointed to are unrelated; conversion requires
reinterpret_cast, C-style cast or function-style cast
         C:\BOOST\boost/shared_ptr.hpp(246) : while compiling
class-template member function 'bool __thiscall
boost::re_detail::perl_matcher<char const *,class std::allocator<struct
boost::sub_match<char const *> >,class boost::w32_regex_traits<char>
>::protected_call(bool (__thiscall boost::re_detail::perl_matcher<char
const *,class std::allocator<struct boost::sub_match<char const *>
>,class boost::w32_regex_traits<char> >::*)'
C:\BOOST\boost/regex/v4/perl_matcher_common.hpp(129) : error C2664:
'__thiscall boost::re_detail::concrete_protected_call<class
boost::re_detail::perl_matcher<unsigned short const *,class
std::allocator<struct boost::sub_match<unsigned short const *
> >,struct boost::regex_traits<unsigned short,class
boost::w32_regex_traits<unsigned short> > >
>::boost::re_detail::concrete_protected_call<class
boost::re_detail::perl_matcher<unsigned short const *,class
std::allocator<struct boost::sub_match<uns
igned short const *> >,struct boost::regex_traits<unsigned short,class
boost::w32_regex_traits<unsigned short> > > >(class
boost::re_detail::perl_matcher<unsigned short const *,class
std::allocator<struct boost::sub_match<unsigned short const *> >,s
truct boost::regex_traits<unsigned short,class
boost::w32_regex_traits<unsigned short> > > *,bool (__thiscall
T::*)(void))' : cannot convert parameter 2 from 'bool (__thiscall
boost::re_detail::perl_matcher<unsigned short const *,class std::allocato
r<struct boost::sub_match<unsigned short const *> >,struct
boost::regex_traits<unsigned short,class
boost::w32_regex_traits<unsigned short> > >::*' to 'bool (__thiscall
T::*)(void)'
         Types pointed to are unrelated; conversion requires
reinterpret_cast, C-style cast or function-style cast
         C:\BOOST\boost/shared_ptr.hpp(246) : while compiling
class-template member function 'bool __thiscall
boost::re_detail::perl_matcher<unsigned short const *,class
std::allocator<struct boost::sub_match<unsigned short const *> >,struct
boost::r
egex_traits<unsigned short,class boost::w32_regex_traits<unsigned short>
> >::protected_call(bool (__thiscall
boost::re_detail::perl_matcher<unsigned short const *,class
std::allocator<struct boost::sub_match<unsigned short const *> >,struct
boost::
regex_traits<unsigned short,class boost::w32_regex_traits<unsigned
short> > >::*)'
C:\BOOST\boost/regex/v4/perl_matcher_common.hpp(129) : error C2664:
'__thiscall boost::re_detail::concrete_protected_call<class
boost::re_detail::perl_matcher<unsigned short const *,class
std::allocator<struct boost::sub_match<unsigned short const *
> >,class boost::cpp_regex_traits<unsigned short> >
>::boost::re_detail::concrete_protected_call<class
boost::re_detail::perl_matcher<unsigned short const *,class
std::allocator<struct boost::sub_match<unsigned short const *> >,class
boost::cpp_rege
x_traits<unsigned short> > >(class
boost::re_detail::perl_matcher<unsigned short const *,class
std::allocator<struct boost::sub_match<unsigned short const *> >,class
boost::cpp_regex_traits<unsigned short> > *,bool (__thiscall
T::*)(void))' : cannot
  convert parameter 2 from 'bool (__thiscall
boost::re_detail::perl_matcher<unsigned short const *,class
std::allocator<struct boost::sub_match<unsigned short const *> >,class
boost::cpp_regex_traits<unsigned short> >::*' to 'bool (__thiscall T::*)(v
oid)'
         Types pointed to are unrelated; conversion requires
reinterpret_cast, C-style cast or function-style cast
         C:\BOOST\boost/shared_ptr.hpp(246) : while compiling
class-template member function 'bool __thiscall
boost::re_detail::perl_matcher<unsigned short const *,class
std::allocator<struct boost::sub_match<unsigned short const *> >,class
boost::cp
p_regex_traits<unsigned short> >::protected_call(bool (__thiscall
boost::re_detail::perl_matcher<unsigned short const *,class
std::allocator<struct boost::sub_match<unsigned short const *> >,class
boost::cpp_regex_traits<unsigned short> >::*)'
C:\BOOST\boost/regex/v4/perl_matcher_common.hpp(129) : error C2664:
'__thiscall boost::re_detail::concrete_protected_call<class
boost::re_detail::perl_matcher<unsigned short const *,class
std::allocator<struct boost::sub_match<unsigned short const *
> >,struct boost::c_regex_traits<unsigned short> >
>::boost::re_detail::concrete_protected_call<class
boost::re_detail::perl_matcher<unsigned short const *,class
std::allocator<struct boost::sub_match<unsigned short const *> >,struct
boost::c_regex_
traits<unsigned short> > >(class boost::re_detail::perl_matcher<unsigned
short const *,class std::allocator<struct boost::sub_match<unsigned
short const *> >,struct boost::c_regex_traits<unsigned short> > *,bool
(__thiscall T::*)(void))' : cannot co
nvert parameter 2 from 'bool (__thiscall
boost::re_detail::perl_matcher<unsigned short const *,class
std::allocator<struct boost::sub_match<unsigned short const *> >,struct
boost::c_regex_traits<unsigned short> >::*' to 'bool (__thiscall T::*)(void)
'
         Types pointed to are unrelated; conversion requires
reinterpret_cast, C-style cast or function-style cast
         C:\BOOST\boost/shared_ptr.hpp(246) : while compiling
class-template member function 'bool __thiscall
boost::re_detail::perl_matcher<unsigned short const *,class
std::allocator<struct boost::sub_match<unsigned short const *> >,struct
boost::c
_regex_traits<unsigned short> >::protected_call(bool (__thiscall
boost::re_detail::perl_matcher<unsigned short const *,class
std::allocator<struct boost::sub_match<unsigned short const *> >,struct
boost::c_regex_traits<unsigned short> >::*)'
C:\BOOST\boost/regex/v4/perl_matcher_common.hpp(129) : error C2664:
'__thiscall boost::re_detail::concrete_protected_call<class
boost::re_detail::perl_matcher<unsigned short const *,class
std::allocator<struct boost::sub_match<unsigned short const *
> >,class boost::w32_regex_traits<unsigned short> >
>::boost::re_detail::concrete_protected_call<class
boost::re_detail::perl_matcher<unsigned short const *,class
std::allocator<struct boost::sub_match<unsigned short const *> >,class
boost::w32_rege
x_traits<unsigned short> > >(class
boost::re_detail::perl_matcher<unsigned short const *,class
std::allocator<struct boost::sub_match<unsigned short const *> >,class
boost::w32_regex_traits<unsigned short> > *,bool (__thiscall
T::*)(void))' : cannot
  convert parameter 2 from 'bool (__thiscall
boost::re_detail::perl_matcher<unsigned short const *,class
std::allocator<struct boost::sub_match<unsigned short const *> >,class
boost::w32_regex_traits<unsigned short> >::*' to 'bool (__thiscall T::*)(v
oid)'
         Types pointed to are unrelated; conversion requires
reinterpret_cast, C-style cast or function-style cast
         C:\BOOST\boost/shared_ptr.hpp(246) : while compiling
class-template member function 'bool __thiscall
boost::re_detail::perl_matcher<unsigned short const *,class
std::allocator<struct boost::sub_match<unsigned short const *> >,class
boost::w3
2_regex_traits<unsigned short> >::protected_call(bool (__thiscall
boost::re_detail::perl_matcher<unsigned short const *,class
std::allocator<struct boost::sub_match<unsigned short const *> >,class
boost::w32_regex_traits<unsigned short> >::*)'
Error executing cl.exe.

trwetst.exe - 8 error(s), 0 warning(s)


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