We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This issue might be similar to https://github.com/uNetworking/uWebSockets/issues/1545
I am using vcpkg to download the uWebSockets library, here are the steps i followed -
./vcpkg install --feature-flags=manifests
{ "name": "test", "version-string": "1.0.0", "dependencies": [ "uwebsockets", "zlib" ] }
find_path(UWEBSOCKETS_INCLUDE_DIRS "uwebsockets/App.h" PATHS "${CMAKE_SOURCE_DIR}/vcpkg_installed/x64-windows/include/") target_include_directories(juno-mt5-backend PRIVATE ${UWEBSOCKETS_INCLUDE_DIRS} )
#include <string> #include <uWebSockets/App.h> struct TickData { std::string symbol; double bid; double ask; long timestamp; }; int main() { uWS::App().get("/hello", [](auto *res, auto *req) { res->end("Hello World!"); }); return 0; }
And when i run the main() function with this code, i see many errors like this in the console -
main.cpp.obj : error LNK2019: unresolved external symbol us_socket_context_on_end referenced in function "private: struct uWS::HttpContext<0> * __cdecl uWS::HttpContext<0>::init(void)" (?init@?$HttpContext@$0A@@uWS@@AEAAPEAU12@XZ)
So is it because the uWebSocket currently broken in vcpkg or i am doing something wrong? Is there a version mismatch between uWebSockets and uSockets?
The text was updated successfully, but these errors were encountered:
@uNetworkingAB can you check this?
Sorry, something went wrong.
No branches or pull requests
This issue might be similar to https://github.com/uNetworking/uWebSockets/issues/1545
I am using vcpkg to download the uWebSockets library, here are the steps i followed -
./vcpkg install --feature-flags=manifests
And when i run the main() function with this code, i see many errors like this in the console -
So is it because the uWebSocket currently broken in vcpkg or i am doing something wrong?
Is there a version mismatch between uWebSockets and uSockets?
The text was updated successfully, but these errors were encountered: