[Boost-bugs] [Boost C++ Libraries] #11980: Windows Phone Build Error

Subject: [Boost-bugs] [Boost C++ Libraries] #11980: Windows Phone Build Error
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-02-11 19:47:10


#11980: Windows Phone Build Error
-----------------------------+----------------------------------
 Reporter: yigit.ozcelik@… | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost Release Branch
 Severity: Problem | Keywords:
-----------------------------+----------------------------------
 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 __imp__GetLocaleInfoA_at_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_at_util@locale_at_boost@@YA?AV?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@_N_at_Z)
 3>libboost_locale-vc140-mt-gd-1_60.lib(std_backend.obj) : error LNK2001:
 unresolved external symbol __imp__GetLocaleInfoA_at_16
 3>libboost_locale-vc140-mt-gd-1_60.lib(lcid.obj) : error LNK2001:
 unresolved external symbol __imp__GetLocaleInfoA_at_16
 3>libboost_locale-vc140-mt-gd-1_60.lib(codepage.obj) : error LNK2019:
 unresolved external symbol __imp__IsDBCSLeadByteEx_at_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_at_impl@conv_at_locale@boost@@YAXHPBD0AAV?$vector@_WV?$allocator@_W_at_std@@@std@@@Z)
 3>libboost_locale-vc140-mt-gd-1_60.lib(lcid.obj) : error LNK2019:
 unresolved external symbol __imp__EnumSystemLocalesA_at_8 referenced in
 function __catch$?proc_at_impl_win_at_locale@boost@@YGHPAD_at_Z$0
 3>libboost_locale-vc140-mt-gd-1_60.lib(converter.obj) : error LNK2019:
 unresolved external symbol __imp__FoldStringW_at_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_at_impl_win_at_locale@boost@@YA?AV?$basic_string@_WU?$char_traits@_W_at_std@@V?$allocator@_W_at_2@@std@@W4norm_type_at_23@PB_W1_at_Z)
 3>libboost_locale-vc140-mt-gd-1_60.lib(converter.obj) : error LNK2019:
 unresolved external symbol __imp__LCMapStringW_at_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_at_impl_win_at_locale@boost@@YA?AV?$basic_string@_WU?$char_traits@_W_at_std@@V?$allocator@_W_at_2@@std@@IPB_W0ABVwinlocale_at_123@@Z)
 3>libboost_locale-vc140-mt-gd-1_60.lib(collate.obj) : error LNK2001:
 unresolved external symbol __imp__LCMapStringW_at_24
 3>libboost_locale-vc140-mt-gd-1_60.lib(collate.obj) : error LNK2019:
 unresolved external symbol __imp__CompareStringW_at_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_at_impl_win_at_locale@boost@@YAHW4level_type_at_collator_base_at_23@PB_W111ABVwinlocale_at_123@@Z)
 3>libboost_locale-vc140-mt-gd-1_60.lib(numeric.obj) : error LNK2019:
 unresolved external symbol __imp__GetDateFormatW_at_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_at_impl_win_at_locale@boost@@YA?AV?$basic_string@_WU?$char_traits@_W_at_std@@V?$allocator@_W_at_2@@std@@PB_WPBU_SYSTEMTIME@@ABVwinlocale_at_123@@Z)
 3>libboost_locale-vc140-mt-gd-1_60.lib(numeric.obj) : error LNK2019:
 unresolved external symbol __imp__GetTimeFormatW_at_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_at_impl_win_at_locale@boost@@YA?AV?$basic_string@_WU?$char_traits@_W_at_std@@V?$allocator@_W_at_2@@std@@PB_WPBU_SYSTEMTIME@@ABVwinlocale_at_123@@Z)
 3>libboost_locale-vc140-mt-gd-1_60.lib(numeric.obj) : error LNK2019:
 unresolved external symbol __imp__GetLocaleInfoW_at_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_at_impl_win_at_locale@boost@@YA?AUnumeric_info_at_123@ABVwinlocale_at_123@@Z)
 3>libboost_locale-vc140-mt-gd-1_60.lib(numeric.obj) : error LNK2019:
 unresolved external symbol __imp__GetCurrencyFormatW_at_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_at_impl_win_at_locale@boost@@YA?AV?$basic_string@_WU?$char_traits@_W_at_std@@V?$allocator@_W_at_2@@std@@NABVwinlocale_at_123@@Z)
 3>libboost_system-vc140-mt-gd-1_60.lib(error_code.obj) : error LNK2019:
 unresolved external symbol __imp__LocalFree_at_4 referenced in function
 "public: __thiscall
 boost::system::detail::local_free_on_destruction::~local_free_on_destruction(void)"
 (??1local_free_on_destruction_at_detail@system_at_boost@@QAE_at_XZ)

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11980>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:19 UTC