Hi All,
- I have built STL5.1.4 with VC8.
- boost against stlport with the following command -> make -fvc8-stlport.mak
It created all the necessary libs and dlls.
I have defined the following in my application.
#define __STL_DEBUG
#define BOOST_REGEX_DYN_LINK
But I am still getting the following linker errors. Any one can help me with these errors ?
Appreciate your help in advance
Error 3 error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall boost::match_results<char const *,class stlp_std::allocator<struct boost::sub_match<char const *> > >::~match_results<char const *,class stlp_std::allocator<struct boost::sub_match<char const *> > >(void)" (__imp_??1?$match_results@PBDV?$allocator@U?$sub_match@PBD@boost@@@stlp_std@@@boost@@QAE@XZ) referenced in function "public: static bool __cdecl ExprEvaluator::doesStringMatchRegExpr(char const *,class boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >)" (?doesStringMatchRegExpr@ExprEvaluator@@SA_NPBDV?$basic_regex@DU?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@boost@@@Z) ExprEvaluator.obj
Error 4 error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall boost::match_results<char const *,class stlp_std::allocator<struct boost::sub_match<char const *> > >::match_results<char const *,class stlp_std::allocator<struct boost::sub_match<char const *> > >(class stlp_std::allocator<struct boost::sub_match<char const *> > const &)" (__imp_??0?$match_results@PBDV?$allocator@U?$sub_match@PBD@boost@@@stlp_std@@@boost@@QAE@ABV?$allocator@U?$sub_match@PBD@boost@@@stlp_std@@@Z) referenced in function "public: static bool __cdecl ExprEvaluator::doesStringMatchRegExpr(char const *,class boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >)" (?doesStringMatchRegExpr@ExprEvaluator@@SA_NPBDV?$basic_regex@DU?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@boost@@@Z) ExprEvaluator.obj
Error 5 error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall boost::re_detail::perl_matcher<char const *,class stlp_std::allocator<struct boost::sub_match<char const *> >,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >::~perl_matcher<char const *,class stlp_std::allocator<struct boost::sub_match<char const *> >,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >(void)" (__imp_??1?$perl_matcher@PBDV?$allocator@U?$sub_match@PBD@boost@@@stlp_std@@U?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@re_detail@boost@@QAE@XZ) referenced in function "bool __cdecl boost::regex_match<char const *,class stlp_std::allocator<struct boost::sub_match<char const *> >,char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >(char const *,char const *,class boost::match_results<char const *,class stlp_std::allocator<struct boost::sub_match<char const *> > > &,class boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > > const &,enum boost::regex_constants::_match_flags)" (??$regex_match@PBDV?$allocator@U?$sub_match@PBD@boost@@@stlp_std@@DU?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@boost@@YA_NPBD0AAV?$match_results@PBDV?$allocator@U?$sub_match@PBD@boost@@@stlp_std@@@0@ABV?$basic_regex@DU?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@0@W4_match_flags@regex_constants@0@@Z) ExprEvaluator.obj
Error 6 error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall boost::re_detail::perl_matcher<char const *,class stlp_std::allocator<struct boost::sub_match<char const *> >,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >::match(void)" (__imp_?match@?$perl_matcher@PBDV?$allocator@U?$sub_match@PBD@boost@@@stlp_std@@U?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@re_detail@boost@@QAE_NXZ) referenced in function "bool __cdecl boost::regex_match<char const *,class stlp_std::allocator<struct boost::sub_match<char const *> >,char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >(char const *,char const *,class boost::match_results<char const *,class stlp_std::allocator<struct boost::sub_match<char const *> > > &,class boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > > const &,enum boost::regex_constants::_match_flags)" (??$regex_match@PBDV?$allocator@U?$sub_match@PBD@boost@@@stlp_std@@DU?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@boost@@YA_NPBD0AAV?$match_results@PBDV?$allocator@U?$sub_match@PBD@boost@@@stlp_std@@@0@ABV?$basic_regex@DU?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@0@W4_match_flags@regex_constants@0@@Z) ExprEvaluator.obj
Error 7 error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall boost::re_detail::perl_matcher<char const *,class stlp_std::allocator<struct boost::sub_match<char const *> >,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >::perl_matcher<char const *,class stlp_std::allocator<struct boost::sub_match<char const *> >,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >(char const *,char const *,class boost::match_results<char const *,class stlp_std::allocator<struct boost::sub_match<char const *> > > &,class boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > > const &,enum boost::regex_constants::_match_flags,char const *)" (__imp_??0?$perl_matcher@PBDV?$allocator@U?$sub_match@PBD@boost@@@stlp_std@@U?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@re_detail@boost@@QAE@PBD0AAV?$match_results@PBDV?$allocator@U?$sub_match@PBD@boost@@@stlp_std@@@2@ABV?$basic_regex@DU?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@2@W4_match_flags@regex_constants@2@0@Z) referenced in function "bool __cdecl boost::regex_match<char const *,class stlp_std::allocator<struct boost::sub_match<char const *> >,char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >(char const *,char const *,class boost::match_results<char const *,class stlp_std::allocator<struct boost::sub_match<char const *> > > &,class boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > > const &,enum boost::regex_constants::_match_flags)" (??$regex_match@PBDV?$allocator@U?$sub_match@PBD@boost@@@stlp_std@@DU?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@boost@@YA_NPBD0AAV?$match_results@PBDV?$allocator@U?$sub_match@PBD@boost@@@stlp_std@@@0@ABV?$basic_regex@DU?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@0@W4_match_flags@regex_constants@0@@Z) ExprEvaluator.obj
thanks & regards
Srinivas Chamarthi