Why can't clang find the file ? #4041
-
├── build
│ ├── CMakeCache.txt
│ ├── CMakeFiles
│ ├── CTestTestfile.cmake
│ ├── Makefile
│ ├── bin
│ ├── cmake_install.cmake
│ ├── compile_commands.json
│ ├── googletest-build
│ ├── googletest-download
│ ├── googletest-src
│ ├── lib
│ ├── src
│ └── test
├── src
│ ├── CMakeLists.txt
│ ├── buffer
│ ├── catalog
│ ├── common
│ ├── concurrency
│ ├── container
│ ├── execution
│ ├── include
│ ├── recovery
│ ├── storage
│ └── type Clearly, "clangd": {
"command": "clangd",
"rootPatterns": [
"compile_flags.txt",
"compile_commands.json"
] But When I add |
Beta Was this translation helpful? Give feedback.
Answered by
fannheyward
Aug 11, 2022
Replies: 1 comment 1 reply
-
Make a soft link for |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
yinghaoyu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Make a soft link for
compile_commands.json
to project root.