-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Add support for /cygdrive
paths returned by some versions of Cygwin
#10112
Comments
You may not have the required headers/libraries installed. Are you able to compile with C:\Program Files\CygWin64\bin\gcc.exe ? What output do you get when you run the C/C++: Log Diagnostics command from the Command Palette? The includePath to stddef.h is most likely missing. You might try searching for that file. Also, you may try changing your intelliSenseMode to "windows-gcc-x64" to see if that helps. |
Hi Sean,
If I press Ctrl + Shift + B it builds just fine. Giving me folowing output:
here is output from Log Diagnostics. LGTM...
Changing intelliSenseMode and restarting VSCode didn't help. |
Can you do a search under C:\PROGRAM FILES\CYGWIN64\ for a file named stddef.h? |
Sure no problem:
|
For some reason, our compiler query is not returning
|
Well, yes it works. Are you able to reproduce the issue on your local machine, so you could take a closer look? In my original comment I have linked the archive with the whole CygWin environment. Perhaps you could spin up Windows Sandbox, install VSCode there and unpack my CygWin archive in C:\Program Files\CygWin64. |
It looks like this version of Cygwin returns include (full) paths under a
Using this issue to track adding support for full paths under |
/cygdrive
paths returned by some versions of Cygwin
Fixed with 1.13.4 (pre-release): https://github.com/microsoft/vscode-cpptools/releases/tag/v1.13.4 |
Hi,
I am facing error: "Cannot open source file stddef.h" (dependency of stdlib.h)" when editing c files.
Archive with CygWin installation: https://1drv.ms/u/s!AhQbYFkanIg5h5RrrKO2FXw8tPj23Q?e=1igDaK
Config:
Weirdly enough Intelli-Sense seems to work just fine.
The text was updated successfully, but these errors were encountered: