socket.io-client-cpp icon indicating copy to clipboard operation
socket.io-client-cpp copied to clipboard

LNK2019

Open Quichei opened this issue 8 years ago • 2 comments

sio_client.obj:-1: error: LNK2019: unresolved external symbol "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAAEBVerror_category@12@XZ) referenced in function "void __cdecl boost::system::`dynamic initializer for 'errno_ecat''(void)" (??__Eerrno_ecat@system@boost@@YAXXZ)

sio_client.obj:-1: error: LNK2019: unresolved external symbol "protected: __cdecl sio::client_impl::client_impl(void)" (??0client_impl@sio@@IEAA@XZ) referenced in function "public: __cdecl sio::client::client(void)" (??0client@sio@@QEAA@XZ)

sio_client.obj:-1: error: LNK2019: unresolved external symbol "protected: __cdecl sio::client_impl::~client_impl(void)" (??1client_impl@sio@@IEAA@XZ) referenced in function "public: __cdecl sio::client::~client(void)" (??1client@sio@@QEAA@XZ)

sio_client.obj:-1: error: LNK2019: unresolved external symbol "protected: void __cdecl sio::client_impl::connect(class std::basic_string<char,struct std::char_traits,class std::allocator > const &,class std::map<class std::basic_string<char,struct std::char_traits,class std::allocator >,class std::basic_string<char,struct std::char_traits,class std::allocator >,struct std::less<class std::basic_string<char,struct std::char_traits,class std::allocator > >,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits,class std::allocator > const ,class std::basic_string<char,struct std::char_traits,class std::allocator > > > > const &,class std::map<class std::basic_string<char,struct std::char_traits,class std::allocator >,class std::basic_string<char,struct std::char_traits,class std::allocator >,struct std::less<class std::basic_string<char,struct std::char_traits,class std::allocator > >,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits,class std::allocator > const ,class std::basic_string<char,struct std::char_traits,class std::allocator > > > > const &)" (?connect@client_impl@sio@@IEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBV?$map@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@U?$less@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@V?$allocator@U?$pair@$$CBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@@std@@@2@@4@1@Z) referenced in function "public: void __cdecl sio::client::connect(class std::basic_string<char,struct std::char_traits,class std::allocator > const &)" (?connect@client@sio@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)

I dont know how to use visual studio. after being forced to download a 6GB text editor and building I cant run ur example. either doesnt find boost libs or this.

Quichei avatar May 09 '17 14:05 Quichei

Learn how to publish on git here or ANY other library on git(including the ones without any tutorial on how to build)

Quichei avatar May 12 '17 12:05 Quichei

Learn how to publish on git here or ANY other library on git(including the ones without any tutorial on how to build)

did you solve it

zhengxinvip avatar Feb 25 '19 14:02 zhengxinvip