Skip to content
New issue

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

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

Open
flourinekk opened this issue Jun 21, 2024 · 4 comments

Comments

@flourinekk
Copy link

flourinekk commented Jun 21, 2024

Boost system doesn't compile.
image

@NeroBurner
Copy link

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

boostorg/boost#914

@flourinekk
Copy link
Author

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

@NeroBurner NeroBurner changed the title boost boost v1.83 not working on VS2022 17.10 needs to be fixed in Boost upstream Jul 2, 2024
@NeroBurner
Copy link

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

@Deneb128
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants