-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
[jasper] Build error on x64-windows #36103
Comments
Can also repro. Break occurs in VS 17.8.4 (17.8.3 is fine). |
yeah, I update my vs2022 and vcpkg today. It was ok before. |
This is a visual studio issue. We have submitted an issue to VS for tracking and are waiting for the VS developers to fix it. |
Is there any other way to fix this issue? I don't have time to wait for the VS developers to fix it. |
You can roll back the VS version to 17.8.3. |
Instead of rolling VS back to 17.8.3 I created an overlay triplet, a copy of the x64-windows triplet with an additional line referencing an older C/C++ compiler as follows:
Then deleted my vcpkg instance and recreated and build/compile/install of all the ports/features I needed. So now vcpkg uses the 14.37.32822 C/C++ compiler/linker instead of the latest 14.38.33130 C/C++ compiler/liner. |
Thank you for providing another more elegant solution. |
I changed the CMakelists.txt of jasper by adding /experimental:c11atomics compile option, and it worked. |
This issue has been fixed by PR 36143. |
We just ran into this problem after updating Visual Studio. We have to maintain some older projects which have manifest files with an older builtin-baseline. I don't want to pull up the baseline for these projects, because updating all ports to newer versions could have unwanted side effects. What would be the best course of action here? |
Yes, setting VCPKG_PLATFORM_TOOLSET_VERSION to an older version can solve the issue. |
I'm facing this on the latest. Tried on two different machines with latest vcpkg! Edit: PS G:\vcpkg> git rev-parse HEAD //Change baseline in vcpkg.json in root directory to head |
OS: Win11
vs version: VS2022 17.8.4
vcpkg version: vcpkg package management program version 2023-12-12-1c9ec1978a6b0c2b39c9e9554a96e3e275f7556e
cmake log:
install-x64-windows-dbg-out.log:
install-x64-windows-dbg-out.log
The text was updated successfully, but these errors were encountered: