You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't get my source directory to see include files.
Second problem is that ccls does seem to recognize the freetype2/ft2build.h header but types and functions defined by it (e.g. FT_Library) are reported as undeclared.
if you are using cmake, try using compile_commands.json instead of .ccls, e.g. set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
either way, I don't think ccls will interpret commands in a .ccls file, your issue is probably that you're trying to use `pkg-config ...` where you should only put flags directly
Observed behavior
I have actually two problems with this config, so please tell me if I should break this issue into smaller once.
I am trying to reassemble this simple directory structure
My project use XCB and FreeType, so I included those into my
.ccls
as wellExample with my library code
Expected behavior
I can't get my source directory to see include files.
Second problem is that ccls does seem to recognize the
freetype2/ft2build.h
header but types and functions defined by it (e.g.FT_Library
) are reported as undeclared.Steps to reproduce
.ccls
file in root directorySystem information
The text was updated successfully, but these errors were encountered: