Boost logo

Boost Users :

From: steve lu (steve.lu_at_[hidden])
Date: 2005-07-06 09:51:08


Hi,

I am getting the following 7 link errors while making a release build
of my application. (I had no problem making a debug build).

//--------------------------------------------------------------------------------
RexEngine.obj : error LNK2001: unresolved external symbol "void
__stdcall boost::re_detail::raise_regex_exception(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)"
(?raise_regex_exception_at_re_detail_at_boost@@$$FYGXABV?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@@Z)

RexEngine.obj : error LNK2001: unresolved external symbol "public:
static class std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > __stdcall
boost::re_detail::w32_traits_base::error_string(unsigned int)"
(?error_string_at_w32_traits_base_at_re_detail_at_boost@@$$FSG?AV?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@I_at_Z)

RexEngine.obj : error LNK2001: unresolved external symbol "protected:
static bool __stdcall boost::reg_expression<char,class
boost::regex_traits<char>,class std::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@std@@@boost@@$$FKG_NDPBEEABU_narrow_type_at_re_detail_at_2@@Z)

RexEngine.obj : error LNK2001: unresolved external symbol "void
__stdcall boost::re_detail::reset_stack_guard_page(void)"
(?reset_stack_guard_page_at_re_detail_at_boost@@$$FYGXXZ)
RexEngine.obj : error LNK2001: unresolved external symbol "public:
static void __stdcall
boost::w32_regex_traits<char>::transform_primary(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > &,class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)"
(?transform_primary@?$w32_regex_traits_at_D@boost@@$$FSGXAAV?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@ABV34@@Z)

RexEngine.obj : error LNK2001: unresolved external symbol "public:
static void __stdcall boost::w32_regex_traits<char>::transform(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > &,class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)"
(?transform@?$w32_regex_traits_at_D@boost@@$$FSGXAAV?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@ABV34@@Z)

RexEngine.obj : error LNK2001: unresolved external symbol "void
__stdcall boost::re_detail::verify_options(unsigned int,enum
boost::regex_constants::_match_flags)"
(?verify_options_at_re_detail_at_boost@@$$FYGXIW4_match_flags_at_regex_constants_at_2@@Z)

//--------------------------------------------------------------------------------

Any idea why these function calls failed to be linked.
(does it has to do with the calling convention __fastcall
being changed to __stdcall?)

I have tried making BOOST_REGEX_CALL __cdecl to no avail.

Help please !

Thanks in advance,
Steve


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