[regex] vc71, Managed code, boost 1_32, link errors during release build

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@re_detail@boost@@$$FYGXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@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@w32_traits_base@re_detail@boost@@$$FSG?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@I@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@DV?$regex_traits@D@boost@@V?$allocator@D@std@@@boost@@$$FKG_NDPBEEABU_narrow_type@re_detail@2@@Z) RexEngine.obj : error LNK2001: unresolved external symbol "void __stdcall boost::re_detail::reset_stack_guard_page(void)" (?reset_stack_guard_page@re_detail@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@D@boost@@$$FSGXAAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@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@D@boost@@$$FSGXAAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@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@re_detail@boost@@$$FYGXIW4_match_flags@regex_constants@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
participants (1)
-
steve lu