Skip to content
This repository has been archived by the owner on Jul 30, 2020. It is now read-only.

Manually build cquery doesn't find system headers on macOS #859

Open
nsabovic opened this issue Jan 18, 2019 · 0 comments
Open

Manually build cquery doesn't find system headers on macOS #859

nsabovic opened this issue Jan 18, 2019 · 0 comments

Comments

@nsabovic
Copy link

I tried to build it manually, using the instructions. I'm running macOS 10.14.2 with Xcode 10.1 I checked out master (70c755b) and build with:

-DCMAKE_BUILD_TYPE=Release -DSYSTEM_CLANG=OFF -DCMAKE_PREFIX_PATH=/opt/cquery

It can't find most of the system headers. Running /opt/cquery/bin/cquery --check on a file gives errors such as:

(   0.952s) [       36F9BB]  clang_indexer.cc:2366  | /usr/local/Cellar/glib/2.58.2/include/glib-2.0/glib/gtypes.h:35:10 'time.h' file not found

Running the Homebrew version /usr/local/Cellar/cquery/HEAD-70c755b/bin/cquery --check on the same file works just fine.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant