Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

New Post: error LNK2001: unresolved external symbol

$
0
0
Error 9 error LNK2001: unresolved external symbol "__declspec(dllimport) class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl utility::conversions::from_base64_str(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (_imp?from_base64_str@conversions@utility@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV34@@Z)

Please rebuild library cpprest110_xp_1_3.lib and cpprest110_xp_1_3.dll

I am using lastest version (1.3.1)
   /// <summary>
    /// Decode the given base64 string to a byte array
    /// </summary>
    _ASYNCRTIMP std::vector<unsigned char> __cdecl from_base64(const utility::string_t& str);
    /// <summary>
    /// Decode the given base64 string to a byte array
    /// </summary>
   _ASYNCRTIMP std::string __cdecl from_base64_str(const std::string& str);
Dependency Walker screenshot:

Image

Viewing all articles
Browse latest Browse all 4845

Trending Articles