Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2005-03-16 06:10:40


> when I define the symbol BOOST_DYN_LINK (in my project settings) I get
> the following linker errors in MSVC 7.1:
>
> FilterDlg.obj : error LNK2001: unresolved external symbol "wchar_t *
> boost::re_detail::wide_lower_case_map"
> (?wide_lower_case_map_at_re_detail_at_boost@@3PA_WA)
> FilterDlg.obj : error LNK2001: unresolved external symbol "private: static
> unsigned short * boost::w32_regex_traits<wchar_t>::wide_unicode_classes"
> (?wide_unicode_classes@?$w32_regex_traits@_W_at_boost@@0PAGA)
>
> When linking Boost.Regex statically, everything is ok.
> I am using /Zc:wchar_t ("Treat wchar_t as Built-in type") in my
> project settings.
>
> Any ideas what's going wrong?

Not really: I've checked and those symbols are exported, and your setup is
one we regularly test. Are you able to produce a short test case?

Thanks,

John.


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