-
Notifications
You must be signed in to change notification settings - Fork 113
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
Header File Inclusion Error in C++ files with vscode-clangd
extension
#553
Comments
vscode-clangd
vscode-clangd
vscode-clangd
extension
Yes, please see clangd/clangd#1394 (comment) with a description of the problem, and four available workarounds. Only one of the four involves installing |
Sorry, i guess there is some misunderstanding, As i already told, i resolved my issue (by installing |
This is discussed in the last paragraph of the comment I linked to:
|
Issue
After installing this extension VSCode editor shows error on C++ file saying
'iostream' file not foundclang(pp_file_not_found)
. But it compiles without any problem.Temp Solution
After googling i found lots of people also facing the same problem.
But none of those mentioned soutions worked for me except one from this post stackoverflow.com, Where installing
libstdc++-12-dev
solved the missing header problem in C++ files:Question
libstdc++-12-dev
, So when a user installclangd
extension this problem doesn't occur at the first place?libstdc++-12-dev
is necessary for this to work, then maybe a message (after installingclangd
extension) to installlibstdc++-12-dev
would help lot.Logs
clangd "Output" window logs with
--log=verbose
:System information
clangd
and other installed compilers:Here is the installed extension lists:
Operating system
The text was updated successfully, but these errors were encountered: