-
Notifications
You must be signed in to change notification settings - Fork 852
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
Visual Studio include path can't see into /mnt/ #2371
Comments
@therealkenc You were on the right track. This is what eventually worked:
This will require changes to our build process though. If we could use /mnt/c/... it would "just work" in the same way it does for all other platforms (including win32 under cygwin). Thanks! |
Yeah sorry I cut-paste-edited from your message blind 😳. Those links above have some expository on why it is difficult/problematic to implement. I maintain it is doable with a big enough hammer. But it's a big hammer that certainly isn't destined for the Fall Update. |
This is definitely an area I would like to improve in the future. |
So we've discussed Windows program using WSL paths. Is there any hope for the inverse functionality, where the Linux environment could use Windows paths? As a simple example, this command works fine in cygwin, but fails in Ubuntu-on-Windows: |
There are no plans for that right now. But, if there is a scenario that interests you and is not currently implemented, you can help us prioritize it by voicing your opinion through the user voice portal. |
The problem isn't even really the "no plans" part. The problem (if that is the right word) is |
This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request. Thank you! |
Launching a compile with Visual Studio's command-line compiler, and using a full include path into /mnt, produces an error:
The file does exist:
However, if I use relative paths when I run the command, it works:
cl.exe -c -I../include test1.c
Versions Used:
Microsoft Windows [Version 10.0.15063]
Visual Studio 2013
This same compilation run works successfully under Cygwin, for whatever that's worth.
The text was updated successfully, but these errors were encountered: