Clangd syntax issues saying it cannot find any header files #7680
devhaocui02
started this conversation in
Build/Link/Run/Fonts issues ONLY!
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Above is a photo that shows ClangD giving an syntax error of not finding the headerfiles. I could do #include "../../imgui.h" for the first library, but it doesn't work and causes error syntaxes if I tried to do it for all other libraries that need to be included. Note that the example compiles fine and the executable runs just fine and shows the little gui pop-up after running the executable. The only minor issue I have is the LSP is giving me wrong errors and I'm not sure how to fix it. Alternatively I can disable the LSP and only know potential syntax error upon compilation
Update: It seems that it has something to do with metal. After using the example that uses glfw + opengl3 it seems to make and include all the libraries correctly without any LSP syntax errors.
Beta Was this translation helpful? Give feedback.
All reactions