Open Yang09701194 opened 4 years ago
I'm new to C++, and after Hard internet searching, I got it this kind of error message is about C++ class declare deifnition
, have declare but not define it. I'm doing some more explore and try.
I have seen two other very recent references to pretty much this exact problem. One, here: https://antichat.com/threads/476858/ and another, here: http://www.cplusplus.com/search.do?q=websocket_client_task_impl (now, seemingly deleted).
The fact that four of us have had the same problem in the last month and that it did not exist previously seems very strange and makes me wonder if there is not some problem with the latest version package source code.
These days in another repo we find that, if we want to install cpprestsdk through vcpkg
, the original command vcpkg install cpprestsdk
is not work now, this command doesn't install boost
and websocketpp
, also not auto build with CMake
,
now need to use command vcpkg install cpprestsdk[default-features,websockets]:x86-windows
to auto get all the packages need and aoto build, also auto prase by visual studio when include in .cpp
.
Some related info:
These days in another repo we find that, if we want to install cpprestsdk through
vcpkg
, the original commandvcpkg install cpprestsdk
is not work now, this command doesn't installboost
andwebsocketpp
, also not auto build withCMake
,now need to use command
vcpkg install cpprestsdk[default-features,websockets]:x86-windows
to auto get all the packages need and aoto build, also auto prase by visual studio when include in.cpp
.Some related info:
* [microsoft/vcpkg#10478](https://github.com/microsoft/vcpkg/pull/10478) * [microsoft/vcpkg@056e951](https://github.com/microsoft/vcpkg/commit/056e9517ec7c461cdfabe8ff73124325708a4723)
thanks ,you save my time.
I'm build a project written in last year by others, and got following error with
websocket
, in this source code file: https://github.com/pcman-bbs/pcman-windows/blob/master/Lite/Websocket.cppThe error messages:
Seems complicated, how to solve these errors?