Recent Posts

Pages: [1] 2 3 4 5 6 ... 10
1
Help / Re: clangd code completion
« Last post by Pecan on Today at 06:29:40 am »

so my clangd.exe is in "C:\Program Files\LLVM\bin\clangd.exe"
thx for the reply.

it's "C:\Program Files\LLVM\bin\clangd.exe".

that is a method listed on the wiki. And so is the LLVM one. They are both supposed to work right...?

I'm going to guess the problem is caused by the space in "Program Files".

Clangd is essentially a Linux program which cannot handle spaces in file names.

We now need to determine if that is actually the problem.

First: Tell us how you start CodeBlocks so that we can then tell you how to turn the clangd_client logs on.

Then we can read the log to see what Clangd_client thinks the problem is.

Thanks for your patients.
2
Help / Re: clangd code completion
« Last post by juxin5 on Today at 03:15:27 am »
I think your problem might be the same as in https://forums.codeblocks.org/index.php/topic,24357.msg169412.html#msg169412

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?

What have you got set at MainMenu/settings/Editor/Clangd_client/C/C++ parser (tab) as the path to clangd.exe ?

thx for the reply.

it's "C:\Program Files\LLVM\bin\clangd.exe".


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.

that is a method listed on the wiki. And so is the LLVM one. They are both supposed to work right...?
3
Help / Re: clangd code completion
« Last post by Pecan on Yesterday at 11:49:07 pm »
I think your problem might be the same as in https://forums.codeblocks.org/index.php/topic,24357.msg169412.html#msg169412

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?

What have you got set at MainMenu/settings/Editor/Clangd_client/C/C++ parser (tab) as the path to clangd.exe ?
4
Nightly builds / The 12 October 2024 build (13584) is out.
« Last post by killerbot on Yesterday at 08:04:48 pm »
We switched to gcc 14.1.0 (on 20 May 2024) --> download the new wx/mingw dll's see link below

Get the compiler we use here : https://github.com/brechtsanders/winlibs_mingw/releases/download/14.1.0posix-18.1.5-11.0.1-ucrt-r1/winlibs-x86_64-posix-seh-gcc-14.1.0-mingw-w64ucrt-11.0.1-r1.7z

Get quick announcements through the RSS feed http://www.codeblocks.org/nightly/CodeBlock_RSS.xml

Before you use a nightly make sure you understand how it works.

A link to the unicode windows wxWidget dll(s) for Code::Blocks : https://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/wxmsw32u_gcc_cb_wx326_2D_gcc1410-mingw64.7z
A link to Mingw64 dll's needed by Code::Blocks : http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/Mingw64dlls14.1.0.7z


The 12 October 2024 build is out.
  - Windows :
   http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/2024/CB_20241012_rev13584_win64.7z
  - Linux :
   none

The current SDK version is : 2.25.0

Resolved Fixed:

  • File manager: Prevent deletion of the system root folder (ticket #1504).
  • CbLauncher: build the CbLauncher.exe in the Makefile.am
  • SmartIndent plugin: disable parallel make for SmartIndent(Thanks stahta01)
  • SDK: codeblocks plugin fix in the case that The MSys2 UCRT64 package gives a false failure message when installing a cbplugin(Thanks stahta01)
  • wxSmith: fix dll symbol export issue when building C::B under msys2's configure/make (Thanks stahta01)
  • src: Use "WX_CPPFLAGS" instead of "WX_CXXFLAGS" in Makefile.am(Thanks stahta01)
  • Clangd_client Apply Linux patch 1503 to eliminate polling and cpu usage. Thanks Christo
  • wxSmith: Make the OK button the default one in wxStdDlalogButtonSizer.

Regressions/Confirmed/Annoying/Common bugs:


    5
    Help / Re: clangd code completion
    « Last post by Michael Agarkov on Yesterday at 05:21:12 pm »
    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.
    6
    Help / Re: clangd code completion
    « Last post by juxin5 on Yesterday at 04:46:13 pm »
    I think your problem might be the same as in https://forums.codeblocks.org/index.php/topic,24357.msg169412.html#msg169412

    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?
    7
    Help / Re: clangd code completion
    « Last post by Michael Agarkov on Yesterday at 04:21:15 pm »
    8
    Help / Re: clangd code completion
    « Last post by juxin5 on Yesterday at 04:17:37 pm »

    Go to C:\Program Files\CodeBlocks\MinGW\bin and run:
    Code
    gcc --version

    thx for the reply.
    It's 8.1.0
    9
    Help / Re: clangd code completion
    « Last post by Michael Agarkov on Yesterday at 04:03:46 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?

    thx for the reply.

    I install cb with the compiler.

    Go to C:\Program Files\CodeBlocks\MinGW\bin and run:
    Code
    gcc --version
    10
    Help / Re: clangd code completion
    « Last post by juxin5 on Yesterday at 03:55:56 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?

    thx for the reply.

    I install cb with the compiler.
    Pages: [1] 2 3 4 5 6 ... 10