microsoft / cpprestsdk

The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.
Other
7.96k stars 1.65k forks source link

Incompatible dependencies in windows vs 2022 #1681

Open LeeRuns opened 2 years ago

LeeRuns commented 2 years ago

I was setting up a project yesterday using

  1. VS2022
  2. CpprestSdk
  3. Conan Package

(ASIDE: Now I understand that Microsoft has a package manager, however for those of us who deploy our software the Conan package management system is very popular. )

Boost has now moved to version 1.78, and that is the only version that is compatible with VS 2022. There is a new compiler toolchain as part of vs2022 'vunc' which is not recognized by the B2 build toolchain. All we need to do is change the build so that it runs newer version of boost. Boost has already modified their build to be compatible with VS2022. reference: https://github.com/boostorg/build/issues/735

Thank you !!!

barcharcraz commented 2 years ago

I'm not sure what 'vunc' compiler you are talking about, perhaps boost is unable to detect the compiler version. I'll work bumping the boost version though, was this failure using the vcpkg submodule or the conan package, because in the conan case the conan package maintainer needs to bump their boost dependency.

We only maintain this repo and the vcpkg package.

I should update the repo to use manifest mode anyway.