cpprestsdk icon indicating copy to clipboard operation
cpprestsdk copied to clipboard

Build issue with Vcpkg and CMake

Open Togapix opened this issue 5 months ago • 1 comments

I am following these steps : https://github.com/Microsoft/cpprestsdk/wiki/How-to-build-for-Windows from the documentation.

I added all dependendies in the manifest file vcpkg.json:

{
  "dependencies": [
    "cpprestsdk",
    "zlib",
    "openssl",
    "boost-system",
    "boost-date-time",
    "boost-regex",
    "boost-interprocess",
    "websocketpp",
    "brotli"
  ]
}

Then, when I try to execute vcpkg install --triplet x64-windows, I have the same error than the one described in this post: https://github.com/microsoft/vcpkg/issues/44246.

Which seems to come from the fact that websocketpp has been removed from vcpkg.

When I remove websocketpp from the manifest, the installation of all other packages works fine.

How to solve this error?

Thank you very much for your help!

Togapix avatar Aug 13 '25 14:08 Togapix

Unfortunately the only solution I have found is to go back to this baseline, before they removed websockets stuff.

"baseline": "efb1e7436979a30c4d3e5ab2375fd8e2e461d541"

symbolix avatar Sep 27 '25 18:09 symbolix