socketio / socket.io-client-cpp

C++11 implementation of Socket.IO client
MIT License
2.26k stars 729 forks source link

LNK2019 #162

Open Quichei opened 7 years ago

Quichei commented 7 years ago

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 commented 7 years ago

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

zhengxinvip commented 5 years ago

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