-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 files not found: cpp #4381
Comments
Do you export the CXXFLAGS= correctly in your current terminal session? |
No, I haven't done that. Can you explain a bit more on that? |
|
you can have a look at how to configure .clangd file . As far as I can see, this is not a lvim issue. I use C++ and Cmake CompileFlags:
Add: [-I/usr/include/x86_64-linux-gnu/c++/11/, --include-directory=/usr/include] |
I just used Here's my example repo: |
This issue is stale because it has been open for 50 days with no activity. |
this is not an lvim issue. this is learning C++ issue. you can use CMake as a build system and and add
on top your project after project name like this
So this can be closed. This is not lvim related. |
Problem description
Hello,
I'm using pop os, i want to setup lunarvim for competitive programming.
But I think it's not including header files from designated place.
How to update my config (
clangd.json
or inside config.lua) file to remove these errors?In my system, these header files are located in
/usr/include/x86_64-linux-gnu/c++/11/
LunarVim version
release-1.3
Neovim version (>= 0.9.1)
neovim-0.9-d1c1bace
Operating system/version
Pop!_OS 22.04 LTS
Affected language servers
CPP
Steps to reproduce
No response
Actual behavior
Expected behavior
No response
support info
:LspInfo
logs
No response
Screenshots
No response
The text was updated successfully, but these errors were encountered: