As suggested in
http://www.lyx.org/trac/ticket/9373
I tried to compile LyX on Windows with std_regex. When doing this, i get these error messages (and many more):

---------------------------------------
"D:\LyXGit\Master\compile-result\src\tex2lyx\tex2lyx.vcxproj" (Standardziel) (23) -> support.lib(debug.obj) : error LNK2019: Verweis auf nicht aufgel÷stes externes Symbol ""private: class boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > > & __thiscall boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >::do_as sign(char const *,char const *,unsigned int)" (?do_assign@?$basic_regex@DU?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@boost@@AAEAAV12@PBD0I@Z)" in Funktion ""void __cdecl lyx::Debug::showLevel(class std::basic_ostream<char,struct std::char_traits<char> > &,enum lyx::Debug::Type)" (?showLevel@Debug@lyx@@YA XAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@W4Type@12@@Z)". [D:\LyXGit\Master\compile-result\src\tex2lyx\tex2lyx.vcxproj] Preamble.obj : error LNK2001: Nicht aufgel÷stes externes Symbol ""private: class boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > > & __thiscall boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >::do_assign(char const *,char const *,unsigned int)" (?do_assign@?$basic_regex@DU?$regex_traits@DV?$w32_rege x_traits@D@boost@@@boost@@@boost@@AAEAAV12@PBD0I@Z)". [D:\LyXGit\Master\compile-result\src\tex2lyx\tex2lyx.vcxproj] ExternalTransforms.obj : error LNK2001: Nicht aufgel÷stes externes Symbol ""private: class boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > > & __thiscall boost::basic_regex<char,struct boos t::regex_traits<char,class boost::w32_regex_traits<char> > >::do_assign(char const *,char const *,unsigned int)" (?do_assign@?$basic_regex@DU?$regex_traits@DV ?$w32_regex_traits@D@boost@@@boost@@@boost@@AAEAAV12@PBD0I@Z)". [D:\LyXGit\Master\compile-result\src\tex2lyx\tex2lyx.vcxproj] LayoutFile.obj : error LNK2001: Nicht aufgel÷stes externes Symbol ""private:class boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > > & __thiscall boost::basic_regex<char,struct boost::regex _traits<char,class boost::w32_regex_traits<char> > >::do_assign(char const *,char const *,unsigned int)" (?do_assign@?$basic_regex@DU?$regex_traits@DV?$w32_re gex_traits@D@boost@@@boost@@@boost@@AAEAAV12@PBD0I@Z)". [D:\LyXGit\Master\compile-result\src\tex2lyx\tex2lyx.vcxproj] support.lib(filetools.obj) : error LNK2001: Nicht aufgel÷stes externes Symbol ""private: class boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > > & __thiscall boost::basic_regex<char,structboost::regex_traits<char,class boost::w32_regex_traits<char> > >::do_assign(char const *,char const *,unsigned int)" (?do_assign@?$basic_regex@DU?$regex_trait s@DV?$w32_regex_traits@D@boost@@@boost@@@boost@@AAEAAV12@PBD0I@Z)". [D:\LyXGit\Master\compile-result\src\tex2lyx\tex2lyx.vcxproj] support.lib(debug.obj) : error LNK2001: Nicht aufgel÷stes externes Symbol ""private: void __thiscall boost::re_detail::perl_matcher<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<struct boost::sub_match<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> > > >,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >::construct_init(class boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > > const &,enum boost::regex_constants::_match_flags)" (?construct_init@?$perl_matcher@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$alloca
tor@D@2@@std@@V?$allocator@U?$sub_match@V?$_String_const_iterator@DU?$char_trai
ts@D@std@@V?$allocator@D@2@@std@@@boost@@@2@U?$regex_traits@DV?$w32_regex_trait
s@D@boost@@@boost@@@re_detail@boost@@AAEXABV?$basic_regex@DU?$regex_traits@DV?$
w32_regex_traits@D@boost@@@boost@@@3@W4_match_flags@regex_constants@3@@Z)". [D:\LyXGit\Master\compile-result\src\tex2lyx\tex2lyx.vcxproj] Preamble.obj : error LNK2019: Verweis auf nicht aufgel÷stes externes Symbol ""private: void __thiscall boost::re_detail::perl_matcher<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<struct boost::sub_match<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> > > >,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >::construct_init(class boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex _traits<char> > > const &,enum boost::regex_constants::_match_flags)" (?construct_init@?$perl_matcher@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allo
cator@D@2@@std@@V?$allocator@U?$sub_match@V?$_String_const_iterator@DU?$char_tr
aits@D@std@@V?$allocator@D@2@@std@@@boost@@@2@U?$regex_traits@DV?$w32_regex_tra
its@D@boost@@@boost@@@re_detail@boost@@AAEXABV?$basic_regex@DU?$regex_traits@DV
?$w32_regex_traits@D@boost@@@boost@@@3@W4_match_flags@regex_constants@3@@Z)" in Funktion ""public: __thiscall boost::re_detail::perl_matcher<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char>>,class std::allocator<struct boost::sub_match<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> > > >,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >::perl_matcher<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::a llocator<char> >,class std::allocator<struct boost::sub_match<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char>> > >,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >(class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class boost::match_results<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<struct boost::sub_match<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> > > > > &,class boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > > const &,enum boost::regex_constants::_match_flags,class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >)" (??0?$perl_matcher@V?$_String_const_iterator@DU?$char_traits@D@std@
@V?$allocator@D@2@@std@@V?$allocator@U?$sub_match@V?$_String_const_iterator@DU?
$char_traits@D@std@@V?$allocator@D@2@@std@@@boost@@@2@U?$regex_traits@DV?$w32_r
egex_traits@D@boost@@@boost@@@re_detail@boost@@QAE@V?$_String_const_iterator@DU
?$char_traits@D@std@@V?$allocator@D@2@@std@@0AAV?$match_results@V?$_String_cons
t_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@U?$sub_ma
tch@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@bo
ost@@@2@@2@ABV?$basic_regex@DU?$regex_traits@DV?$w32_regex_traits@D@boost@@@boo
st@@@2@W4_match_flags@regex_constants@2@0@Z)". [D:\LyXGit\Master\compile-result\src\tex2lyx\tex2lyx.vcxproj] ExternalTransforms.obj : error LNK2001: Nicht aufgel÷stes externes Symbol ""private: void __thiscall boost::re_detail::perl_matcher<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<struct boost::sub_match<class std::_String_const_iterator<char, struct std::char_traits<char>,class std::allocator<char> > > >,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >::construct_init(class boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > > const &,enum boost::regex_constants::_match_flags)" (?construct_init@?$perl_matcher@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$alloca
tor@D@2@@std@@V?$allocator@U?$sub_match@V?$_String_const_iterator@DU?$char_trai
ts@D@std@@V?$allocator@D@2@@std@@@boost@@@2@U?$regex_traits@DV?$w32_regex_trait
s@D@boost@@@boost@@@re_detail@boost@@AAEXABV?$basic_regex@DU?$regex_traits@DV?$
w32_regex_traits@D@boost@@@boost@@@3@W4_match_flags@regex_constants@3@@Z)". [D:\LyXGit\Master\compile-result\src\tex2lyx\tex2lyx.vcxproj] LayoutFile.obj : error LNK2001: Nicht aufgel÷stes externes Symbol ""private:void __thiscall boost::re_detail::perl_matcher<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<struct boost::sub_match<class std::_String_const_iterator<char,struct s td::char_traits<char>,class std::allocator<char> > > >,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >::construct_init(class boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > > const &,enum boost::regex_constants::_match_flags)" (?construct_init@?$perl_matcher@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@
@std@@V?$allocator@U?$sub_match@V?$_String_const_iterator@DU?$char_traits@D@std
@@V?$allocator@D@2@@std@@@boost@@@2@U?$regex_traits@DV?$w32_regex_traits@D@boos
t@@@boost@@@re_detail@boost@@AAEXABV?$basic_regex@DU?$regex_traits@DV?$w32_rege
x_traits@D@boost@@@boost@@@3@W4_match_flags@regex_constants@3@@Z)". [D:\LyXGit\Master\compile-result\src\tex2lyx\tex2lyx.vcxproj] support.lib(filetools.obj) : error LNK2001: Nicht aufgel÷stes externes Symbol ""private: void __thiscall boost::re_detail::perl_matcher<class std::_String_c onst_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<struct boost::sub_match<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> > > >,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >::construct_init(class boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_reg ex_traits<char> > > const &,enum boost::regex_constants::_match_flags)" (?construct_init@?$perl_matcher@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$al
locator@D@2@@std@@V?$allocator@U?$sub_match@V?$_String_const_iterator@DU?$char_
traits@D@std@@V?$allocator@D@2@@std@@@boost@@@2@U?$regex_traits@DV?$w32_regex_t
raits@D@boost@@@boost@@@re_detail@boost@@AAEXABV?$basic_regex@DU?$regex_traits@
DV?$w32_regex_traits@D@boost@@@boost@@@3@W4_match_flags@regex_constants@3@@Z)".
 [D:\LyXGit\Master\compile-result\src\tex2lyx\tex2lyx.vcxproj]
Preamble.obj : error LNK2019: Verweis auf nicht aufgel÷stes externes Symbol ""public: bool __thiscall boost::re_detail::perl_matcher<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<struct boost::sub_match<class std::_String_const_iterator<char ,struct std::char_traits<char>,class std::allocator<char> > > >,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >::find(void)" (?find@?$perl_matcher@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@
@std@@V?$allocator@U?$sub_match@V?$_String_const_iterator@DU?$char_traits@D@std
@@V?$allocator@D@2@@std@@@boost@@@2@U?$regex_traits@DV?$w32_regex_traits@D@boos
t@@@boost@@@re_detail@boost@@QAE_NXZ)" in Funktion ""bool __cdecl boost::regex_search<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<struct boost::sub_match<class st d::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> > > >,char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >(class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class boost::match_results<class std::_String_const_iterator<char,struct std::char_traits<char>,class std:: allocator<char> >,class std::allocator<struct boost::sub_match<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> > > > > &,class boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > > const &,enum boost::regex_constants::_match_f lags,class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >)" (??$regex_search@V?$_String_const_iterator@DU?$char_t
raits@D@std@@V?$allocator@D@2@@std@@V?$allocator@U?$sub_match@V?$_String_const_
iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@boost@@@2@DU?$regex_tra
its@DV?$w32_regex_traits@D@boost@@@boost@@@boost@@YA_NV?$_String_const_iterator
@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0AAV?$match_results@V?$_String_c
onst_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@U?$sub
_match@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@
@boost@@@2@@0@ABV?$basic_regex@DU?$regex_traits@DV?$w32_regex_traits@D@boost@@@
boost@@@0@W4_match_flags@regex_constants@0@0@Z)". [D:\LyXGit\Master\compile-result\src\tex2lyx\tex2lyx.vcxproj] support.lib(debug.obj) : error LNK2001: Nicht aufgel÷stes externes Symbol ""public: bool __thiscall boost::re_detail::perl_matcher<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<struct boost::sub_match<class std::_String_const_iterator<char,s truct std::char_traits<char>,class std::allocator<char> > > >,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >::find(void)" (?find@?$pe
rl_matcher@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@s
td@@V?$allocator@U?$sub_match@V?$_String_const_iterator@DU?$char_traits@D@std@@
V?$allocator@D@2@@std@@@boost@@@2@U?$regex_traits@DV?$w32_regex_traits@D@boost@
@@boost@@@re_detail@boost@@QAE_NXZ)". [D:\LyXGit\Master\compile-result\src\tex2lyx\tex2lyx.vcxproj] ExternalTransforms.obj : error LNK2019: Verweis auf nicht aufgel÷stes externes Symbol ""public: bool __thiscall boost::re_detail::perl_matcher<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<struct boost::sub_match<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> > > >,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >::match(void)" (?match@?$perl_matcher@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$al
locator@D@2@@std@@V?$allocator@U?$sub_match@V?$_String_const_iterator@DU?$char_
traits@D@std@@V?$allocator@D@2@@std@@@boost@@@2@U?$regex_traits@DV?$w32_regex_t
raits@D@boost@@@boost@@@re_detail@boost@@QAE_NXZ)" in Funktion ""bool __cdecl boost::regex_match<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<struct boost::sub_mat ch<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> > > >,char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >(class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class boost::match_results<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<struct boost::sub_match<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> > > > > &,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@V?$_String_const_iterator@DU?$char_traits@D@s
td@@V?$allocator@D@2@@std@@V?$allocator@U?$sub_match@V?$_String_const_iterator@
DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@boost@@@2@DU?$regex_traits@DV?$w
32_regex_traits@D@boost@@@boost@@@boost@@YA_NV?$_String_const_iterator@DU?$char
_traits@D@std@@V?$allocator@D@2@@std@@0AAV?$match_results@V?$_String_const_iter
ator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@U?$sub_match@V?
$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@boost@@@
2@@0@ABV?$basic_regex@DU?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@0
@W4_match_flags@regex_constants@0@@Z)". [D:\LyXGit\Master\compile-result\src\tex2lyx\tex2lyx.vcxproj] LayoutFile.obj : error LNK2001: Nicht aufgel÷stes externes Symbol ""public: bool __thiscall boost::re_detail::perl_matcher<class std::_String_const_iterator <char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<struct boost::sub_match<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> > > >,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >::match(void)" (?match@?$perl_matcher@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?
$allocator@U?$sub_match@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$all
ocator@D@2@@std@@@boost@@@2@U?$regex_traits@DV?$w32_regex_traits@D@boost@@@boos
t@@@re_detail@boost@@QAE_NXZ)". [D:\LyXGit\Master\compile-result\src\tex2lyx\tex2lyx.vcxproj] support.lib(filetools.obj) : error LNK2001: Nicht aufgel÷stes externes Symbol ""public: bool __thiscall boost::re_detail::perl_matcher<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<struct boost::sub_match<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> > > >,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >::match(void)" (?match@?$perl_matcher@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@
D@2@@std@@V?$allocator@U?$sub_match@V?$_String_const_iterator@DU?$char_traits@D
@std@@V?$allocator@D@2@@std@@@boost@@@2@U?$regex_traits@DV?$w32_regex_traits@D@
boost@@@boost@@@re_detail@boost@@QAE_NXZ)". [D:\LyXGit\Master\compile-result\src\tex2lyx\tex2lyx.vcxproj] D:\LyXGit\Master\compile-result\bin\Release\tex2lyx.exe : fatal error LNK1120: 4 nicht aufgel÷ste externe Verweise. [D:\LyXGit\Master\compile-result\src\tex2lyx\tex2lyx.vcxproj]
------------------------------

I guess the goal is to get rid of boost_regex and use std_boost. What should I or can I do?

thanks and regards
Uwe

Reply via email to