Opened 7 years ago

Last modified 7 years ago

#11980 new Bugs

Windows Phone Build Error

Reported by: yigit.ozcelik@… Owned by: Artyom Beilis
Milestone: To Be Determined Component: locale
Version: Boost Release Branch Severity: Problem
Keywords: Cc:

Description

After adding given code block Visual Studio doesnt compile the project. Version is 1.66.0

boost::locale::generator g;
g.locale_cache_enabled(true);
std::locale loc = g(boost::locale::util::get_system_locale());
string t = boost::locale::conv::from_utf<char>(row.GetString(0), loc); 

And this is the output:

libboost_locale-vc140-mt-gd-1_60.lib(default_locale.obj) : error LNK2019: unresolved external symbol impGetLocaleInfoA@16 referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > cdecl boost::locale::util::get_system_locale(bool)" (?get_system_locale@util@locale@boost@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@_N@Z)

3>libboost_locale-vc140-mt-gd-1_60.lib(std_backend.obj) : error LNK2001: unresolved external symbol impGetLocaleInfoA@16 3>libboost_locale-vc140-mt-gd-1_60.lib(lcid.obj) : error LNK2001: unresolved external symbol impGetLocaleInfoA@16 3>libboost_locale-vc140-mt-gd-1_60.lib(codepage.obj) : error LNK2019: unresolved external symbol impIsDBCSLeadByteEx@8 referenced in function "void cdecl boost::locale::conv::impl::multibyte_to_wide_one_by_one(int,char const *,char const *,class std::vector<wchar_t,class std::allocator<wchar_t> > &)" (?multibyte_to_wide_one_by_one@impl@conv@locale@boost@@YAXHPBD0AAV?$vector@_WV?$allocator@_W@std@@@std@@@Z) 3>libboost_locale-vc140-mt-gd-1_60.lib(lcid.obj) : error LNK2019: unresolved external symbol impEnumSystemLocalesA@8 referenced in function catch$?proc@impl_win@locale@boost@@YGHPAD@Z$0 3>libboost_locale-vc140-mt-gd-1_60.lib(converter.obj) : error LNK2019: unresolved external symbol impFoldStringW@20 referenced in function "class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > cdecl boost::locale::impl_win::wcsnormalize(enum boost::locale::norm_type,wchar_t const *,wchar_t const *)" (?wcsnormalize@impl_win@locale@boost@@YA?AV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@W4norm_type@23@PB_W1@Z) 3>libboost_locale-vc140-mt-gd-1_60.lib(converter.obj) : error LNK2019: unresolved external symbol impLCMapStringW@24 referenced in function "class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > cdecl boost::locale::impl_win::win_map_string_l(unsigned int,wchar_t const *,wchar_t const *,class boost::locale::impl_win::winlocale const &)" (?win_map_string_l@impl_win@locale@boost@@YA?AV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@IPB_W0ABVwinlocale@123@@Z) 3>libboost_locale-vc140-mt-gd-1_60.lib(collate.obj) : error LNK2001: unresolved external symbol impLCMapStringW@24 3>libboost_locale-vc140-mt-gd-1_60.lib(collate.obj) : error LNK2019: unresolved external symbol impCompareStringW@24 referenced in function "int cdecl boost::locale::impl_win::wcscoll_l(enum boost::locale::collator_base::level_type,wchar_t const *,wchar_t const *,wchar_t const *,wchar_t const *,class boost::locale::impl_win::winlocale const &)" (?wcscoll_l@impl_win@locale@boost@@YAHW4level_type@collator_base@23@PB_W111ABVwinlocale@123@@Z) 3>libboost_locale-vc140-mt-gd-1_60.lib(numeric.obj) : error LNK2019: unresolved external symbol impGetDateFormatW@24 referenced in function "class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > cdecl boost::locale::impl_win::wcs_format_date_l(wchar_t const *,struct _SYSTEMTIME const *,class boost::locale::impl_win::winlocale const &)" (?wcs_format_date_l@impl_win@locale@boost@@YA?AV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@PB_WPBU_SYSTEMTIME@@ABVwinlocale@123@@Z) 3>libboost_locale-vc140-mt-gd-1_60.lib(numeric.obj) : error LNK2019: unresolved external symbol impGetTimeFormatW@24 referenced in function "class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > cdecl boost::locale::impl_win::wcs_format_time_l(wchar_t const *,struct _SYSTEMTIME const *,class boost::locale::impl_win::winlocale const &)" (?wcs_format_time_l@impl_win@locale@boost@@YA?AV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@PB_WPBU_SYSTEMTIME@@ABVwinlocale@123@@Z) 3>libboost_locale-vc140-mt-gd-1_60.lib(numeric.obj) : error LNK2019: unresolved external symbol impGetLocaleInfoW@16 referenced in function "struct boost::locale::impl_win::numeric_info cdecl boost::locale::impl_win::wcsnumformat_l(class boost::locale::impl_win::winlocale const &)" (?wcsnumformat_l@impl_win@locale@boost@@YA?AUnumeric_info@123@ABVwinlocale@123@@Z) 3>libboost_locale-vc140-mt-gd-1_60.lib(numeric.obj) : error LNK2019: unresolved external symbol impGetCurrencyFormatW@24 referenced in function "class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > cdecl boost::locale::impl_win::wcsfmon_l(double,class boost::locale::impl_win::winlocale const &)" (?wcsfmon_l@impl_win@locale@boost@@YA?AV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@NABVwinlocale@123@@Z) 3>libboost_system-vc140-mt-gd-1_60.lib(error_code.obj) : error LNK2019: unresolved external symbol impLocalFree@4 referenced in function "public: thiscall boost::system::detail::local_free_on_destruction::~local_free_on_destruction(void)" (??1local_free_on_destruction@detail@system@boost@@QAE@XZ)

Attachments (1)

1F3E0EFB.PNG (206.3 KB ) - added by yigit.ozcelik@… 7 years ago.

Download all attachments as: .zip

Change History (2)

by yigit.ozcelik@…, 7 years ago

Attachment: 1F3E0EFB.PNG added

comment:1 by anonymous, 7 years ago

Component: Nonelocale
Owner: set to Artyom Beilis
Note: See TracTickets for help on using tickets.