Closed reussssya closed 1 year ago
error LNK2019: unresolved external symbol "public: static class easywsclient::WebSocket * __cdecl easywsclient::WebSocket::from_url(class std::basic_string<char,struct std::char_traits, ... bla bla bla
I have installed via vcpkg websockets like in this solution on stackoverflow -> https://stackoverflow.com/questions/63519676/error-lnk2001-unresolved-external-symbol-webwebsocketsclientwebsocket-cal . but i still have that problem
Code :
int main() { WebSocket::pointer ws = WebSocket::from_url("ws://178.32.14.213:27121"); if(ws) std::cout << "nice"; //RustOofID roi; //roi.sendTeamMessage("Hello"); return 0; }
I am using vs code
Solved by adding .cpp file wseasyclient
error LNK2019: unresolved external symbol "public: static class easywsclient::WebSocket * __cdecl easywsclient::WebSocket::from_url(class std::basic_string<char,struct std::char_traits, ... bla bla bla
I have installed via vcpkg websockets like in this solution on stackoverflow -> https://stackoverflow.com/questions/63519676/error-lnk2001-unresolved-external-symbol-webwebsocketsclientwebsocket-cal . but i still have that problem
Code :