-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
Windows build fails with error C2039 in deepfreeze.c #94781
Comments
Does the problem disappear after deletion of I get the very same problem after git pull/checkout and the deletion helps. Probably, git fails to update file modification dates? |
That seems to have fixed it, thanks. I'm pretty sure I did at least one of those deletions, deleting both directories seems to have been the key. Maybe |
@kumaraditya303 |
Rather than adding cleanup logic to |
The build still fails after executing the For users, executing It's good advice to provide a more detailed build guide to teach users how to cleanup previous files and solve these potential problems, and I feel like it should. Also, it doesn't seem like adding logic to |
My point is that |
Thanks for your detailed reply. I may have misinterpreted your previous message. |
#96423 I modified the I'm not sure if this is the best solution, please correct me if I'm wrong :) |
…tput files for frozen modules (pythonGH-96423) (cherry picked from commit 3e26de3) Co-authored-by: Charlie Zhao <[email protected]>
…iles for frozen modules (GH-96423)
I think this solution is great, and thanks for working it into the proper places in the build. Do we need a backport of this? If so, is it needed in 3.10? (I think the frozen modules were only added in 3.11, right?) Either way, I wouldn't want to put it into 3.11.0 at this late stage, so it can wait until 3.11.1. |
…iles for frozen modules (GH-96423) (cherry picked from commit 3e26de3) Co-authored-by: Charlie Zhao <[email protected]>
Fixed by #96423 |
Bug report
Building CPython on windows fails with the following error:
This is from a clean checkout of https://github.com/python/cpython, changing directory to PCBuild and running ./build.bat
Your environment
My system is Windows 11, with Visual Studio 2022 and Visual Studio 2019 installed. As can be seen from the messages, VS2022 is picked by
build.bat
.The text was updated successfully, but these errors were encountered: