How to solve " 'stdio.h' file not found" message in editor? #12041
-
SummaryI decided to try out Helix recently as my code editor for C, I installed, clangd and LLVM, all the things you need, but when I write "<stdio.h>" I'm shown a message in the editor that says " 'stdio.h' file not found", I searched for solutions, generated the compile_commands.json file and still didn't solve my issue and I don't know what to do anymore. Enviroment VariablesJust in case these might be useful or in case I'm missing something User PathSystem PathReproduction StepsAll I did was Install Helix, Clangd and LLVM and generate compile_commands.json and such with CMake. Helix logPlatformWindows 11 Terminal EmulatorI'm using powershell 7, but the same thing is present in CMD. Installation Methodwinget install Helix.Helix Helix Versionhelix 24.7 (079f544) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
does your program compile or does it show a similar error when you try to do it? |
Beta Was this translation helpful? Give feedback.
-
I use Clangd and LLVM, and they work flawlessly for me. Here's what I did: I downloaded MinGW from WinLibs extracted it to my preferred folder, added it to my system's environment path, and that’s it. |
Beta Was this translation helpful? Give feedback.
I use Clangd and LLVM, and they work flawlessly for me. Here's what I did: I downloaded MinGW from WinLibs extracted it to my preferred folder, added it to my system's environment path, and that’s it.