User forums > Help
clangd code completion
MichaelAgarkov:
--- Quote from: juxin5 on October 12, 2024, 03:55:56 pm ---
--- Quote from: Michael Agarkov on October 12, 2024, 03:13:30 pm ---
GCC used by C::B is located in settings (see screenshot), did you install GCC seperately or did you install C::B bundled with it?
--- End quote ---
thx for the reply.
I install cb with the compiler.
--- End quote ---
Go to C:\Program Files\CodeBlocks\MinGW\bin and run:
--- Code: ---gcc --version
--- End code ---
juxin5:
--- Quote from: Michael Agarkov on October 12, 2024, 04:03:46 pm ---
Go to C:\Program Files\CodeBlocks\MinGW\bin and run:
--- Code: ---gcc --version
--- End code ---
--- End quote ---
thx for the reply.
It's 8.1.0
MichaelAgarkov:
I think your problem might be the same as in https://forums.codeblocks.org/index.php/topic,24357.msg169412.html#msg169412
juxin5:
--- Quote from: Michael Agarkov on October 12, 2024, 04:21:15 pm ---I think your problem might be the same as in https://forums.codeblocks.org/index.php/topic,24357.msg169412.html#msg169412
--- End quote ---
thx for the reply.
so my clangd.exe is in "C:\Program Files\LLVM\bin\clangd.exe"
is that the problem? how do I fix it, like how do i get the file in the right path?
MichaelAgarkov:
AFAIK you need to use MSYS2 and install GCC and Clang together in the same environment and use "mingw-w64-clang-x86_64-clang-tools-extra" for it to work properly.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version