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

Scary error messages in the log #860

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

Scary error messages in the log #860

nsabovic opened this issue Jan 18, 2019 · 0 comments

Comments

@nsabovic
Copy link

I'm trying to figure out why the standard VSCode C++ plugin scans my compile_commands.json-based project just fine but cquery shows undefined macros. I am using cquery HEAD installed with Homebrew on macOS 10.14.2.

Both the VSCode plugin and /usr/local/Cellar/cquery/HEAD-70c755b/bin/cquery --check spit out these messages in the log:

(   0.272s) [querydb      ]        project.cc:69    | Failed to normalize cc
(   0.282s) [querydb      ]       platform.cc:109   | Error starting "/usr/local/Cellar/cquery/HEAD-70c755b/bin/cquery-clang --version": No such file or directory (2)
(   0.290s) [querydb      ]       platform.cc:109   | Error starting "/usr/local/Cellar/cquery/HEAD-70c755b/bin/cquery-clang -E -x c - -v": No such file or directory (2)
(   0.369s) [querydb      ]       platform.cc:109   | Error starting "/usr/local/Cellar/cquery/HEAD-70c755b/bin/cquery-clang -E -x c -dM -": No such file or directory (2)
(   0.531s) [querydb      ]        project.cc:69    | Failed to normalize c++
(   0.539s) [querydb      ]       platform.cc:109   | Error starting "/usr/local/Cellar/cquery/HEAD-70c755b/bin/cquery-clang -E -x c++ - -v": No such file or directory (2)
(   0.579s) [querydb      ]       platform.cc:109   | Error starting "/usr/local/Cellar/cquery/HEAD-70c755b/bin/cquery-clang -E -x c++ -dM -": No such file or directory (2)
(   0.690s) [querydb      ]       platform.cc:109   | Error starting "/usr/local/Cellar/cquery/HEAD-70c755b/bin/cquery-clang -E -x objective-c - -v": No such file or directory (2)
(   0.730s) [querydb      ]       platform.cc:109   | Error starting "/usr/local/Cellar/cquery/HEAD-70c755b/bin/cquery-clang -E -x objective-c -dM -": No such file or directory (2)

What is the normalization message? Should cquery built with -DSYSTEM_CLANG=ON look for cquery-clang?

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