-
-
Notifications
You must be signed in to change notification settings - Fork 847
Add a mention to the correct workflow for WSL users building for Windows #425
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
Comments
GitMate.io thinks possibly related issues are python/core-workflow#32 (Add the mention bot?), #202 (Mention core-workflow mailing list / repo), #54 (Streamline workflow), python/core-workflow#74 (Add bpo link to mention-bot when issue id provide), and #3 (Add Travis support). |
Unfortunately, none of those is relevant. |
Mariatta was mentioned, but she's out of open source for the rest of September 2018, and parts of October 2018 . Be aware she might not get to this until November 2018. |
I've reproduced this with the following steps:
I get the same errors reported by @augustogoulart. @zware, could you try to reproduce this on your setup? Also, any thoughts on the reason for this strange behavior? (Win10 Pro 64-bit with Ubuntu 18.04 64-bit in WSL) |
@augustogoulart @taleinat Nice to see this being worked through 😄 I'm happy to test the instructions after you finish troubleshooting the errors with @zware. |
@willingc, the current suggested resolution is "this doesn't work, don't do it!", adding a note to this effect to the dev guide. I do think we should also mention what should be done, which is basically to use a build of git targeted for Windows, e.g. the official one from https://git-scm.com (previously known as "Git for Windows"), from a "native" windows environment such a |
I tried the same steps (though I named my checkout 'wsl_cpython' and did |
@zware, could it be different git |
Sorry I've been blocking this and haven't gotten back to it yet! However, I still can't reproduce the issue. It's possible that my Windows (10.0.16299.665), WSL distribution (Ubuntu 16.04.4), or git (2.7.4) are significantly older than what you're using, but the whole issue doesn't make sense to me. When git checks out the files, they're just files on disk and the build system doesn't look for or care about Git (except to set variables for the version string, but any errors there are silenced and ignored). Can you confirm that the checkout is actually complete, and the files do appear to be where they should be? I suppose it's possible that Are you making your checkout within the Linux filesystem, or the Windows filesystem (/mnt/c/)? |
@zware these are the steps I'm following to reproduce the error. Windows 10.0.17134 build 17143, WSL Debian 9 (stretch) and git 2.11 installed on Linux, and git 2.19.1.windows.1 on Windows. Compiler Microsoft (R) C/C++ Optimizing Compiler Version 19.15.26730. Checkout withing Linux. path: Compiling on Windows. Fails because Visual Studio can not find the files: Checking each file path, the file exists: |
Can this be a permission issue? Not familiar with Windows permissions though. |
When using the Windows Subsystem for Linux (WSL), if you git clone the project via Linux and tries to compile the project on Windows, Visual Studio will be able to see the project, but won't be able to compile the included files.
Since this is not a bug, I believe it would be nice to mention the correct workflow.
The text was updated successfully, but these errors were encountered: