Finding system includes - extraction not allowed driver. #2104
-
|
Outline: Windows using mingw C++ toolchain. Neovim lsp. Debugging using gdb. To do this I've shown the following below: From the lsp.log From the compile_commands.json Any help very much appreciated. Neovim clangd config snippet (including some commented out tests) clangd = {
cmd = {
"clangd",
--'--query-driver="C:\\\\Program Files\\\\mingw-w64\\\\mingw64\\\\bin\\\\x86_64-w64-mingw32-g++.exe"',
-- "--query-driver='C:\\Program Files\\mingw-w64\\mingw64\\bin\\x86_64-w64-mingw32-g++.exe'",
"--query-driver='C:\\PROGRA~1\\MINGW-~1\\mingw64\\bin\\C__~1.EXE','C:\\Program Files\\mingw-w64\\mingw64\\bin\\clang.exe','C:\\Program Files\\mingw-w64\\mingw64\\bin\\x86_64-w64-mingw32-g++.exe'",
-- "--query-driver='C:\\PROGRA~1\\MINGW-~1\\mingw64\\bin\\X86_64~2.EXE'",
"--log=verbose",
},
},compile_commands.json .clangd Finally the lsp.log - I've remove the logging stamps for clarity... |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
|
Try without the single quotes: |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the suggestion. Progress! Removing the single quote has clearly allowed the drivers to be interrogated. the response complaining... The relevant lines from the lsp.log are and |
Beta Was this translation helpful? Give feedback.
-
|
Just a minute... I think the manual command was an error on my part - sorry. |
Beta Was this translation helpful? Give feedback.
-
|
Yes - however I figured out it was due to my .clangd config file having --target in the CompileFlags. |
Beta Was this translation helpful? Give feedback.
Try without the single quotes: