Skip to content

Clang lsp doesn't find header #10891

Closed Answered by TornaxO7
noahfraiture asked this question in Q&A
Discussion options

You must be logged in to vote

May I ask which build tool you're using?

  • cmake provides CMAKE_EXPORT_COMPILE_COMMANDS which can create a compile_commands.json file for clangd to resolve the includes.
  • For anything else (like make), bear will be your friend here probably.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by noahfraiture
Comment options

You must be logged in to vote
1 reply
@TornaxO7
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants