cpp-pm/hunter

boost v1.83 not working on VS2022 17.10 needs to be fixed in Boost upstream

flourinekk opened this issue · 5 comments

Boost system doesn't compile.
image

Which compiler are you using. If it is VS2022 17.10 then we need to wait for the next boost release

boostorg/boost#914

Yeah, that's the problem then, how i can edit hunter files to use workaround so it doesn't replace me files?

If there is a new release you can point your URL to the new package to download using a cmake/hunter.config file. Until then the only workaround is to use an older MSVC version with vc143 runtime instead of vc144

If there is a new release you can point your URL to the new package to download using a cmake/hunter.config file. Until then the only workaround is to use an older MSVC version with vc143 runtime instead of vc144

Problem is not even vc144. I don't even know how but in two days difference with no update of Visual Studio, hunter cannot recognize MSVC_VERSION: 1940
Forcing it to 1939 fails to compile, but if I try to do it manually inside the hunter folder with: .\b2 variant=debug link=static architecture=x86 --without-mpi --without-graph_parallel --without-type_erasure --without-stacktrace it compiles (I even specify only filesystem and program_options in my CMakeLists.txt).

I see then there's a new version of Hunter, but, since it downloads the 1.83 version, it still fails to compile

CXX Compiler:
[cmake] -- The CXX compiler identification is MSVC 19.40.33814.0